You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Matthew Van Horn <ho...@accesstech.com> on 2002/10/22 10:21:09 UTC

Font Support OS X?

I would like to add support for some of the Mac fonts I need, according  
to the following:
=========
Unix:
java -cp  
build/fop.jar:lib/xercesImpl-2.0.1.jar:lib/xml-apis.jar:lib/xalan- 
2.3.1.jar:lib/batik.jar org.apache.fop.fonts.apps.PFMReader pfm-file  
xml-file

Edit conf/userconfig.xml and add entries for the font if the fonts  
section, ie:

<font metrics-file="cyberbit.xml" kerning="yes"  
embed-file="C:\WINNT\Fonts\Cyberbit.ttf">
   <font-triplet name="Cyberbit" style="normal" weight="normal">
</font>

start fop with -c conf/userconfig.xml
=========

but I am at a loss for how to get a PFM file for the Mac fonts. Does  
anyone know how to do this? (I have a Linux machine at home I can use,  
and also access to a Win2k machine if that helps) I don't have the same  
font on my other machines, though.

Thanks,
Matthew Van Horn