You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/03/03 20:38:25 UTC

[jira] [Updated] (PDFBOX-1069) Ubuntu throws exceptions when fonts missing

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

John Hewson updated PDFBOX-1069:
--------------------------------

    Summary: Ubuntu throws exceptions when fonts missing  (was: Ubuntu throws org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.getawtFont(PDTrueTypeFont.java:425) when fonts missing)

> Ubuntu throws exceptions when fonts missing
> -------------------------------------------
>
>                 Key: PDFBOX-1069
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1069
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.6.0
>         Environment: Ubuntu 10.10
>            Reporter: Sarah Kelley
>         Attachments: sakelley_pdf_rendering_problem.zip
>
>
> On a plain vanilla Ubuntu 10.10 install, running
> run-all failed to render any text, and threw lots of exceptions:
>     
>         org.apache.pdfbox.pdmodel.font.PDTrueTypeFont.getawtFont(PDTrueTypeFont.java:425)
>         
> ...however, installing the package "ttf-mscorefonts-installer"
> made those exceptions go away.
> (ubuntu1010_output.txt shows the exceptions; ubuntu1010_try2_output.txt is a run after the extra fonts are installed)
>     
> Might be able to fix this one by setting UNKNOWN_FONT in
> Resources/PDFBox_External_Fonts.properties, but it would seem like
> it should choose some reasonable default if it isn't set...
> shouldn't it?



--
This message was sent by Atlassian JIRA
(v6.2#6252)