If it's just about running from within Eclipse, you can modify the
"Working Directory" in the launch configuration in Eclipse to point at
the right directory.

BTW, FOP Trunk has a new feature that allows FOP to auto-detect fonts in
JAR files if you follow certain conventions described here:
http://svn.apache.org/viewvc?rev=602898&view=rev
(Website not updated, yet)

On 19.12.2007 10:16:04 Sem.Flamez wrote:
> 
> Hello,
> 
> We're trying to generate PDF/A files using fonts which are stored inside a
> library "test.jar".
> We try to register the fonts based on a relative directory-URL with the
> following configuration file:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <fop>
>   <base>.</base>
>   <font-base>.</font-base>
>   <renderers>
>     <renderer mime="application/pdf">
>       <fonts>
>         <directory>fonts</directory>
>       </fonts>
>     </renderer>
>   </renderers>
> </fop>
> 
> The structure of the test.jar library is:
> 
> test.jar
>      src
>           <!-- contains rendering stuff -->
>      config
>           config.xml
>      fonts
>           font.ttf
> 
> When we start Tomcat from within Eclipse, the base URL is resolved to the
> root directory of our Eclipse installation instead of the root of the
> test.jar library.
> 
> Does anyone have an idea what we're doing wrong?
> 
> Thanks.
> -- 
> View this message in context: 
> http://www.nabble.com/Registering-fonts%2C-stored-inside-a-library.-tp14413386p14413386.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]

Reply via email to