cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: [C2] Degradation in Batik's text rendering
Date Fri, 01 Jun 2001 14:38:32 GMT

Berin Loritsch a écrit :
> Sylvain Wallez wrote:
> >
> > Hi all,
> >
> > Sorry not participating much in the beta release process, but I'm _very_
> > busy these days on a SVG app, and I noticed that Batik's text rendering
> > with the latest CVS has degraded from previous versions, at least from
> > C2-alpha5 : characters are anti-aliased too much and nearly unreadable
> > in small sizes. Just have a look at the SVG welcome page to see that.
> I think this had to do with the usage of Batik vs. Csiro packages.  Batik
> has a transparent background, which some browsers do not handle well
> (like Netscape 4.x).  One way around the transparent background issue is
> to explicitly put a filled rectangle with the proper background color behind
> the rest of your image.
C2-alpha5 already used Batik, but a pre-1.0 version, and placing a white
background in the SVG doesn't change anything.

> I don't know how to get Batik to control the antialiasing of fonts.  That
> might be a question for the Batik team to answer.
It's in the SVG spec : add text-rendering="optimizeSpeed" to the root
svg element (shape-rendering does the same for graphics). But this
renders heavily aliased text with latest C2 while C2-alpha5 is ok.

Anyway, thanks for helping.
Sylvain Wallez
Anyware Technologies -

To unsubscribe, e-mail:
For additional commands, email:

View raw message