Hello Benoit, check your Fontbase-Element. The leading dot is for sure a problem.
<fontbase>.D:\dctm\tomcat\webapps\kmdoc\stylesheets\pdf\userconfig\fon t</fontbase> Maybe thats it. I prefer using relative paths. But thats not the best for every situation. Greetings, Joachim On 29 Mar 2006 at 14:46, Benoit THIERRY wrote: > Hello everybody, > > I manage to find the reason why my font was not found : > > - I was still using the xml format of the userconfig.xml file and not > fop.xconf one and I had just replaced the fonts part of fop.xconf by the > "0.20.5" userconfig.xml file's fonts part. > > Now, I don't have my error message anymore but this time, I have an error > message when I open the resulting pdf file saying that the 'Arial' font > cannot be found or can not be created. So now, I don't have # characters > replacing greek characters but nothing at all. > > You can find my fop.xconf file attached. > > I tried the various TTFReader options to generate xml font files including > '-enc ansi' but I still have the same problem. > > Any idea ? > > Thanks in advance! > > -----Message d'origine----- > De : Jeremias Maerki [mailto:[EMAIL PROTECTED] > Envoyé : mardi 28 mars 2006 18:54 > À : [email protected] > Objet : Re: Unicode or font problem using Fop Trunk > > > On 28.03.2006 16:22:39 Benoit THIERRY wrote: > > Hi, > > Concerning my font problem (using jdk1.5 and fop trunk but I think it's the > > same problem using 0.91beta): > > > > My error message : > > Font 'Arial,normal,400' not found. Substituting with default font. > > Is that the only error message? > > > > > Here is a part of what I have in fop.xconf for the fonts section : > > > > <fonts> > > <!--ARIAL NORMAL NORMAL--> > > <font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf"> > > <font-triplet name="Arial" style="normal" weight="normal"/> > > <font-triplet name="ArialMT" style="normal" weight="normal"/> > > </font> > > Hmm, this seems right but without the larger context (i.e. seeing the > whole file) I cannot be sure. > > > > Here is a part of my fo file : > > > > <fo:block font-weight="normal" font-family="Arial" font-size="22pt" > > text-align="center">Î ÏοεÏEURιλεγμÎνη Î"ιαμÏOEÏÏ+Ïo/ooÏfη > > ΣÏ"αθμÏZν</fo:block> > > > > I don't know if that can help you. > > > > Thanks in advance. > > > > For information, what has changed from version 0.20.5 and 0.91beta on > > configuration format ? > > You can see for yourself: > 0.20.5: > http://xmlgraphics.apache.org/fop/0.20.5/configuration.html > http://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-0_20_5/conf/userconfig.xml > > 0.91beta: > http://xmlgraphics.apache.org/fop/0.91/configuration.html > http://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-0_91-beta/conf/fop.xconf > > > Jeremias Maerki > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
