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

John Hewson commented on PDFBOX-2298:
-------------------------------------

I've taken a look at the PDF file and the embedded font, the cause of the 
problem is that the embedded Type 1 font specifies a FontMatrix which uses a 
scale other than 1000, in fact it's roughly half that. This isn't permitted in 
PDF but we already handle cases where Type1C fonts have the same problem. The 
solution is to force PDType1Font to use the FontMatrix in the font file if one 
is specified.

> Wrong scaling of embedded type 1 font
> -------------------------------------
>
>                 Key: PDFBOX-2298
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2298
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Andreas Lehmkühler
>         Attachments: PDFBOX935-data_not_extracted_1.png
>
>
> The file attached to PDFBOX-935 is rendered wrong. It seems that all embedded 
> type1 fonts have the wrong scaling. All glyphs are to big and are overlapping.
> It worked well before merging the no-awt branch into the trunk



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to