On Tuesday 15 August 2006 19:41, Peter Neu wrote: > Hello, > > I'm using fop in a web app. My metrics file is located in folder > which can be reached by adding /xml to the current url. > > How do put this in the userconfig.xml? I wrote it like this. But this > won't work. Any ideas? Userconfig.xml is in the same folder in the > web app. > > > <font metrics-url="http:///xml/ttfcm.xml" kerning="no" > embed-url="http:///xml/verdana.ttf"> > <font-triplet name="Verdana" style="normal" weight="bold"/> > </font> >
Pete, if you are using fop 0.92 or later try the font-base configuration option (see http://xmlgraphics.apache.org/fop/0.92/configuration.html) and remove the http:// prefix from the font-metrics URL. > Cheers, > Pete > Manuel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
