huhuang03 / sfntly

Automatically exported from code.google.com/p/sfntly
0 stars 0 forks source link

Function Fontinfo.listGlyphDimensionBounds() can fail with an ArrayIndexOutOfBoundsException on some fonts #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call the function for a font that has glyphs with no data 
(LocaTable.glyphLength()==0
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
The attached patch fixes the issue by ignoring such glyphs during computation.

Original issue reported on code.google.com by alexgel...@web.de on 2 Sep 2013 at 3:57

Attachments: