Am 01.04.2015 um 16:44 schrieb Andrew Munn:
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

Please do also search for *.pfb files.

Anyway, the only solution for you now would be to try each of these fonts, Copy the above into a file and then read the paths and then try if the effect happens.

Tilman


What do you think?

Thanks!

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



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

Reply via email to