Hi, Michael,
Yes, you are right. I think I need manually filter out the ones that
are not supported.

Do you know if there is a way to turn off the batik's runtime
exception catcher, so that my
try and catch statement can catch these exception and do something,
rather than batik's
default runtime exception catcher. Currently my try and catch
statement never able to catch
these org.w3c.dom.DOMException.

Thank you very much.
Qian


On Jan 7, 2008 3:13 PM, Bishop, Michael W. CONTR J9C880
<[EMAIL PROTECTED]> wrote:
> That's the list of fonts available to the system, not renderable in
> Batik.  In my experience, not all of them render properly.  I asked this
> question months ago; the short answer is that there's no easy way to
> tell which will render properly in Batik.
>
> Michael Bishop
>
>
> > -----Original Message-----
> > From: Qian Li [mailto:[EMAIL PROTECTED]
> > Sent: Monday, January 07, 2008 5:44 AM
> > To: [email protected]
> > Subject: Re: How to list available SVG text font-family values?
> >
> > Hi,
> >
> > I found the answer, just in case anyone need it later on.
> >
> > java.awt.GraphicsEnvironment env =
> > java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment();
> > String[] allFontFamilyNames = env.getAvailableFontFamilyNames();
> >
> > Thanks.
> >
> > Kind regards,
> > Qian
> >
> >
> > On 1/4/08, Qian Li <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > Does anyone know how to list available SVG text font-family values?
> > > Will be great if I can list all possible values in Java.
> > > Thank you very much in advance.
> > >
> > > Kind regards,
> > > Qian
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to