[fonttools/fonttools] 6f568a: [otlLib] Build extended contextual formats

0 views
Skip to first unread message

Behdad Esfahbod

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

Changed paths:
M Lib/fontTools/otlLib/builder.py
M Tests/otlLib/builder_test.py

Log Message:
-----------
[otlLib] Build extended contextual formats

Reuse the existing contextual lookup algorithms while selecting the
extended rule, class, coverage, and lookup-record structures for fonts
with extended glyph IDs.

The beyond-64k specification has no extended chained coverage format,
so exclude that candidate for extended chained-context lookups.

Assisted-by: Codex


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

Changed paths:
M Lib/fontTools/otlLib/builder.py
M Tests/otlLib/builder_test.py

Log Message:
-----------
[otlLib] Build extended reverse-chain substitutions

Select ReverseChainSingleSubst format 2 when the font has extended
glyph IDs. The existing coverage and substitution construction works
unchanged with the extended schema.

Assisted-by: Codex


Compare: https://github.com/fonttools/fonttools/compare/58b1a60a53fa...a7f61c70efe7

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