Skip to content

Disable tx optimization options#34

Open
khaledhosny wants to merge 2 commits intomasterfrom
no-optimize
Open

Disable tx optimization options#34
khaledhosny wants to merge 2 commits intomasterfrom
no-optimize

Conversation

@khaledhosny
Copy link
Copy Markdown
Contributor

In a project that uses cffsubr, we noticed FamilyOtherBlues being dropped from the font. This seems to be caused by +F option being the default. While this optimization may be harmless, it is not something that should happen during subroutinization, so i disable this and other optimization options just in case.

In a project that uses cffsubr, we noticed FamilyOtherBlues being
dropped from the font. This seems to be caused by +F option being the
default. While this optimization may be harmless, it is not something
that should happen during subroutinization, so i disable this and other
optimization options just in case.
khaledhosny added a commit to TiroTypeworks/TiroTools that referenced this pull request Mar 25, 2026
This and adobe-type-tools/cffsubr#34 should
prevent optimizing FamilyOtherBlues when identical to OtherBlues.
It does not seem to be supported anymore. Fixes:

  File "<string>", line 70, in build_extension
TypeError: copy_file() got an unexpected keyword argument 'dry_run'
@khaledhosny khaledhosny requested a review from anthrotype March 25, 2026 22: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.

1 participant