You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2013/11/17 15:35:23 UTC

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

     [ https://issues.apache.org/jira/browse/PDFBOX-1657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler updated PDFBOX-1657:
---------------------------------------


Merged into 1.8-branch in revision 1542735

> 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
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>             Fix For: 1.8.3, 2.0.0
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)