black-renderer icon indicating copy to clipboard operation
black-renderer copied to clipboard

Results 11 black-renderer issues
Sort by recently updated
recently updated
newest added

### Update [pytest](https://pypi.org/project/pytest) from **7.1.2** to **8.2.0**. Changelog ### 8.2.0 ``` ========================= Deprecations ------------ - `12069 <https://github.com/pytest-dev/pytest/issues/12069>`_: A deprecation warning is now raised when implementations of one of the following...

In `requirements.txt` there is currently `fonttools==4.34.4` pinned, but I'm working on packaging this in nixpkgs and we have fonttools 4.38.0 there. When I run the tests, two sample images are...

Need to check the spec for details. blackrenderer currently relies on having a ClipBox or a base glyph bounding box.

In particular, extend modes seem to behave differently, in the spec, for sweep gradient than for linear and radial ones. For example, normalizing the colorLine seems unwated for sweeps, but...

It's possible to make this, by drawing multiple gradients. It requires some work as we'll need to know how many in each direction. This is similar to clip rect calculation...

> Applications shall apply the colorStops entries in increasing stopOffset order. Within a variable font, the stopOffset values can vary, and the relative orderings of color stop records along the...

Need to figure out exactly which gradient this is, and whether Skia perhaps doesn't support SVG export of that gradient. Else we have a bug.

- [x] decide upon a license, and open the repo - [x] set up ~fuzzy~ image compare, so we can compare with expected images ~(adapt from [drawbot-skia tests](https://github.com/justvanrossum/drawbot-skia/blob/f9d5314ee8cf99c9f11b58a914bd76728fe383af/tests/test_api.py#L203-L227))~ - [x]...

See also the comment here: https://github.com/BlackFoundryCom/black-renderer/blob/9718f42dacb9ec9e13a2b3d95f2dc0cc0c0789fe/Lib/blackrenderer/font.py#L395-L419