You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by John Smith <jo...@onebox.com> on 2001/04/29 23:16:54 UTC
custom fonts in embed apps?
Hello,
Is it possible to use MSGothic in a servlet or any app that embeds FOP?
In order to embed this font I need to have FOP to use userconfig.xml
which I can't do in Driver.java it seems.
Even if I can (using apps.Options I believe), do I need to make userconfig.xml
a standalone file, or can it be used from fop.jar?
How about the msgothic.xml? Will FOP read it off fop.jar?
Basically what I'm trying to do is to have a server app (servlet or not)
that generates an FO tree, then gets FOP to transform it to PDF and serves
the PDf back to the browser.
If the server locale is Japanese, the text will be in Japanese and I
need to use the appropriate font. If the server locale is English, I
don't want any special fonts to be used.
I know how to make the FO tree references the "Japanese font" when necessary,
but I don't know how to tell FOP to use that special font, when FOP is
embedded.
Is this possible at this point? Thanks for your help.
Joe.
__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org