xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Måns Rullgård <...@inprovide.com>
Subject Re: Rasterizer Only Displays the Default Java Font
Date Sun, 16 Jan 2005 00:00:09 GMT
Dave <daustin78@gmail.com> writes:

> Good Evening,
>      I posted on this board a couple of days ago with a problem with
> fonts on linux.  I didn't realize till today but when I use Batik to
> convert svg to a jpg, it seems like it only uses one font. I tried a
> couple of fonts in the text tags, but it always uses the java default
> font. Has anyone ever seen this behavior before, or does anyone know
> how to fix this?

Try some CSS:

@font-face {
  font-family: "Baekmuk Dotum";
  src: url("dotum.ttf");

text {
  font-family: "Baekmuk Dotum";
  font-size: 14px;
  font-weight: bold;

Måns Rullgård

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

View raw message