[fonttools/fonttools] 6870f8: [qu2cu] Accept tuple splines when compiled

1 view
Skip to first unread message

Cosimo Lupo

unread,
Aug 25, 2026, 7:15:32 AM (yesterday) Aug 25
to fontto...@googlegroups.com
Branch: refs/heads/fix-cython-qu2cu-lists
Home: https://github.com/fonttools/fonttools
Commit: 6870f871547644f9cfae46f3eca395e6b8fc9fd3
https://github.com/fonttools/fonttools/commit/6870f871547644f9cfae46f3eca395e6b8fc9fd3
Author: Cosimo Lupo <cos...@anthrotype.com>
Date: 2026-08-25 (Tue, 25 Aug 2026)

Changed paths:
M Lib/fontTools/qu2cu/qu2cu.py
M Tests/qu2cu/qu2cu_test.py

Log Message:
-----------
[qu2cu] Accept tuple splines when compiled

Cython treats the inner List annotation as a runtime type check, while Qu2CuPen supplies tuple splines. Widen the annotation to Sequence and cover that input.



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

Cosimo Lupo

unread,
Aug 25, 2026, 7:23:34 AM (yesterday) Aug 25
to fontto...@googlegroups.com
Branch: refs/heads/main
Home: https://github.com/fonttools/fonttools
Commit: 6870f871547644f9cfae46f3eca395e6b8fc9fd3
https://github.com/fonttools/fonttools/commit/6870f871547644f9cfae46f3eca395e6b8fc9fd3
Author: Cosimo Lupo <cos...@anthrotype.com>
Date: 2026-08-25 (Tue, 25 Aug 2026)

Changed paths:
M Lib/fontTools/qu2cu/qu2cu.py
M Tests/qu2cu/qu2cu_test.py

Log Message:
-----------
[qu2cu] Accept tuple splines when compiled

Cython treats the inner List annotation as a runtime type check, while Qu2CuPen supplies tuple splines. Widen the annotation to Sequence and cover that input.


Commit: 984a5cf614f4b05f0cdd57fc5b5628fd81518805
https://github.com/fonttools/fonttools/commit/984a5cf614f4b05f0cdd57fc5b5628fd81518805
Author: Cosimo Lupo <cos...@anthrotype.com>
Date: 2026-08-25 (Tue, 25 Aug 2026)

Changed paths:
M Lib/fontTools/qu2cu/qu2cu.py
M Tests/qu2cu/qu2cu_test.py

Log Message:
-----------
Merge pull request #4160 from fonttools/fix-cython-qu2cu-lists

[qu2cu] Accept tuple splines when compiled


Compare: https://github.com/fonttools/fonttools/compare/8dffa85c77cd...984a5cf614f4
Reply all
Reply to author
Forward
0 new messages