pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Munn <and...@nmedia.net>
Subject Re: PDFBox 2.0.0 replacement for PDPageContentStream.drawString()?
Date Wed, 01 Apr 2015 14:44:17 GMT
On Wed, 1 Apr 2015, Tilman Hausherr wrote:
> Could you do "svn update" because there was a bug with this fixed a few days
> ago.

I am downloading pdfbox-app-2.0.0-20150331.230831-1188.jar.  Should that 
be current enough?

> Somehow this is a moving target. You initially said that a font hangs on
> linux. I'd like you to try that specific font in windows, i.e. copy that font
> file, then load that specific font with load(). "PDType1Font.TIMES_ROMAN" is
> not a specific font, rather it is shown depending on whats available on the
> OS. In windows, usually "Times New Roman".

I'm not sure how to find what font PDType1Font.TIMES_ROMAN points to on 
the Linux box.  I don't have X installed on there either if that matters.  
ttf files are:

[root@dev1 lib]# find / -name *ttf -print
/usr/share/httpd/noindex/css/fonts/Bold/OpenSans-Bold.ttf
/usr/share/httpd/noindex/css/fonts/BoldItalic/OpenSans-BoldItalic.ttf
/usr/share/httpd/noindex/css/fonts/ExtraBold/OpenSans-ExtraBold.ttf
/usr/share/httpd/noindex/css/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.ttf
/usr/share/httpd/noindex/css/fonts/Italic/OpenSans-Italic.ttf
/usr/share/httpd/noindex/css/fonts/Light/OpenSans-Light.ttf
/usr/share/httpd/noindex/css/fonts/LightItalic/OpenSans-LightItalic.ttf
/usr/share/httpd/noindex/css/fonts/Regular/OpenSans-Regular.ttf
/usr/share/httpd/noindex/css/fonts/Semibold/OpenSans-Semibold.ttf
/usr/share/httpd/noindex/css/fonts/SemiboldItalic/OpenSans-SemiboldItalic.ttf
/opt/jdk8/jre/lib/fonts/LucidaSansDemiBold.ttf
/opt/jdk8/jre/lib/fonts/LucidaBrightDemiItalic.ttf
/opt/jdk8/jre/lib/fonts/LucidaBrightItalic.ttf
/opt/jdk8/jre/lib/fonts/LucidaBrightRegular.ttf
/opt/jdk8/jre/lib/fonts/LucidaSansRegular.ttf
/opt/jdk8/jre/lib/fonts/LucidaTypewriterRegular.ttf
/opt/jdk8/jre/lib/fonts/LucidaTypewriterBold.ttf
/opt/jdk8/jre/lib/fonts/LucidaBrightDemiBold.ttf
/opt/jdk8/jre/lib/oblique-fonts/LucidaSansOblique.ttf
/opt/jdk8/jre/lib/oblique-fonts/LucidaTypewriterBoldOblique.ttf
/opt/jdk8/jre/lib/oblique-fonts/LucidaSansDemiOblique.ttf
/opt/jdk8/jre/lib/oblique-fonts/LucidaTypewriterOblique.ttf

What do you think?

Thanks!

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


Mime
View raw message