[ 
https://issues.apache.org/jira/browse/PDFBOX-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler resolved PDFBOX-2110.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.8.6
         Assignee: Andreas Lehmkühler

The font manager now takes the font family into account to improve the font 
mappping.
I've added the changes as proposed by Juraj in revisions 
http://svn.apache.org/r1601144 (trunk) and http://svn.apache.org/r1601145 (1.8 
branch)

Thanks for the contribution!

> 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: 1.8.5, 2.0.0
>            Reporter: Juraj Lonc
>            Assignee: Andreas Lehmkühler
>             Fix For: 1.8.6, 2.0.0
>
>         Attachments: PDFBOX-2110_FontManager.diff, 
> 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)

Reply via email to