cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C. Gaffga" <cgaf...@triplemind.com>
Subject Problems with Java1.4 and svg2png
Date Sat, 23 Mar 2002 12:02:21 GMT
Hi ,

I tryed that, but it doesn't solve my problem.
If you look to the first line of the attached picture (sample SVG from
coocon), you will see that I seem to be a problem with Anti-Aliasing. The
first letter "O" appers a second time 20 pixels to the right, a little bit
softer (see the zoomed file).

I am totaly confused about this effect. I hadn't that proble with JDK
1.3.0_03.
Does anybody know how to solve it or how can I disable anti-aliasing, that
would be a good workaround.

Thanks in advance
and sorry for posting attachements

Christoph Gaffga
cgaffga@triplemind.com

> From: "Robert J. Lebowitz" <lebowitz@finaltouch.com>
> > When I experimented with jdk 1.4, I would up grabbing the latest 1.5
batik
> > beta distribution and compiling "batik-all" and substituting that for
the
> > batik.jar file that came with cocoon 2.0.  It cleared up a lot of errors
I
> > was getting earlier.  Maybe this one will clear up too.
> >
> > Rob
> >
> > From: "C. Gaffga" <cgaffga@triplemind.com>
> >
> > > Hi,
> > >
> > > Since i upgraded my System I have Problems with the svg2png serializer
> in
> > > cocoon.
> > >
> > > I'm using Redhat 7.2, Java1.4, Tomcat 4.0.1, Cocoon 2.0.1
> > >
> > > When I serialize a SVG-file to PNG using the Batik libraries there are
> > some
> > > problems with rendering text. When I output a Text, saying "Test", and
> > > another text, say "Test2", it write "Test" correct, but it writes
"Test"
> > > under the output of "Test2". It's a little bit difficult to explain,
so
> I
> > > attached the Image.
> > >
> > > I tryed with a rebuild version of Batik agains JDK1.4, but it's still
> the
> > > same effect.
> > >
> > > Does anybody know, why this happens or if there are same problems
whith
> > > JDK1.4??
> > > How can I solve this??
> > >
> > > Thanks in advance
> > > Christoph Gaffga
> > > cgaffga@triplemind.com
> > >
> > >
> > > P.S.: Im using no XServer, only Xvfb or java
> > with -Djava.awt.headless=true,
> > > both has the same effect.
> > >
> > > P.P.S.: The SVG-File, I used for the attached Picture:
> > > <svg width="300" height="390">
> > >   <text x="50" y="100" font-size="16" fill="black"
> > > text-rendering="optimizeLegibility">Test2</text>
> > >
> > >   <!-- Legende -->
> > >   <rect x="3" y="379" width="8" height="8" fill="chartreuse"
> > stroke="black"
> > > stroke-width="0.1" shape-rendering="geometricPrecision"/>
> > >
> > >   <text x="13" y="387" font-size="9" fill="black"
> > > text-rendering="optimizeLegibility">frei</text>
> > >
> > >   <rect x="37" y="379" width="8" height="8" fill="tomato"
stroke="black"
> > > stroke-width="0.1" shape-rendering="geometricPrecision"/>
> > >
> > >   <rect x="85" y="379" width="8" height="8" fill="silver"
stroke="black"
> > > stroke-width="0.1" shape-rendering="geometricPrecision"/>
> > >
> > >   <!-- Copyright -->
> > >   <text x="196" y="387" font-size="9" fill="blue"
> > > text-rendering="optimizeLegibility">&#169; 2001 triplemind.com</text>
> > > </svg>
>

Mime
View raw message