<font metrics-file="complete Path for the verdana.xml file" kerning="yes"
embed-file="HERE MUST BE COMPLETE PATH TO verdana.ttf">

i use this

 <font metrics-file="c:\fonts\verdana.ttf.xml" kerning="yes"
embed-file="c:\fonts\verdana.ttf">
    <font-triplet name="Verdana" style="normal" weight="normal"/>
 </font>


-----Original Message-----
From: Raúl Carazo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 27, 2001 10:22 AM
To: [EMAIL PROTECTED]
Subject: RE: Fonts


But I'm using it from a servlet. And I do call to the userconfig file. This
file contains a line like this:
<font metrics-file="complete Path for the verdana.xml file" kerning="yes"
embed-file="">
   <font-triplet name="Verdana" style="normal" weight="normal"/>
  </font>


----- Original Message -----
From: Buchtík, Michal <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 27, 2001 10:26 AM
Subject: RE: Fonts


You must run

Fop -c conf/userconfig.xml

in userconfig.xml you must define Verdana font

see http://xml.apache.org/fop/fonts.html

-----Original Message-----
From: Raúl Carazo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 26, 2001 4:47 PM
To: FOP
Subject: Fonts


Hi everyone upthere!!!!

    I'm trying to change the fonts in a pdf report. I have made the
xml-report and I have its xsl file for formatting it on this way:

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
xmlns:fo="http://www.w3.org/1999/XSL/Format";>
<xsl:attribute-set name="styleParam">
<xsl:attribute name="font-size">10pt</xsl:attribute>
<xsl:attribute name="font-family">"Verdana"</xsl:attribute>
<xsl:attribute name="font-style"/>
</xsl:attribute-set>
</xsl:stylesheet>
But I can't change the font (it appears as TimesNewRoman!!).

    Where is my mistake (obviously, it HAS to be a mistake... I hope!)


    Thx

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to