[fonttools/fonttools] 99cc23: define StrEnum backport for py < 3.11

0 views
Skip to first unread message

Cosimo Lupo

unread,
Sep 16, 2025, 11:57:55 AMSep 16
to fontto...@googlegroups.com
Branch: refs/heads/reverse-oncurve-start
Home: https://github.com/fonttools/fonttools
Commit: 99cc23bee8295a0dad032fe1f64a9ae56e56adca
https://github.com/fonttools/fonttools/commit/99cc23bee8295a0dad032fe1f64a9ae56e56adca
Author: Cosimo Lupo <cl...@google.com>
Date: 2025-09-16 (Tue, 16 Sep 2025)

Changed paths:
A Lib/fontTools/misc/enumTools.py

Log Message:
-----------
define StrEnum backport for py < 3.11


Commit: 9569d355aa24f54d9c23324e7fe90bb3cd98854c
https://github.com/fonttools/fonttools/commit/9569d355aa24f54d9c23324e7fe90bb3cd98854c
Author: Cosimo Lupo <cl...@google.com>
Date: 2025-09-16 (Tue, 16 Sep 2025)

Changed paths:
M Lib/fontTools/pens/filterPen.py

Log Message:
-----------
filterPen: define buffered ContourFilterPointPen

similar to ContourFilterPen


Commit: 556f2855eab149565ccbd9a0102126d276d83883
https://github.com/fonttools/fonttools/commit/556f2855eab149565ccbd9a0102126d276d83883
Author: Cosimo Lupo <cl...@google.com>
Date: 2025-09-16 (Tue, 16 Sep 2025)

Changed paths:
M Lib/fontTools/pens/filterPen.py
M Tests/pens/filterPen_test.py

Log Message:
-----------
add OnCurveStartPointPen: a filter pen that ensures closed contours start with on-curve point


Commit: c2c71ad7451df2154fb694fc9b3405886a4ebf15
https://github.com/fonttools/fonttools/commit/c2c71ad7451df2154fb694fc9b3405886a4ebf15
Author: Cosimo Lupo <cl...@google.com>
Date: 2025-09-16 (Tue, 16 Sep 2025)

Changed paths:
M Lib/fontTools/pens/pointPen.py

Log Message:
-----------
add option to DecomposingPointPen to rotate to first oncurve before reversing direction of decomposed flipped components

This is meant to address https://github.com/googlefonts/fontc/issues/1633


Commit: b3b0d2c58a84c17ad59ee41be62ddaad22d4194a
https://github.com/fonttools/fonttools/commit/b3b0d2c58a84c17ad59ee41be62ddaad22d4194a
Author: Cosimo Lupo <cl...@google.com>
Date: 2025-09-16 (Tue, 16 Sep 2025)

Changed paths:
M Lib/fontTools/pens/filterPen.py

Log Message:
-----------
filterPen: let DecomposingFilterPointPen pass down ReverseFlipped enum to the DecomposingPointPen

The segment-oriented DecomposingFilterPen still only takes a because segment pens cannot NOT start with an on-curve point anyway...


Commit: f744c481b05331ae9f3502961b997f41a6633d14
https://github.com/fonttools/fonttools/commit/f744c481b05331ae9f3502961b997f41a6633d14
Author: Cosimo Lupo <cl...@google.com>
Date: 2025-09-16 (Tue, 16 Sep 2025)

Changed paths:
M Tests/pens/filterPen_test.py

Log Message:
-----------
filterPen_test: test DecomposingFilterPointPen with ReverseFlipped enum values


Compare: https://github.com/fonttools/fonttools/compare/99cc23bee829%5E...f744c481b053

To unsubscribe from these emails, change your notification settings at https://github.com/fonttools/fonttools/settings/notifications

Cosimo Lupo

unread,
Sep 17, 2025, 6:36:14 AMSep 17
to fontto...@googlegroups.com
Branch: refs/heads/main
Commit: 6cc5a85c5a88b9a229ebf49a48a16dc8827585d4
https://github.com/fonttools/fonttools/commit/6cc5a85c5a88b9a229ebf49a48a16dc8827585d4
Author: Cosimo Lupo <cl...@google.com>
Date: 2025-09-16 (Tue, 16 Sep 2025)

Changed paths:
M Lib/fontTools/pens/filterPen.py

Log Message:
-----------
black (disagrees with ruff...)


Commit: 55331f1dac0c9f1a5710bf89e89511f8515ef130
https://github.com/fonttools/fonttools/commit/55331f1dac0c9f1a5710bf89e89511f8515ef130
Author: Cosimo Lupo <cos...@anthrotype.com>
Date: 2025-09-17 (Wed, 17 Sep 2025)

Changed paths:
A Lib/fontTools/misc/enumTools.py
M Lib/fontTools/pens/filterPen.py
M Lib/fontTools/pens/pointPen.py
M Tests/pens/filterPen_test.py

Log Message:
-----------
Merge pull request #3934 from fonttools/reverse-oncurve-start

DecomposePointPen: add reverseFlipped="on_curve_first" to match fontc's flipped component decomposition


Compare: https://github.com/fonttools/fonttools/compare/aefed0b9e7ee...55331f1dac0c
Reply all
Reply to author
Forward
0 new messages