Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow 0-len mult subs in UI, feature files (GSUB) #4619

Merged
merged 1 commit into from Feb 10, 2021

Conversation

ctrlcctrlv
Copy link
Member

This allows glyph deletion in OpenType Layout.

Cf. MicrosoftDocs/typography-issues#673, fonttools/fonttools#2170, adobe-type-tools/afdko#1251

Close #4618

FontForge already supported this implicitly: reading an OpenType font which uses this mechanism works, as does writing it back. Adding one in the UI was broken, as were feature files in both directions. This PR fixes that.

Type of change

  • Non-breaking change

fontforge/featurefile.c Outdated Show resolved Hide resolved
@skef
Copy link
Contributor

skef commented Feb 6, 2021

This looks fine to me relative to the caveats about error reporting. I'm going to put off approving for a day or two in case @frank-trampe or anyone else has a contrary opinion.

@ctrlcctrlv ctrlcctrlv merged commit 9e9e9d3 into fontforge:master Feb 10, 2021
@ctrlcctrlv ctrlcctrlv mentioned this pull request Mar 14, 2022
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.

[fea] Deleting glyphs should be possible
2 participants