xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Neu" <peter....@gmx.net>
Subject AW: AW: Setting configuration of fonts in java code?
Date Fri, 01 Sep 2006 09:27:12 GMT
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:a_l.delmelle@pandora.be]
> Gesendet: Freitag, 1. September 2006 10:57
> An: fop-users@xmlgraphics.apache.org
> 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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message