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 ?
Hi, thanks for your answer, this is an exemple of the output log when i create a PDF on production mode:
<br />
INFO | jvm 1 | 2011/02/15 05:22:49 | version: PD4ML 370 Pro<br />
INFO | jvm 1 | 2011/02/15 05:22:49 | not yet in cache: java:fonts/pd4fonts.properties<br />
INFO | jvm 1 | 2011/02/15 05:22:49 | 'helvetica' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:49 | reject TTF lookup for: 'helvetica'<br />
INFO | jvm 1 | 2011/02/15 05:22:49 | 'aharoni' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:49 | reject TTF lookup for: 'aharoni'<br />
INFO | jvm 1 | 2011/02/15 05:22:49 | 'impact' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:49 | reject TTF lookup for: 'impact'<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | not yet in cache: file:/fonts//arialbd.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | /fonts/arialbd.ttf (No such file or directory)<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | can not find 'arial bold' at file:/fonts//arialbd.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'arial bold'<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | 'helvetica bold' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'helvetica bold'<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | 'verdana bold' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'verdana bold'<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | 'sans-serif bold' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'sans-serif bold'<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | not yet in cache: file:/fonts//arial.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | /fonts/arial.ttf (No such file or directory)<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | can not find 'arial' at file:/fonts//arial.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'arial'<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | 'verdana' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'verdana'<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | 'sans-serif' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'sans-serif'<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | not yet in cache: file:/fonts//ariali.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | /fonts/ariali.ttf (No such file or directory)<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | can not find 'arial italic' at file:/fonts//ariali.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | reject TTF lookup for: 'arial italic'<br />
INFO | jvm 1 | 2011/02/15 05:22:50 | 'helvetica italic' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'helvetica italic'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | 'verdana italic' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'verdana italic'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | 'sans-serif italic' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'sans-serif italic'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | not yet in cache: file:/fonts//cour.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | /fonts/cour.ttf (No such file or directory)<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | can not find 'courier new' at file:/fonts//cour.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'courier new'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | 'monospace' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'monospace'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | not yet in cache: file:/fonts//courbd.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | /fonts/courbd.ttf (No such file or directory)<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | can not find 'courier new bold' at file:/fonts//courbd.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'courier new bold'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | not yet in cache: file:/fonts//arialbi.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | /fonts/arialbi.ttf (No such file or directory)<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | can not find 'arial bold italic' at file:/fonts//arialbi.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'arial bold italic'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | 'helvetica bold italic' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'helvetica bold italic'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | 'verdana bold italic' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'verdana bold italic'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | 'sans-serif bold italic' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'sans-serif bold italic'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | 'times italic' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'times italic'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | 'times' is not in pd4fonts.properties file<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'times'<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | not yet in cache: file:/fonts//couri.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | /fonts/couri.ttf (No such file or directory)<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | can not find 'courier new italic' at file:/fonts//couri.ttf<br />
INFO | jvm 1 | 2011/02/15 05:22:51 | reject TTF lookup for: 'courier new italic'<br />
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