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 Fotis Jannidis <fo...@lrz.uni-muenchen.de> on 2000/11/02 14:27:12 UTC

support for type 1 fonts

Jeremias Maerki has contributed support for type 1 fonts to the Fop 
project bases on the work by Alain Fagot. I tested it with good 
results. 

Here is a general outline of the necessary steps 

1) You have to generate from the pfm file of the font you want to use 
an xml font file with the org.apache.fop.fonts.apps.PFMReader 

2) You must change build.xml to include your new font files in the 
build process

3) You must patch org.apache.fop.render.pdf.FontSetup to make 
the information about the new fonts accessible

You can find Jeremias' very good and detailed description, how to 
compile your font into Fop, in docs/xml-docs/fop/fonts.xml (just use 
makedoc and read fop.pdf)

As soon as Avalon is used for configuration purposes we can do the 
next step and try to do without recompilation.

Many thanks to Jeremias and Alain

Fotis