Skip to content

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

Merged
ctrlcctrlv merged 1 commit intofontforge:masterfrom
ctrlcctrlv:multsub0len
Feb 10, 2021
Merged

Allow 0-len mult subs in UI, feature files (GSUB)#4619
ctrlcctrlv merged 1 commit intofontforge:masterfrom
ctrlcctrlv:multsub0len

Conversation

@ctrlcctrlv
Copy link
Copy Markdown
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

Comment thread fontforge/featurefile.c Outdated
@skef
Copy link
Copy Markdown
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