Thu Sep 15 19:05:27 2022 UTC ()
py-fonttools: updated to 4.37.2
4.37.2 (released 2022-09-15)
----------------------------
- [subset] Keep CPAL table and don't attempt to prune unused color indices if OT-SVG
table is present even if COLR table was subsetted away; OT-SVG may be referencing the
CPAL table; for now we assume that's the case
- [varLib.instancer] Downgrade GPOS/GSUB version if there are no more FeatureVariations
after instancing
- [subset] Added ``--no-lazy`` to optionally load fonts eagerly (mostly to ease
debugging of table lazy loading, no practical effects)
- [varLib] Avoid building empty COLR.DeltaSetIndexMap with only identity mappings
- [feaLib] Allow multiple value record types (by promoting to the most general format)
within the same PairPos subtable; e.g. this allows variable and non variable kerning
rules to share the same subtable. This also fixes a bug whereby some kerning pairs
would become unreachable while shapiong because of premature subtable splitting
- [feaLib] Speed up ``VarScalar`` by caching models for recurring master locations
- [feaLib] Optionally cythonize ``feaLib.lexer``, speeds up parsing FEA a bit
- [designspaceLib] Avoid crash when handling unbounded rule conditions
- [post] Don't crash if ``post`` legacy format 1 is malformed/improperly used
- [gvar] Don't be "lazy" (load all glyph variations up front) when TTFont.lazy=False
- [TTFont] Added ``normalizeLocation`` method to normalize a location dict from the
font's defined axes space (also known as "user space") into the normalized (-1..+1)
space. It applies ``avar`` mapping if the font contains an ``avar`` table
- [TTVarGlyphSet] Support drawing glyph instances from CFF2 variable glyph set
- [fontBuilder] Do not error when building cmap if there are zero code points
- [varLib.plot] Added ability to plot a variation model and set of accompaning master
values corresponding to the model's master locations into a pyplot figure
- [Snippets] Added ``statShape.py`` script to draw statistical shape of a glyph as an
ellips (requires pycairo) (baecd88).
- [TTVarGlyphSet] implement drawPoints natively, avoiding going through
SegmentToPointPen
- [TTVarGlyphSet] Fixed bug whereby drawing a composite glyph multiple times, its
components would shif; needed an extra copy
(adam)
diff -r1.80 -r1.81 pkgsrc/fonts/py-fonttools/Makefile
diff -r1.42 -r1.43 pkgsrc/fonts/py-fonttools/PLIST
diff -r1.58 -r1.59 pkgsrc/fonts/py-fonttools/distinfo
--- pkgsrc/fonts/py-fonttools/Makefile 2022/09/07 15:13:52 1.80
+++ pkgsrc/fonts/py-fonttools/Makefile 2022/09/15 19:05:27 1.81
--- pkgsrc/fonts/py-fonttools/PLIST 2022/09/07 15:13:52 1.42
+++ pkgsrc/fonts/py-fonttools/PLIST 2022/09/15 19:05:27 1.43
--- pkgsrc/fonts/py-fonttools/distinfo 2022/09/07 15:13:52 1.58
+++ pkgsrc/fonts/py-fonttools/distinfo 2022/09/15 19:05:27 1.59