Why don't you make your life easier and upgrade to Apache FOP 0.95 and use the "directory" tag to automatically register your fonts in FOP? http://xmlgraphics.apache.org/fop/0.95/fonts.html#basics No more XML font metric files and font base URL.
Just: <directory>C:\Program Files\fop\fonts_lea</directory> (not possible with 0.20.5) Otherwise, I'd replace all the backslashes with slashes in your file URL. URLs use forward slashes. Only Windows file paths use backslashes. Not that this is likely the problem here but who knows. file:///C:/Program%20Files/fop/fonts_lea On 06.08.2008 11:06:49 lmhelp wrote: > > Thank you again for your answer. > > > Awfully weird, though. > Yes... > > About the double quotes > ----------------------- > You are right, if I copy the following string as an URL in my browser, > file:///C:\"Program Files"\fop\fonts_lea, > the directory is not found. > > Whereas if I use file:///C:\Program Files\fop\fonts_lea > it is escaped to file:///C:\Program%20Files\fop\fonts_lea > and the directory is properly found. > > So I deleted the double quotes, thanks. > > About the trailing backslash > ---------------------------- > I added one. > This is now what it looks like: > <value>file:///C:\Program Files\fop\fonts_lea\</value> > > Unfortunately, it is still failing with the same error message. > > Fop -d command line option > -------------------------- > So, I tried: > # fop -c "C:\Program Files\fop\conf\userconfig.xml" -xml projectteam.xml \ > -xsl projectteam2fo.xsl -pdf projectteam.pdf -d > but no more clues appear, snif! > > BTW, can you tell me what "IIC" means? > > Thank you for your concern. > > -- > Lmhelp > -- > View this message in context: > http://www.nabble.com/FOP---FONTS---expl.-verdana-tp18836748p18847106.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
