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 2017/02/12 17:43:41 UTC

[jira] [Comment Edited] (PDFBOX-3579) Giant glyphs when rendering embedded fonts

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

Andreas Lehmkühler edited comment on PDFBOX-3579 at 2/12/17 5:42 PM:
---------------------------------------------------------------------

I've committed an improved version of the first patch. The scaling issue is solved now. 
But there is another issue with the glyphs of some of the fonts (e.g. page 1, font R384, Garamond). It seems like the glyphs are rotated a little bit. The uppercase "W" is the most suitable example to demonstrate the effect. It's not an issue with the processing of the content stream as the glyph itself is rendered strange already. Just have a look at the font overview using PDFDebugger. I've extracted the font in question and font forge renders the glyph as expected. Any ideas?


was (Author: lehmi):
I've committed an improved version of the first patch. The scaling issue is solved now. But there is another issue with the glyphs of some of the fonts (e.g. page 1, font R384, Garamond). It seems like the glyphs are rotated a little bit. The uppercase "W" is the most best good example to demonstrate the effect. It's not an issue with the processing of the content stream as the glyph itself is rendered strange already. Just have a look at the font overview using PDFDebugger. I've extracted the font in question and font forge renders the glyph as expected. Any ideas?

> Giant glyphs when rendering embedded fonts
> ------------------------------------------
>
>                 Key: PDFBOX-3579
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3579
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>    Affects Versions: 2.0.3
>            Reporter: Holger Floerke
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>             Fix For: 2.0.5, 2.1.0
>
>         Attachments: 978-3-86764-721-2_t21.jpg, 978-3-86764-721-2_t2.pdf, PDFBOX-3579_FontMatrix_patch.txt
>
>
> Hi,
> I try to generate an image out of the attatched pdf. PDFViewer like "Acrobat Reader" or the Ubuntu "Document Viewer" are able to display the PDF in a correct way. PDFBox is a little bit confused about the font.
> Checked with the latest relase version:
> java -jar pdfbox-app-2.0.3.jar PDFToImage 978-3-86764-721-2_t2.pdf



--
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