Skip to content

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

Description

@GoogleCodeExporter
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:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions