Skip to content

Conversation

@pyup-bot
Copy link
Contributor

Update fonttools from 4.24.4 to 4.25.1.

Changelog

4.25.1

----------------------------

- [ttGlyphPen] Fixed bug in ``TTGlyphPointPen``, whereby open contours (i.e. starting
with segmentType "move") would throw ``NotImplementedError``. They are now treated
as if they are closed, like with the ``TTGlyphPen`` (2364, 2366).

4.25.0

----------------------------

- [tfmLib] Added new library for parsing TeX Font Metric (TFM) files (2354).
- [TupleVariation] Make shared tuples order deterministic on python < 3.7 where
Counter (subclass of dict) doesn't remember insertion order (2351, 2353).
- [otData] Renamed COLRv1 structs to remove 'v1' suffix and match the updated draft
spec: 'LayerV1List' -> 'LayerList', 'BaseGlyphV1List' -> 'BaseGlyphList',
'BaseGlyphV1Record' -> 'BaseGlyphPaintRecord' (2346).
Added 8 new ``PaintScale*`` tables: with/without centers, uniform vs non-uniform.
Added ``*AroundCenter`` variants to ``PaintRotate`` and ``PaintSkew``: the default
versions no longer have centerX/Y, but default to origin.
``PaintRotate``, ``PaintSkew`` and ``PaintComposite`` formats were re-numbered.
NOTE: these are breaking changes; clients using the experimental COLRv1 API will
have to be updated (2348).
- [pointPens] Allow ``GuessSmoothPointPen`` to accept a tolerance. Fixed call to
``math.atan2`` with x/y parameters inverted. Sync the code with fontPens (2344).
- [post] Fixed parsing ``post`` table format 2.0 when it contains extra garbage
at the end of the stringData array (2314).
- [subset] drop empty features unless 'size' with FeatureParams table (2324).
- [otlLib] Added ``otlLib.optimize`` module; added GPOS compaction algorithm.
The compaction can be run on existing fonts with ``fonttools otlLib.optimize``
or using the snippet ``compact_gpos.py``. There's experimental support for
compacting fonts at compilation time using an environment variable, but that
might be removed later (2326).
Links

@codecov
Copy link

codecov bot commented Jul 19, 2021

Codecov Report

Merging #249 (c740829) into master (f868cc5) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #249   +/-   ##
=======================================
  Coverage   88.29%   88.29%           
=======================================
  Files          13       13           
  Lines        2375     2375           
  Branches      308      308           
=======================================
  Hits         2097     2097           
  Misses        201      201           
  Partials       77       77           
Flag Coverage Δ
unittests 88.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f868cc5...c740829. Read the comment docs.

@benkiel benkiel merged commit 3227478 into master Jul 19, 2021
@benkiel benkiel deleted the pyup-scheduled-update-2021-07-19 branch July 19, 2021 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants