This suggests that it did find a font file in the directory
/usr/X11R6/lib/X11/fonts/TrueType but then it wanted to access it, it failed. Does that file exist? Does it have the proper user rights? Tilman Am 12.10.2017 um 12:41 schrieb Fabio Salvi:
Hi all, I'm using your nice library on AIX 7.1 (jdk 8) and I get some exceptions: java.io.FileNotFoundException: /usr/X11R6/lib/X11/fonts/TrueType/tnrwt_s.ttf (A file or directory in the path name does not exist.) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:253) at org.apache.fontbox.ttf.BufferedRandomAccessFile.<init>( BufferedRandomAccessFile.java:88) at org.apache.fontbox.ttf.RAFDataStream.<init>(RAFDataStream.java:63) at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:84) at org.apache.pdfbox.pdmodel.font.FileSystemFontProvider.addTrueTypeFont( FileSystemFontProvider.java:517) at org.apache.pdfbox.pdmodel.font.FileSystemFontProvider.scanFonts( FileSystemFontProvider.java:246) I saw on IBM Redbook https://de.scribd.com/document/62554258/IBM-AIX-Version-7-1-Differences-Guide pag 378 Tab 11.1 that it is a TimesNewRomanWT with Localization simplified Chinese... I searched in your mailing list but I found nothing. Do you heve some tip? I'm not using chinese at all :-) Thank you very much in advance Regards Fabio
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

