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

Handle SOFFSET with additional parameters #18

Open
madig opened this issue Apr 27, 2018 · 2 comments
Open

Handle SOFFSET with additional parameters #18

madig opened this issue Apr 27, 2018 · 2 comments

Comments

@madig
Copy link
Contributor

madig commented Apr 27, 2018

Found this in a TSI1 table today:

<glyphProgram name="questiondown">
OVERLAP[]
SOFFSET[R], 212, 775, 539, -1.0000, 0.0000, 0.0000, -1.0000
</glyphProgram>

vttLib doesn't like it:

An error occurred while parsing "questiondown" program:
SOFFSET[R], 212, 775, 539, -1>!<.0000, 0.0000, 0.0000, -1.0000
@madig
Copy link
Contributor Author

madig commented Oct 31, 2018

Probably associated with transformed components, -1.0000, 0.0000, 0.0000, -1.0000 could be the transformation matrix. Pops up from time to time before hinting and it's maybe a good idea to not implement it to prevent transformed components from slipping into the source?

@aaronbell
Copy link

Heeeeeey guess what we just discussed today.

My understanding is that transformed components are not necessarily a problem in a TTF file, but they cannot be hinted properly, so the recommendation is to decompose it. I would suggest flagging the issue to the user (though some might prefer to keep it I guess?)

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

No branches or pull requests

2 participants