Skip to content

Conversation

@iorsh
Copy link
Contributor

@iorsh iorsh commented Jan 3, 2024

Fixes parsing of lookup flags in an OT feature file import.

In a line like lookupflag RightToLeft IgnoreMarks; the first flag is parsed in line
featurefile.c:3192, and the next token is parsed on featurefile.c:3213. The problem is that after the second token is verified, there is another parsing command at featurefile.c:3222, which effectively discard the second token and picks yet another one.

Closes #5337

@iorsh
Copy link
Contributor Author

iorsh commented Jan 4, 2024

@skef, could you please take a look?

Copy link
Contributor

@skef skef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, seems like a typically Georgean artifact. Approved

@skef skef merged commit 16f3d21 into fontforge:master Jan 4, 2024
@iorsh iorsh deleted the lookup_flags branch January 29, 2024 21:14
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.

Lookup flags parsed incorrectly in an OT feature file import

2 participants