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

NameTable iteration breaks on some fonts #33

Open
GoogleCodeExporter opened this issue Mar 19, 2015 · 0 comments
Open

NameTable iteration breaks on some fonts #33

GoogleCodeExporter opened this issue Mar 19, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Some fonts have name table entries where the name bytes field is empty (zero 
length), and additionally has the index to the entry equal to the bounds of the 
name table.

Extra bounds checking introduced with r155 causes sfntly to crash on such 
entries with an IndexOutOfBounds exception. I believe that in this case, such 
entries are valid (since the length is zero) and sfntly should not throw an 
exception.

Original issue reported on code.google.com by tinned...@yahoo.com on 10 Jul 2013 at 4:22

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant