[
https://issues.apache.org/jira/browse/PDFBOX-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13816461#comment-13816461
]
Tilman Hausherr commented on PDFBOX-1689:
-----------------------------------------
After trying to render the file
http://digitalcorpora.org/corp/nps/files/govdocs1/659/659756.pdf of
PDFBOX-1774, I have added this to getExternalFontFile2() after getBaseFont();
{code}
if (baseFont.contains(" "))
baseFont = baseFont.replace(" ", "");
while (baseFont.endsWith(","))
baseFont = baseFont.substring(0,baseFont.length()-1);
{code}
Because they have fonts with spaces and that end with ",".
> Partial failure to render PDF
> -----------------------------
>
> Key: PDFBOX-1689
> URL: https://issues.apache.org/jira/browse/PDFBOX-1689
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Andreas Lehmkühler
> Attachments: ELVIA-Reiserucktritt-Vollschutz-01.png,
> ELVIA-Reiserucktritt-Vollschutz-01.png, ELVIA-Reiserucktritt-Vollschutz.pdf
>
>
> The attached file has several issues when rendering:
> - The long "-" symbol replaced (top right, after "Reiseart: gültig für alle
> Reisearten")
> - The € (euro) symbol replaced (top right, after "maximaler Reisepreis: ")
> - The square (on win7) or bullet (on XP) symbol is replaced with a sum symbol
> - The whole text is not rendered in the same font than in acrobat reader
--
This message was sent by Atlassian JIRA
(v6.1#6144)