[fonttools/fonttools] 64c974: [ttLib] Convert extended GSUB and GPOS headers

0 views
Skip to first unread message

Behdad Esfahbod

unread,
11:22 AM (1 hour ago) 11:22 AM
to fontto...@googlegroups.com
Branch: refs/heads/beyond-64k
Home: https://github.com/fonttools/fonttools
Commit: 64c974014d8a3aee6a9e7e3a77c4b79a990b7568
https://github.com/fonttools/fonttools/commit/64c974014d8a3aee6a9e7e3a77c4b79a990b7568
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-06-05 (Fri, 05 Jun 2026)

Changed paths:
M Lib/fontTools/ttLib/beyond64k.py
M Tests/ttLib/beyond64k_test.py

Log Message:
-----------
[ttLib] Convert extended GSUB and GPOS headers

Generalize beyond-64k conversion entries to support same-tag in-place
transformations. Use them to move GSUB and GPOS top-level lists between
the compact and extended headers.

Assisted-by: Codex


Commit: b65a6a09c17248fa6c866f5bfb242890162cdc91
https://github.com/fonttools/fonttools/commit/b65a6a09c17248fa6c866f5bfb242890162cdc91
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-06-05 (Fri, 05 Jun 2026)

Changed paths:
M Lib/fontTools/ttLib/beyond64k.py
M Tests/ttLib/beyond64k_test.py

Log Message:
-----------
[ttLib] Reject lossy GLYF lowering

Reject lowering GLYF when cubic outlines or composite glyph IDs cannot
be represented by the lowercase glyf table.

Assisted-by: Codex


Commit: 2b4a45907502e40e2adb6476377b7b5eef1eeb09
https://github.com/fonttools/fonttools/commit/2b4a45907502e40e2adb6476377b7b5eef1eeb09
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-06-05 (Fri, 05 Jun 2026)

Changed paths:
M Lib/fontTools/ttLib/beyond64k.py
M Lib/fontTools/ttLib/tables/otTables.py
M Tests/ttLib/beyond64k_test.py

Log Message:
-----------
[ttLib] Force automatic extended Layout formats

Make the beyond-64k conversion tool force the extended or compact
forms of automatic-format Layout structures. Propagate the selected
form to Coverage tables synthesized while compiling GSUB subtables.

Tests: PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=Lib pytest -q Tests/ttLib

Assisted-by: Codex


Commit: 2f064b6a5b3e237cd53825118096c483317a4b77
https://github.com/fonttools/fonttools/commit/2f064b6a5b3e237cd53825118096c483317a4b77
Author: Behdad Esfahbod <beh...@behdad.org>
Date: 2026-06-05 (Fri, 05 Jun 2026)

Changed paths:
M Lib/fontTools/ttLib/beyond64k.py
M Tests/ttLib/beyond64k_test.py

Log Message:
-----------
[ttLib] Convert explicit extended Layout formats

Convert non-contextual GSUB and GPOS subtables between their compact
and extended formats. Replace nested record objects where the extended
format uses wider glyph IDs, counts, or offsets.

Tests: PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=Lib pytest -q Tests/ttLib
Tests: PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=Lib pytest -q Tests/otlLib

Assisted-by: Codex


Compare: https://github.com/fonttools/fonttools/compare/fd917dcfcd7a...2f064b6a5b3e

To unsubscribe from these emails, change your notification settings at https://github.com/fonttools/fonttools/settings/notifications
Reply all
Reply to author
Forward
0 new messages