You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Raúl Carazo <rc...@bilbomatica.es> on 2001/12/26 16:46:44 UTC

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