You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by th...@kodak.com on 2008/02/06 02:22:31 UTC

Re: Font problem: Font family / Font faces

Hi Hans,

news <ne...@ger.gmane.org> wrote on 01/15/2008 03:09:41 AM:

> In my Java application I use the font "Frutiger LT 45 Light". Now I want 
to 
> render my graphic with SVGGraphics2D, but in the SVG there is the wrong 
> font. As font-family is "Frutiger LT" in my SVG. But I need "Frutiger LT 
45 
> Light", this is the font name and not the font family.

   I think you want to use 
font-family='"Frutiger LT"' font-size="45" font-weight="light"

> What can I do?
> 
> I use Batik 1.4.x actually.

    I would also suggest upgrading to a more
recent version of Batik.