If you mean 'find fonts packaged into the jar', that is exactly what I was
aiming to achieve here. If you include "<auto-detect/>" in your fop
configuration and have the jar (that you've built with this little ant
project) in the classpath, FOP will recognize (and embed!) the fonts that
are packaged in the jar.
Indeed in your situation this could well be an advantage. I hope it helps
you in your project.

Regards
Wim


Eric Douglas wrote:
> 
> This sounds awesome.  I run fop in client/server through webstart.
> Normally I want to transform on the server.  It's possible it may work
> better to transform on the client when we're using the client, such as
> for the FOP PreviewPanel class.  I use the classes directly with
> embedded code.  I'm passing in custom fonts using the EmbedFontInfo
> object with the Renderer setFontList method using hard coded server side
> paths.  It would save some trouble if the fonts could be found
> automatically in a jar on the classpath.  I've heard I could set them up
> that way and I would have to add them to a manifest with that
> "application/x-font" tag which adds a little extra complication.  Doing
> that automatically in the build would really help.  Now if you can just
> get it to find images packaged into the jar that way..
> 

-- 
View this message in context: 
http://old.nabble.com/Eclipse-project-with-ant-to-build-%22fonts.jar%22-tp30085367p30088248.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to