-
Notifications
You must be signed in to change notification settings - Fork 65
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
OTS is requiring data chunks in CMAP format 14 subtable in order? #153
Comments
PR with a test font, or just a test font, would be helpful. |
The first file having this problem is a Microsoft IP. Message:
Format 14 subtable of this font:
|
This message is found here: https://github.com/khaledhosny/ots/blob/master/src/cmap.cc#L531 |
If I drop this check, the santized file will be invalid, so something else seems to be broken as well. |
@khaledhosny What exactly do you mean "something"? Something in my font or something in your program? |
Something in OTS. |
TTX roundtrip can fix that... |
Thank you, it works. Yesterday TTX just crashed somehow :p |
Fixed in #197 |
As read the source it looks like that, data chunks of Default UVS Tables and Non-Default UVS Tables must be ordered the same as
varSelector
s, but I did not see any requirements in the Spec restricting the order of data chunks.If the data chunks are not ordered, OTS would report an error, triggered by line 531 in cmap.cc.
The text was updated successfully, but these errors were encountered: