xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bishop, Michael W. CONTR J9C880" <Michael.Bis...@je.jfcom.mil>
Subject RE: How to list available SVG text font-family values?
Date Mon, 07 Jan 2008 15:13:15 GMT
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:qian.007@googlemail.com] 
> Sent: Monday, January 07, 2008 5:44 AM
> To: batik-users@xmlgraphics.apache.org
> 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 <qian.007@googlemail.com> 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: batik-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: 
> batik-users-help@xmlgraphics.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message