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 2013/12/11 23:16:08 UTC
[jira] [Commented] (PDFBOX-1800) Glyphs rendered at wrong position
[ https://issues.apache.org/jira/browse/PDFBOX-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845779#comment-13845779 ]
Tilman Hausherr commented on PDFBOX-1800:
-----------------------------------------
I found the cause: the 3 arial fonts that are in org/apache/pdfbox/resources/ttf/ are broken.
If I replace them in pdfbox\resources\PDFBox_External_Fonts.properties like this
Arial-BoldItalicMT=c:/Windows/Fonts/ARIALBI.TTF
Arial-BoldMT=c:/Windows/Fonts/ARIALBD.TTF
ArialMT=C:/Windows/Fonts/ARIAL.TTF
UNKNOWN_FONT=C:/Windows/Fonts/ARIAL.TTF
then I get a nicely rendered image. The "J" is fine now, and the "Was ihnen geboten wird" subtitle looks much better.
> Glyphs rendered at wrong position
> ---------------------------------
>
> Key: PDFBOX-1800
> URL: https://issues.apache.org/jira/browse/PDFBOX-1800
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.0
> Environment: W7
> Reporter: Tilman Hausherr
> Attachments: PDFBOX-1796-dls.pdf, PDFBOX-1796-dls.pdf-1.png, PDFBOX-1796-dls.pdf-1.png
>
>
> In the attached file, the black glyphs are rendered at the wrong position. See especially "+J" at "Wir, die Meier+Jäggi". Although it is just a few pixels off, it looks terrible.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)