Tags: farik92/fonttools
Tags
4.24.2 - [ttGlyphPen] Fixed typing annotation of TTGlyphPen glyphSet parameter (fonttools#2315). - Fixed two instances of DeprecationWarning: invalid escape sequence (fonttools#2311).
4.24.1 - [subset] Fixed AttributeError when SinglePos subtable has None Value (ValueFormat 0) (fonttools#2312, fonttools#2313).
4.24.0 - [pens] Add ``ttGlyphPen.TTGlyphPointPen`` similar to ``TTGlyphPen`` (fonttools#2205).
4.23.1 - [subset] Fix ``KeyError`` after subsetting ``COLR`` table that initially contains both v0 and v1 color glyphs when the subset only requested v1 glyphs; we were not pruning the v0 portion of the table (fonttools#2308). - [colorLib] Set ``LayerV1List`` attribute to ``None`` when empty, it's optional in CORLv1 (fonttools#2308).
4.23.0 - [designspaceLib] Allow to use ``\\UNC`` absolute paths on Windows (fonttools#2299, fonttools#2306). - [varLib.merger] Fixed bug where ``VarLibMergeError`` was raised with incorrect parameters (fonttools#2300). - [feaLib] Allow substituting a glyph class with ``NULL`` to delete multiple glyphs (fonttools#2303). - [glyf] Fixed ``NameError`` exception in ``getPhantomPoints`` (fonttools#2295, fonttools#2305). - [removeOverlaps] Retry pathops.simplify after rounding path coordinates to integers if it fails the first time using floats, to work around a rare and hard to debug Skia bug (fonttools#2288). - [varLib] Added support for building, reading, writing and optimizing 32-bit ``ItemVariationStore`` as used in COLRv1 table (fonttools#2285). - [otBase/otConverters] Add array readers/writers for int types (fonttools#2285). - [feaLib] Allow more than one lookahead glyph/class in contextual positioning with "value at end" (fonttools#2293, fonttools#2294). - [COLRv1] Default varIdx should be 0xFFFFFFFF (fonttools#2297, fonttools#2298). - [pens] Make RecordingPointPen actually pass on identifiers; replace asserts with explicit ``PenError`` exception (fonttools#2284). - [mutator] Round lsb for CF2 fonts as well (fonttools#2286).
8000
4.22.1 - [feaLib] Skip references to named lookups if the lookup block definition is empty, similarly to makeotf. This also fixes an ``AttributeError`` while generating ``aalt`` feature (fonttools#2276, fonttools#2277). - [subset] Fixed bug with ``--no-hinting`` implementation for Device tables (fonttools#2272, fonttools#2275). The previous code was alwyas dropping Device tables if no-hinting was requested, but some Device tables (DeltaFormat=0x8000) are also used to encode variation indices and need to be retained. - [otBase] Fixed bug in getting the ValueRecordSize when decompiling ``MVAR`` table with ``lazy=True`` (fonttools#2273, fonttools#2274). - [varLib/glyf/gvar] Optimized and simplified ``GlyphCoordinates`` and ``TupleVariation`` classes, use ``bytearray`` where possible, refactored phantom-points calculations. We measured about 30% speedup in total time of loading master ttfs, building gvar, and saving (fonttools#2261, fonttools#2266). - [subset] Fixed ``AssertionError`` while pruning unused CPAL palettes when ``0xFFFF`` is present (fonttools#2257, fonttools#2259).
4.22.0 - [ttLib] Remove .Format from Coverage, ClassDef, SingleSubst, LigatureSubst, AlternateSubst, MultipleSubst (fonttools#2238). ATTENTION: This will change your TTX dumps! - [misc.arrayTools] move Vector to its own submodule, and rewrite as a tuple subclass (fonttools#2201). - [docs] Added a terminology section for varLib (fonttools#2209). - [varLib] Move rounding to VariationModel, to avoid error accumulation from multiple deltas (fonttools#2214) - [varLib] Explain merge errors in more human-friendly terms (fonttools#2223, fonttools#2226) - [otlLib] Correct some documentation (fonttools#2225) - [varLib/otlLib] Allow merging into VariationFont without first saving GPOS PairPos2 (fonttools#2229) - [subset] Improve PairPosFormat2 subsetting (fonttools#2221) - [ttLib] TTFont.save: create file on disk as late as possible (fonttools#2253) - [cffLib] Add missing CFF2 dict operators LanguageGroup and ExpansionFactor (fonttools#2249) ATTENTION: This will change your TTX dumps!
4.21.1 - [pens] Reverted breaking change that turned ``AbstractPen`` and ``AbstractPointPen`` into abstract base classes (fonttools#2164, fonttools#2198).
4.21.0 - [feaLib] Indent anchor statements in ``asFea()`` to make them more legible and diff-able (fonttools#2193). - [pens] Turn ``AbstractPen`` and ``AbstractPointPen`` into abstract base classes (fonttools#2164). - [feaLib] Added support for parsing and building ``STAT`` table from AFDKO feature files (fonttools#2039). - [instancer] Added option to update name table of generated instance using ``STAT`` table's axis values (fonttools#2189). - [bezierTools] Added functions to compute bezier point-at-time, as well as line-line, curve-line and curve-curve intersections (fonttools#2192).
4.20.0 - [COLRv1] Added ``unbuildColrV1`` to deconstruct COLRv1 otTables to raw json-able data structure; it does the reverse of ``buildColrV1`` (fonttools#2171). - [feaLib] Allow ``sub X by NULL`` sequence to delete a glyph (fonttools#2170). - [arrayTools] Fixed ``Vector`` division (fonttools#2173). - [COLRv1] Define new ``PaintSweepGradient`` (fonttools#2172). - [otTables] Moved ``Paint.Format`` enum class outside of ``Paint`` class definition, now named ``PaintFormat``. It was clashing with paint instance ``Format`` attribute and thus was breaking lazy load of COLR table which relies on magic ``__getattr__`` (fonttools#2175). - [COLRv1] Replace hand-coded builder functions with otData-driven dynamic implementation (fonttools#2181). - [COLRv1] Define additional static (non-variable) Paint formats (fonttools#2181). - [fontBuilder] Allow ``setupFvar`` to optionally take ``designspaceLib.AxisDescriptor`` objects. Added new ``setupAvar`` method. Support localised names for axes and named instances (fonttools#2185).