pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Hewson <j...@jahewson.com>
Subject Re: Base fonts not found
Date Mon, 03 Oct 2016 17:55:53 GMT

> On 3 Oct 2016, at 06:20, jorgeeflorez . <jorgeeduardoflorez@gmail.com> wrote:
> 
> Hi all,
> 
> I am using PDFBox 2.0.0-RC2 on a web application that is deployed on
> Wildlfy (Centos 6.8 server). I am trying render a page of a pdf file as an
> image but I am getting these warning messages
> 
> WARN  org.apache.pdfbox.pdmodel.font.FileSystemFontProvider  - Building
> on-disk font cache, this may take a while
> WARN  org.apache.pdfbox.pdmodel.font.FileSystemFontProvider  - Finished
> building on-disk font cache, found 0 fonts
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Times-Roman
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Times-Bold
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Times-Italic
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Times-BoldItalic
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Helvetica
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Helvetica-Bold
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Helvetica-Oblique
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Helvetica-BoldOblique
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Courier
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Courier-Bold
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Courier-Oblique
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Courier-BoldOblique
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font Symbol
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for base font ZapfDingbats
> WARN  org.apache.pdfbox.pdmodel.font.PDType1Font  - Using fallback font
> LiberationSans for Courier
> 
> The image generated is pretty different. If I understand correctly, these
> fonts are 'always' available (according to
> http://pdfbox.apache.org/1.8/cookbook/workingwithfonts.html). I would like
> to know if I should do some additional configuration or adjustment to fix
> these warning messages.

Your system has no fonts installed. Presumably because it’s a server. You
should install some fonts from your system’s package manager.

> Thank you.
> 
> Best Regards.
> 
> Jorge Flórez


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message