Skip to content

Conversation

Hoolean
Copy link
Contributor

@Hoolean Hoolean commented Mar 27, 2025

This especially improves ergonomics when unconditionally invoking the otlLib optimizer as a script, e.g.:

python -m fontTools.otlLib.optimize Abc.ttf

If a GPOS table was not present, this would previously crash with KeyError; now the script can be used on any font instead.

@Hoolean Hoolean force-pushed the fix-missing-gpos-optimize branch from fbe9f98 to aeb0394 Compare March 27, 2025 13:49
@behdad behdad merged commit a6abbac into fonttools:main Mar 27, 2025
11 checks passed
@Hoolean Hoolean deleted the fix-missing-gpos-optimize branch March 28, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants