Changelog
### 4.24.3
```
----------------------------
- [otTables] Fixed ``AttributeError`` in methods that split LigatureSubst,
MultipleSubst and AlternateSubst subtables when an offset overflow occurs.
The ``Format`` attribute was removed in v4.22.0 (2319).
```
### 4.24.2
```
----------------------------
- [ttGlyphPen] Fixed typing annotation of TTGlyphPen glyphSet parameter (2315).
- Fixed two instances of DeprecationWarning: invalid escape sequence (2311).
```
### 4.24.1
```
----------------------------
- [subset] Fixed AttributeError when SinglePos subtable has None Value (ValueFormat 0)
(2312, 2313).
```
### 4.24.0
```
----------------------------
- [pens] Add ``ttGlyphPen.TTGlyphPointPen`` similar to ``TTGlyphPen`` (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 (2308).
- [colorLib] Set ``LayerV1List`` attribute to ``None`` when empty, it's optional
in CORLv1 (2308).
```
### 4.23.0
```
----------------------------
- [designspaceLib] Allow to use ``\\UNC`` absolute paths on Windows (2299, 2306).
- [varLib.merger] Fixed bug where ``VarLibMergeError`` was raised with incorrect
parameters (2300).
- [feaLib] Allow substituting a glyph class with ``NULL`` to delete multiple glyphs
(2303).
- [glyf] Fixed ``NameError`` exception in ``getPhantomPoints`` (2295, 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 (2288).
- [varLib] Added support for building, reading, writing and optimizing 32-bit
``ItemVariationStore`` as used in COLRv1 table (2285).
- [otBase/otConverters] Add array readers/writers for int types (2285).
- [feaLib] Allow more than one lookahead glyph/class in contextual positioning with
"value at end" (2293, 2294).
- [COLRv1] Default varIdx should be 0xFFFFFFFF (2297, 2298).
- [pens] Make RecordingPointPen actually pass on identifiers; replace asserts with
explicit ``PenError`` exception (2284).
- [mutator] Round lsb for CF2 fonts as well (2286).
```
### 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 (2276, 2277).
- [subset] Fixed bug with ``--no-hinting`` implementation for Device tables (2272,
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`` (2273, 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 (2261, 2266).
- [subset] Fixed ``AssertionError`` while pruning unused CPAL palettes when
``0xFFFF`` is present (2257, 2259).
```
Links
- PyPI: https://pypi.org/project/fonttools
- Changelog: https://pyup.io/changelogs/fonttools/
- Repo: http://github.com/fonttools/fonttools
Update fonttools[ufo,lxml] from 4.22.0 to 4.24.3.
Changelog
### 4.24.3 ``` ---------------------------- - [otTables] Fixed ``AttributeError`` in methods that split LigatureSubst, MultipleSubst and AlternateSubst subtables when an offset overflow occurs. The ``Format`` attribute was removed in v4.22.0 (2319). ``` ### 4.24.2 ``` ---------------------------- - [ttGlyphPen] Fixed typing annotation of TTGlyphPen glyphSet parameter (2315). - Fixed two instances of DeprecationWarning: invalid escape sequence (2311). ``` ### 4.24.1 ``` ---------------------------- - [subset] Fixed AttributeError when SinglePos subtable has None Value (ValueFormat 0) (2312, 2313). ``` ### 4.24.0 ``` ---------------------------- - [pens] Add ``ttGlyphPen.TTGlyphPointPen`` similar to ``TTGlyphPen`` (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 (2308). - [colorLib] Set ``LayerV1List`` attribute to ``None`` when empty, it's optional in CORLv1 (2308). ``` ### 4.23.0 ``` ---------------------------- - [designspaceLib] Allow to use ``\\UNC`` absolute paths on Windows (2299, 2306). - [varLib.merger] Fixed bug where ``VarLibMergeError`` was raised with incorrect parameters (2300). - [feaLib] Allow substituting a glyph class with ``NULL`` to delete multiple glyphs (2303). - [glyf] Fixed ``NameError`` exception in ``getPhantomPoints`` (2295, 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 (2288). - [varLib] Added support for building, reading, writing and optimizing 32-bit ``ItemVariationStore`` as used in COLRv1 table (2285). - [otBase/otConverters] Add array readers/writers for int types (2285). - [feaLib] Allow more than one lookahead glyph/class in contextual positioning with "value at end" (2293, 2294). - [COLRv1] Default varIdx should be 0xFFFFFFFF (2297, 2298). - [pens] Make RecordingPointPen actually pass on identifiers; replace asserts with explicit ``PenError`` exception (2284). - [mutator] Round lsb for CF2 fonts as well (2286). ``` ### 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 (2276, 2277). - [subset] Fixed bug with ``--no-hinting`` implementation for Device tables (2272, 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`` (2273, 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 (2261, 2266). - [subset] Fixed ``AssertionError`` while pruning unused CPAL palettes when ``0xFFFF`` is present (2257, 2259). ```Links
- PyPI: https://pypi.org/project/fonttools - Changelog: https://pyup.io/changelogs/fonttools/ - Repo: http://github.com/fonttools/fonttools