Hm, is this possible? When fop reads the userconfig.xml, where is the base
directory? The application runs in tomcat so I don't know where to put the
base dir. 

File system looks like this


ROOT
|----WEB-INF
|        |--------classes
|
|----XML
       |------- userconfig.xml
       |------- verdana.ttf
       |------- ttfcm.xml




 

> -----Ursprüngliche Nachricht-----
> Von: Andreas L Delmelle [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 1. September 2006 10:57
> An: [email protected]
> Betreff: Re: AW: Setting configuration of fonts in java code?
> 
> On Sep 1, 2006, at 10:49, Peter Neu wrote:
> 
> Hi,
> 
> > I'm working my way through the src code of FOP in order to find a way
> > to configure the font setup in the java code. But this seems rather
> > difficult. The org.apache.fop.configuration.FontInfo object gives
> > me the
> > possibility to insert the font names and stuff but I cannot insert the
> > metric file directly because only the path is taken there.
> 
> Re-reading your original problem: wouldn't the solution be to use
> relative URIs? If you can make sure the relative locations are the
> same on both platforms, then only the fontBaseDir would have to be
> defined separately --which seems much easier...
> 
> HTH!
> 
> Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to