Problems with Java1.4 and svg2png

2002-03-23 Thread C. Gaffga

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
[EMAIL PROTECTED]

> From: "Robert J. Lebowitz" <[EMAIL PROTECTED]>
> > 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" <[EMAIL PROTECTED]>
> >
> > > 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
> > > [EMAIL PROTECTED]
> > >
> > >
> > > 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:
> > > 
> > >> > text-rendering="optimizeLegibility">Test2
> > >
> > >   
> > >> stroke="black"
> > > stroke-width="0.1" shape-rendering="geometricPrecision"/>
> > >
> > >> > text-rendering="optimizeLegibility">frei
> > >
> > >> > stroke-width="0.1" shape-rendering="geometricPrecision"/>
> > >
> > >> > stroke-width="0.1" shape-rendering="geometricPrecision"/>
> > >
> > >   
> > >> > text-rendering="optimizeLegibility">© 2001 triplemind.com
> > > 
>



henryV-zoomed.png
Description: PNG image

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


Re: Problems with Java1.4 and svg2png

2002-03-21 Thread Robert J. Lebowitz

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
- Original Message -
From: "C. Gaffga" <[EMAIL PROTECTED]>
To: "Cocoon Users" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Cc: "Mathias" <[EMAIL PROTECTED]>
Sent: Thursday, March 21, 2002 2:00 PM
Subject: Problems with Java1.4 and svg2png


> 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
> [EMAIL PROTECTED]
>
>
> 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:
> 
>text-rendering="optimizeLegibility">Test2
>
>   
>stroke-width="0.1" shape-rendering="geometricPrecision"/>
>
>text-rendering="optimizeLegibility">frei
>
>stroke-width="0.1" shape-rendering="geometricPrecision"/>
>
>stroke-width="0.1" shape-rendering="geometricPrecision"/>
>
>   
>text-rendering="optimizeLegibility">© 2001 triplemind.com
> 
>
>
>






> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Problems with Java1.4 and svg2png

2002-03-21 Thread C. Gaffga

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
[EMAIL PROTECTED]


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:

  Test2

  
  

  frei

  

  

  
  © 2001 triplemind.com






calendar-avail.png
Description: PNG image

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>