Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

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

Open
GoogleCodeExporter opened this issue Jun 15, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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:

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

No branches or pull requests

1 participant