Document and add tests for SBIX color font support#5155
Document and add tests for SBIX color font support#5155hugovk merged 4 commits intopython-pillow:masterfrom
Conversation
I was going to say 15 MB is too big (the sdist is currently 45 MB) and we could move it instead to https://github.com/python-pillow/pillow-depends, but |
I meant that all other fonts I could find were 15 MB or larger, not that this specific font is large 😄. I would have preferred to use a font more complicated than just a single rectangle, but couldn't find anything small enough. |
|
Ah great! Well let's get the merge conflict resolved and this merged! |
Resolved. |
Because I changed (fixed) a comment in the workflow... 😕 |
In #4955 I missed that FreeType 2.5.1 added SBIX font support, this PR adds tests and corrects the documentation / 8.0.0 release notes. The font is from https://github.com/RoelN/ChromaCheck (MIT license), I couldn't find any other fonts that were under 15MB.
Also some minor formatting cleanup of the other color font tests.
FreeType release notes: https://sourceforge.net/projects/freetype/files/freetype2/2.5.1/