--- - branch: MAIN date: Sat Dec 14 10:35:17 UTC 2019 files: - new: '1.59' old: '1.58' path: pkgsrc/fonts/py-fonttools/Makefile pathrev: pkgsrc/fonts/py-fonttools/Makefile@1.59 type: modified - new: '1.27' old: '1.26' path: pkgsrc/fonts/py-fonttools/PLIST pathrev: pkgsrc/fonts/py-fonttools/PLIST@1.27 type: modified - new: '1.39' old: '1.38' path: pkgsrc/fonts/py-fonttools/distinfo pathrev: pkgsrc/fonts/py-fonttools/distinfo@1.39 type: modified id: 20191214T103517Z.b200800caadfaa5d9563007e99755469af2c4db3 log: | py-fonttools: updated to 4.2.2 4.2.2: - [subset] Fixed issue with subsetting FeatureVariations table when the index of features changes as features get dropped. The feature index need to be remapped to point to index of the remaining features. - [fontBuilder] Added `addFeatureVariations` method to `FontBuilder` class. This is a shorthand for calling `featureVars.addFeatureVariations` on the builder's TTFont object. - [glyf] Fixed the flags bug in glyph.drawPoints() like we did for glyph.draw() 4.2.1: - [glyf] Use the ``flagOnCurve`` bit mask in ``glyph.draw()``, so that we ignore the ``overlap`` flag that may be set when instantiating variable fonts. 4.2.0: - [pens] Added the following pens: * ``roundingPen.RoundingPen``: filter pen that rounds coordinates and components' offsets to integer; * ``roundingPen.RoundingPointPen``: like the above, but using PointPen protocol. * ``filterPen.FilterPointPen``: base class for filter point pens; * ``transformPen.TransformPointPen``: filter point pen to apply affine transform; * ``recordingPen.RecordingPointPen``: records and replays point-pen commands. - [ttGlyphPen] Always round float coordinates and component offsets to integers . - [ufoLib] When converting kerning groups from UFO2 to UFO3, avoid confusing groups with the same name as one of the glyphs 4.1.0: - [instancer] Implemented restricting axis ranges (level 3 partial instancing). You can now pass ``{axis_tag: (min, max)}`` tuples as input to the ``instantiateVariableFont`` function. Note that changing the default axis position is not supported yet. The command-line script also accepts axis ranges in the form of colon-separated float values, e.g. ``wght=400:700``. - [instancer] Never drop STAT ``DesignAxis`` records, but only prune out-of-range ``AxisValue`` records. - [otBase/otTables] Enforce that VarStore.RegionAxisCount == fvar.axisCount, even when regions list is empty to appease OTS < v8.0. - [designspaceLib] Defined new ``processing`` attribute for ```` element, with values "first" or "last", plus other editorial changes to DesignSpace specification. Bumped format version to 4.1. - [varLib] Improved error message when masters' glyph orders do not match - [featureVars] Allow to specify custom feature tag in ``addFeatureVariations``; allow said feature to already exist, in which case we append new lookup indices to existing features. Implemented ```` attribute ``processing`` according to DesignSpace specification update in. Depending on this flag, we generate either an 'rvrn' (always processed first) or a 'rclt' feature (follows lookup order, therefore last). - [ttCollection] Added support for context manager auto-closing via ``with`` statement like with ``TTFont``. - [unicodedata] Require unicodedata2 >= 12.1.0. - [py2.py3] Removed yet more PY2 vestiges. - [_n_a_m_e] Fixed issue when comparing NameRecords with different string types. - [fixedTools] Changed ``fixedToFloat`` to not do any rounding but simply return ``value / (1 << precisionBits)``. Added ``floatToFixedToStr`` and ``strToFixedToFloat`` functions to be used when loading from or dumping to XML. Fixed values (e.g. fvar axes and instance coordinates, avar mappings, etc.) are are now stored as un-rounded decimal floats upon decompiling. - [feaLib] Fixed handling of multiple ``LigatureCaret`` statements for the same glyph. Only the first rule per glyph is used, additional ones are ignored. 4.0.2: - [voltLib] Added support for ``ALL`` and ``NONE`` in ``PROCESS_MARKS``. - [Silf] Fixed issue in ``Silf`` table compilation and decompilation regarding str vs bytes in python3. - [merge] Handle duplicate glyph names better: instead of appending font index to all glyph names, use similar code like we use in ``post`` and ``CFF`` tables. 4.0.1: - [otTables] Support fixing offset overflows in ``MultipleSubst`` lookup subtables - [subset] Prune empty strikes in ``EBDT`` and ``CBDT`` table data. - [pens] Fixed issue in ``PointToSegmentPen`` when last point of closed contour has same coordinates as the starting point and was incorrectly dropped. - [Graphite] Fixed ``Sill`` table output to pass OTS. - [name] Added ``removeNames`` method to ``table__n_a_m_e`` class. - [ttLib] Added aliases for renamed entries ``ascender`` and ``descender`` in ``hhea`` table. 4.0.0: - NOTE: The v4.x version series only supports Python 3.6 or greater. You can keep using fonttools 3.x if you need support for Python 2. - [py23] Removed all the python2-only code since it is no longer reachable, thus unused; only the Python3 symbols were kept, but these are no-op. The module is now DEPRECATED and will removed in the future. - [ttLib] Fixed UnboundLocalError for empty loca/glyph tables. Also, allow the glyf table to be incomplete when dumping to XML. - [varLib.models] Fixed KeyError while sorting masters and there are no on-axis for a given axis (38a8eb0e). - [cffLib] Make sure glyph names are unique. - [feaLib] Fix feature parser to correctly handle octal numbers module: pkgsrc subject: 'CVS commit: pkgsrc/fonts/py-fonttools' unixtime: '1576319717' user: adam