Thank you Jeremias.

Hi everyone,

So, I've upgraded to fop-0.95.

I've added the following line to the ../fop-0.95/conf/fop.xconf file:
  <directory>C:/Program Files/fop-0.95/fonts_lea/</directory>
(Maybe this is not the right file to update... ?)

============================================
Here is the whole configuration file (fop.xconf) as it is now:
============================================
<?xml version="1.0"?>

<fop version="1.0">

  <base>.</base>
  
  <source-resolution>72</source-resolution>
  <target-resolution>72</target-resolution>
  
  <default-page-settings height="11in" width="8.26in"/>
  
  <renderers>
    <renderer mime="application/pdf">
      <filterList>
        <value>flate</value>
      </filterList>

      <fonts>
        <directory>C:/Program Files/fop-0.95/fonts_lea/</directory>
      </fonts>
    </renderer>

    <renderer mime="application/postscript">
    </renderer>

    <renderer mime="application/vnd.hp-PCL">
    </renderer>

    <renderer mime="image/svg+xml">
      <format type="paginated"/>
      <link value="true"/>
      <strokeText value="false"/>
    </renderer>

    <renderer mime="application/awt">
    </renderer>

    <renderer mime="image/png">
    </renderer>

    <renderer mime="image/tiff">
    </renderer>

    <renderer mime="text/xml">
    </renderer>

    <renderer mime="text/plain">
      <pageSize columns="80"/>
    </renderer>

  </renderers>

</fop>

The C:/Program Files/fop-0.95/fonts_lea/ directory contains the TTF file
verdana.ttf
which I copied from C:/WINDOWS/Fonts.

(Tell me if I am wrong:)
if your TTF file's name is "fontname.ttf" then the font name you have to use 
in the xsl-fo file is "fontname" (for example: <fo:block
font-family="fontname">)
to get it work.

Once having done that, I launched the following command:
# fop -c "C:\Program Files\fop-0.95\conf\fop.xconf" -xml projectteam.xml \
  -xsl projectteam2fo.xsl -pdf projectteam.pdf
and it worked.
But I had to put the -c option above...

See you.
-- 
View this message in context: 
http://www.nabble.com/FOP---FONTS---expl.-verdana-tp18836748p18849018.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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

Reply via email to