Oh, great. I just realized we all failed to see the obvious: Onur, you're trying to create a font metrics XML file from a TrueType font (.ttf) but you're calling the PFMReader to do that. You need to use the TTFReader! PFMReader is for the .pfm files of a Type 1 font.
On 31.08.2006 18:16:34 Onur Senturk wrote: > I looked at the FOP website and tried to figure things out. The first thing > i tried was to generate an xml file from a true type font(times new roman). > But i couldn't. How am i supposed to generate it? > > i coded something like this first: > > PFMReader df = *new* PFMReader(); ^^^^^^^^ > > df.constructFontXML(df.loadPFM > ("c:\\times.ttf"),"TimesNewRoman","","","c:\\times.xml"); ^^^^^^^^ <snip/> Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]