You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Kurt Leistentritt (JIRA)" <ji...@apache.org> on 2013/07/01 20:22:19 UTC

[jira] [Created] (PDFBOX-1657) glyph contours missing

Kurt Leistentritt created PDFBOX-1657:
-----------------------------------------

             Summary: glyph contours missing
                 Key: PDFBOX-1657
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1657
             Project: PDFBox
          Issue Type: Bug
          Components: FontBox
    Affects Versions: 1.8.2
         Environment: Windows
            Reporter: Kurt Leistentritt
            Priority: Minor


In class GlyphTable, method initData, contours are not set
if offset of glyph is the same as offset of previous glyph:

            // don't repeat glyphs
            if (currentOffset == offsets[i])
            {
                continue;
            }

Should be changed to:

            // don't repeat glyphs
            if (currentOffset == offsets[i])
            {
                glyphs[i] = glyphs[i-1];
                continue;
            }


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira