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 2017/02/04 19:20:51 UTC

[jira] [Commented] (PDFBOX-3676) Bad glyph rendering of type 1 font

    [ https://issues.apache.org/jira/browse/PDFBOX-3676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852902#comment-15852902 ] 

Tilman Hausherr commented on PDFBOX-3676:
-----------------------------------------

work hypothesis 1: that the "rrcurveto" in the sequence for "A" are a symptom of something really bad happening. After going through the byte sequence near that place it shows that the "rrcurveto" is really there (commands are small numbers). Using a ruler on the "A" after having printed a screenshot from Acrobat it shows that there is a curve after all.

work hypothesis 2: something's wrong with the "CALLSUBR". Indeed: there is 29 4 CALLSUBR but subrs.size() is 0. There is no error handling for that, it just goes on. What was missing was to clean up the numbers. After doing that the page renders properly.

> Bad glyph rendering of type 1 font
> ----------------------------------
>
>                 Key: PDFBOX-3676
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3676
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox, Rendering
>    Affects Versions: 2.0.4
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>              Labels: type1, type1font
>         Attachments: PDFBOX-3676.jpg, PDFBOX-3676.pdf
>
>
> Bad glyph rendering for attached PDF file



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org