[fonttools/fonttools] b63bf8: [name] Prefer Windows English names in getDebugName

1 view
Skip to first unread message

Cosimo Lupo

unread,
Oct 12, 2026, 6:13:24 AM (3 days ago) Oct 12
to fontto...@googlegroups.com
Branch: refs/heads/main
Home: https://github.com/fonttools/fonttools
Commit: b63bf84519d51e0142cb7b6357408cf1e1cfe6a8
https://github.com/fonttools/fonttools/commit/b63bf84519d51e0142cb7b6357408cf1e1cfe6a8
Author: LuisFigueroaG <luis.h.f...@gmail.com>
Date: 2026-10-07 (Wed, 07 Oct 2026)

Changed paths:
M Lib/fontTools/ttLib/tables/_n_a_m_e.py
M Tests/feaLib/data/spec8b.ttx
M Tests/feaLib/data/spec8c.ttx
M Tests/ttLib/tables/_n_a_m_e_test.py

Log Message:
-----------
[name] Prefer Windows English names in getDebugName

getDebugName returned whichever English name came first between the
Mac (1, 0) and Windows (3, 0x409) ones, which in a sorted name table is
always the Mac one. Mac names are legacy and may not match the Windows
names, which are what applications actually use, so prefer those and
only fall back to the Mac English name if there is no Windows one.

Fixes #3969


Commit: c18195abfd3096d6d4931bc5727f37f377805fa0
https://github.com/fonttools/fonttools/commit/c18195abfd3096d6d4931bc5727f37f377805fa0
Author: Cosimo Lupo <cos...@anthrotype.com>
Date: 2026-10-12 (Mon, 12 Oct 2026)

Changed paths:
M Lib/fontTools/ttLib/tables/_n_a_m_e.py
M Tests/feaLib/data/spec8b.ttx
M Tests/feaLib/data/spec8c.ttx
M Tests/ttLib/tables/_n_a_m_e_test.py

Log Message:
-----------
Merge pull request #4273 from LuisFigueroaG/fix/name-debug-name-windows

[name] Prefer Windows English names in getDebugName


Compare: https://github.com/fonttools/fonttools/compare/ae5237e0bcba...c18195abfd30

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