You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Juraj Lonc (JIRA)" <ji...@apache.org> on 2014/06/03 19:48:03 UTC

[jira] [Comment Edited] (PDFBOX-2110) Font not found: CourierNew

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

Juraj Lonc edited comment on PDFBOX-2110 at 6/3/14 5:47 PM:
------------------------------------------------------------

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?

In additiont to that, "Liberation Mono" is visually very different from "Courier New"


was (Author: chupacabras):
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)