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 Jim Urban <ju...@parkcitysolutions.com> on 2002/04/24 19:21:54 UTC
Using Options With Enbedding
I understand (I think, I hope) how to add fonts to FOP. I understand the
concept of using an Options object to load the userconfig.xml file. Where I
get lost is, where in FopServlet does the Options object come in to play?
In other words, how do I pass my Options object to FOP so my fonts can be
used?
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: Using Options With Enbedding
Posted by "David B. Bitton" <da...@codenoevil.com>.
For my SOAP class, I instantiate the Options object in the class
constructor. That way, for each call to the class, Options is already set,
and good to go. You can see when it gets created if you set your log level
to DEBUG. You'll see:
...
DEBUG 10191 [fop ] (): reading user configuration file
...
or something very similiar This is generated by the Options object.
--
David B. Bitton
david@codenoevil.com
www.codenoevil.com
Code Made Fresh DailyT
----- Original Message -----
From: "Jeremias Maerki" <je...@outline.ch>
To: <fo...@xml.apache.org>; <ju...@parkcitysolutions.com>
Sent: Wednesday, April 24, 2002 4:18 PM
Subject: Re: Using Options With Enbedding
> You don't have to. It does some magic in the background. "static" is the
> keyword. :-)
>
> On 24.04.2002 19:21:54 Jim Urban wrote:
> > I understand (I think, I hope) how to add fonts to FOP. I understand
the
> > concept of using an Options object to load the userconfig.xml file.
Where I
> > get lost is, where in FopServlet does the Options object come in to
play?
> > In other words, how do I pass my Options object to FOP so my fonts can
be
> > used?
> >
> > Thanks,
> > Jim
>
>
> Cheers,
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
> For additional commands, email: fop-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: Using Options With Enbedding
Posted by Jeremias Maerki <je...@outline.ch>.
You don't have to. It does some magic in the background. "static" is the
keyword. :-)
On 24.04.2002 19:21:54 Jim Urban wrote:
> I understand (I think, I hope) how to add fonts to FOP. I understand the
> concept of using an Options object to load the userconfig.xml file. Where I
> get lost is, where in FopServlet does the Options object come in to play?
> In other words, how do I pass my Options object to FOP so my fonts can be
> used?
>
> Thanks,
> Jim
Cheers,
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org