Merci,
but on Windows, I can't apply this code directly... well I don't see how actually.
I'm using JBuilder and TTFReader class... I'm trying to use writeFontXML or constructFontXML... working on it !
-----Original Message-----
From: Matthew L. Avizinis [mailto:[EMAIL PROTECTED]
Sent: 26 septembre, 2003 17:58
To: [EMAIL PROTECTED]
Subject: Re: Failed to read font metrics file

You need to use the FOP TTFReader to generate the metrics file.
Look at  http://xml.apache.org/fop/fonts.html#truetype-metrics
Au revoir,
Matthew L. Avizinis
GleimPublications,Inc.

Nadeau, Isabelle wrote:

in my Servlet

File userConfigFile = new File("c:\\fop-0.20.5\\conf\\userconfig.xml");
Options options = new Options(userConfigFile);


in c:/fop-0.20.5/conf/userconfig.xml

<fonts>
 <font metrics-file="file:///c:/fop-0.20.5/conf/arial.xml" kerning="yes" embed-file="c:\WINNT\Fonts\ARIAL.TTF">
    <font-triplet name="Arial" style="normal" weight="normal"/>
 </font>
<fonts>

=

[ERROR] Failed to read font metrics file file:/c:/fop-0.20.5/conf/arial.xml: c:\fop-0.20.5\conf\arial.xml (The system cannot find the file specified)



Am I suppose to write arial.xml file ? Is yes, what it contains ? Or can I find one somewhere ?

Thank you for your help !

Isabel

_________________________________________________________________
This message contains information that may be privileged or confidential and is the property of the Cap Gemini/Ernst & Young Group.  It is intended only for the person to whom it is addressed.  If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
_________________________________________________________________
        

Reply via email to