[
https://issues.apache.org/jira/browse/PDFBOX-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14016912#comment-14016912
]
Juraj Lonc commented on PDFBOX-2110:
------------------------------------
I don't think your hardcoded mapping solves problem.
I am not using Liberation fonts (they are not installed either). "Courier New"
is installed on that system, so it should be used, right?
> Font not found: CourierNew
> --------------------------
>
> Key: PDFBOX-2110
> URL: https://issues.apache.org/jira/browse/PDFBOX-2110
> Project: PDFBox
> Issue Type: Bug
> Components: FontBox
> Affects Versions: 2.0.0
> Reporter: Juraj Lonc
> Attachments: testpdf_monospace_DPH_032014.pdf
>
>
> PDF uses non-embedded font "CourierNew".
> OS contains font:
> {code}/usr/share/fonts/truetype/msttcorefonts/Courier_New.ttf: Courier
> New:style=Regular,Normal,obyèejné,Standard,????????,Normaali,Normál,Normale,Standaard,Normal{code}
> FontManager is not able to find it and warns:
> {code}WARN [org.apache.fontbox.util.FontManager] (http-0.0.0.0-80-6) Font
> not found: CourierNew{code}
> It seems that the problem is in that space in font name "CourierNew" vs.
> "Courier New"
--
This message was sent by Atlassian JIRA
(v6.2#6252)