xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Austin <dausti...@gmail.com>
Subject Re: Rasterizer Only Displays the Default Java Font
Date Mon, 17 Jan 2005 16:27:47 GMT
Actually, yes the src works. The trick was to put the TTF file in the
same dir as the SVG file, and to name the font-family something
without the spaces.

I am trying to do this both on windows and linux.  I am testing on
windows, then trying the same thing on linux.

Thanks for your help!


On Mon, 17 Jan 2005 09:38:15 -0500, Thomas DeWeese
<Thomas.DeWeese@kodak.com> wrote:
> Hi Dave,
> 
> Dave Austin wrote:
> 
> >       font-family: "Times Roman";
> 
>    I would change this to a name w/o a space to get things started.
> 'Foo' has always worked well for me ;)
> 
> >        src: url("C:\batik\times.ttf");
> 
>    So first off I thought your problems were on a linux Dist what
> are you doing using C:?  Second I would take Tonny's advice and
> move the ttf to the same directory as the svg file and use a relative
> path:
>        src: url(times.ttf)
> 
>    This should work!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-users-help@xml.apache.org
> 
>

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


Mime
View raw message