HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Deployment / Configuration issues › unix : fonts deployment ? › Re: Re: unix : fonts deployment ?
February 16, 2011 at 09:49
#28403
Hi, thanks for your answer, this is an exemple of the output log when i create a PDF on production mode:
INFO | jvm 1 | 2011/02/15 05:22:49 | version: PD4ML 370 Pro INFO | jvm 1 | 2011/02/15 05:22:49 | not yet in cache: java:fonts/pd4fonts.properties INFO | jvm 1 | 2011/02/15 05:22:49 | 'helvetica' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:49 | reject TTF lookup for: 'helvetica' INFO | jvm 1 | 2011/02/15 05:22:49 | 'aharoni' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:49 | reject TTF lookup for: 'aharoni' INFO | jvm 1 | 2011/02/15 05:22:49 | 'impact' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:49 | reject TTF lookup for: 'impact' INFO | jvm 1 | 2011/02/15 05:22:50 | not yet in cache: file:/fonts//arialbd.ttf INFO | jvm 1 | 2011/02/15 05:22:50 | /fonts/arialbd.ttf (No such file or directory) INFO | jvm 1 | 2011/02/15 05:22:50 | can not find 'arial bold' at file:/fonts//arialbd.ttf INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'arial bold' INFO | jvm 1 | 2011/02/15 05:22:50 | 'helvetica bold' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'helvetica bold' INFO | jvm 1 | 2011/02/15 05:22:50 | 'verdana bold' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'verdana bold' INFO | jvm 1 | 2011/02/15 05:22:50 | 'sans-serif bold' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'sans-serif bold' INFO | jvm 1 | 2011/02/15 05:22:50 | not yet in cache: file:/fonts//arial.ttf INFO | jvm 1 | 2011/02/15 05:22:50 | /fonts/arial.ttf (No such file or directory) INFO | jvm 1 | 2011/02/15 05:22:50 | can not find 'arial' at file:/fonts//arial.ttf INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'arial' INFO | jvm 1 | 2011/02/15 05:22:50 | 'verdana' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'verdana' INFO | jvm 1 | 2011/02/15 05:22:50 | 'sans-serif' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'sans-serif' INFO | jvm 1 | 2011/02/15 05:22:50 | not yet in cache: file:/fonts//ariali.ttf INFO | jvm 1 | 2011/02/15 05:22:50 | /fonts/ariali.ttf (No such file or directory) INFO | jvm 1 | 2011/02/15 05:22:50 | can not find 'arial italic' at file:/fonts//ariali.ttf INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'arial italic' INFO | jvm 1 | 2011/02/15 05:22:50 | 'helvetica italic' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'helvetica italic' INFO | jvm 1 | 2011/02/15 05:22:51 | 'verdana italic' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'verdana italic' INFO | jvm 1 | 2011/02/15 05:22:51 | 'sans-serif italic' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'sans-serif italic' INFO | jvm 1 | 2011/02/15 05:22:51 | not yet in cache: file:/fonts//cour.ttf INFO | jvm 1 | 2011/02/15 05:22:51 | /fonts/cour.ttf (No such file or directory) INFO | jvm 1 | 2011/02/15 05:22:51 | can not find 'courier new' at file:/fonts//cour.ttf INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'courier new' INFO | jvm 1 | 2011/02/15 05:22:51 | 'monospace' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'monospace' INFO | jvm 1 | 2011/02/15 05:22:51 | not yet in cache: file:/fonts//courbd.ttf INFO | jvm 1 | 2011/02/15 05:22:51 | /fonts/courbd.ttf (No such file or directory) INFO | jvm 1 | 2011/02/15 05:22:51 | can not find 'courier new bold' at file:/fonts//courbd.ttf INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'courier new bold' INFO | jvm 1 | 2011/02/15 05:22:51 | not yet in cache: file:/fonts//arialbi.ttf INFO | jvm 1 | 2011/02/15 05:22:51 | /fonts/arialbi.ttf (No such file or directory) INFO | jvm 1 | 2011/02/15 05:22:51 | can not find 'arial bold italic' at file:/fonts//arialbi.ttf INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'arial bold italic' INFO | jvm 1 | 2011/02/15 05:22:51 | 'helvetica bold italic' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'helvetica bold italic' INFO | jvm 1 | 2011/02/15 05:22:51 | 'verdana bold italic' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'verdana bold italic' INFO | jvm 1 | 2011/02/15 05:22:51 | 'sans-serif bold italic' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'sans-serif bold italic' INFO | jvm 1 | 2011/02/15 05:22:51 | 'times italic' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'times italic' INFO | jvm 1 | 2011/02/15 05:22:51 | 'times' is not in pd4fonts.properties file INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'times' INFO | jvm 1 | 2011/02/15 05:22:51 | not yet in cache: file:/fonts//couri.ttf INFO | jvm 1 | 2011/02/15 05:22:51 | /fonts/couri.ttf (No such file or directory) INFO | jvm 1 | 2011/02/15 05:22:51 | can not find 'courier new italic' at file:/fonts//couri.ttf INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'courier new italic'
as you can see he tries to load fonts but he doesn’t found anything. Do you think there is a path server side problem?
What is the mecanism used by pd4ml to get the font files ? Do you use a ClassLoader, an FileIntpuStream or something else ?
Also, it works correctly on our development machines (windows) but not on the production server (unix).
thanks in advance for your help,
John
