cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <>
Subject Re: FOP, userconfig.xml and relative paths
Date Thu, 03 Jul 2003 17:24:52 GMT
Perry Molendijk wrote:
> BlankDoes anyone know what the correct way is to use relative paths when
> trying to embed fonts for use by FOP.
>    <font metrics-file="WEB-INF/fop-fonts/arial.xml" kerning="yes"
> embed-file="WEB-INF/fop-fonts/arial.ttf">

Older FOP releases as included with C2.0.4, metrics-file is an
URL which won't work reliably if a relative URL is supplied
(depends on unspecified library behaviour), and embed-file is a
real filename with will be resolved against the CWD of the JVM

You can get the most recent FOP release and drop the jar into your
WEB-INF/lib. It will resolve relative paths againts the fontBaseDir
configuration setting, or if this is not set, baseDir.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message