Please don't cross-post to fop-dev. All FOP developers are supposed to
listen into the fop-user mailing list.

Your approach should work because you can initialize the Options
instance not only from a java.io.File but also from a
java.io.InputStream. Just try it.

On 07.02.2005 02:11:31 Manoj_Nair wrote:
> As you might know I have successfully got the Japanese fonts to be
> displayed on PDF  by using the userconfig.xml file to load the
> MSGOTHIC.TTF fonts. In this case I was running a servlet which used FOP
> to convert the XML file on the webserver ( weblogic) to PDF and then
> open it using acrobat.
> 
> I want to do the same thing within an applet. A few months back I could
> use FOP within an applet to convert XML residing on the server to PDF
> and then send  the resulting PDF to the printqueue on the clients
> default printer. This works perfectly. 
> 
> Now my question is I want FOP within the applet to recognize Japanese
> character sets. My approach is to have the userconfig.xml, msgothic.ttf
> and msgothic.xml ( font metrics ) files in the same jar file as the
> Applet itself. Would this work? 
> Can I just load the  userconfig.xml file from the jar file using the
> classloader and then call FOP ? I will be trying this next week and just
> wanted to know your opinion.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to