You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/07/20 11:23:38 UTC

[jira] [Created] (PDFBOX-2229) NPE in GlyfCompositeDescript.getPointCount

Tilman Hausherr created PDFBOX-2229:
---------------------------------------

             Summary: NPE in GlyfCompositeDescript.getPointCount
                 Key: PDFBOX-2229
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2229
             Project: PDFBox
          Issue Type: Bug
          Components: FontBox
    Affects Versions: 2.0.0
            Reporter: Tilman Hausherr


I get this with the attached file:
{code}
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at org.apache.fontbox.ttf.GlyfCompositeDescript.getPointCount(GlyfCompositeDescript.java:199)
        at org.apache.fontbox.ttf.GlyphRenderer.describe(GlyphRenderer.java:56)
        at org.apache.fontbox.ttf.GlyphRenderer.getPath(GlyphRenderer.java:46)
        at org.apache.fontbox.ttf.GlyphData.getPath(GlyphData.java:114)
        at org.apache.pdfbox.rendering.font.TTFGlyph2D.getPathForGlyphId(TTFGlyph2D.java:202)
        at org.apache.pdfbox.rendering.font.TTFGlyph2D.getPathForCharacterCode(TTFGlyph2D.java:154)
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)