Hi all,

 

Thanks for the updates. I have one myself.... which is straying slightly
off-topic, (and may potentially be becoming non-Batik so apologies if
so), but the two may be linked.

 

We have now noticed shifting in rendering of SVG (not the PNG export
specifically) when we generate over SSL and when we generate over plain
HTTP. 

 

The SVG is rendered correctly in precisely the dimensions and locations
specified by the values provided, so no problem there. But the
calculations as to where things should be located in the display are
returning different values depending on the protocol, that is, different
in HTTP and HTTPS. 

 

It appears the calculation of the height of text is somehow behaving
differently, though this could be a red herring, when retrieving the
bounding box. Apologies for being vague, if/when further details become
clear I will post them. In the meantime, if this rings any bells with
anyone, all help gratefully received.

 

Best regards,

Dylan

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Archie Cobbs
Sent: 15 October 2007 20:31
To: [email protected]
Subject: Re: Text shift during export to PNG

 

This is probably not the problem but... I've seen text "shifting" in the
past when I wasn't being careful about whitespace.

E.g., if the XML files are identical, but one has more or less
whitespace inside a <text> tag, then the text can shift because of the
extra space. 

On 10/15/07, Greg <[EMAIL PROTECTED]> wrote:

Same fonts are used on server. I have tried this on PC and Linux. The
same shifting occurs on both. I have also tried different fonts with the
same shifting.

Greg



Guillaume Rosauro wrote: 

Are the same fonts installed on the servers? Maybe the problem could
come from this.





On 10/12/07, Dylan Browne < [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote: 

Hi Greg,

Thanks for that, good to know we are not alone! ;) 

Does anyone have any more specific info about this... my concern is that
it is not consistent between machines/environments (though within a
single machine/environment it is consistent).

Grateful for any help, 

Dylan.

-----Original Message-----
From: Greg [mailto:[EMAIL PROTECTED]
Sent: 11 October 2007 19:13
To: [email protected]
Subject: Re: Text shift during export to PNG

I seem to have this problem as well. It seems to show up differently at
different locations on the screen for me. It looks as if it is a 
positional rounding issue for text.
scooter wrote:
> Hi all,
>
> I have come across a strange problem when exporting an SVGDocument to
PNG
> using the Batik PNGTranscoder.
>
> In general it works well, but on one particular server (the 
application is
> deployed on three test servers) all the Text content of the Document
is
> shifted upwards. The amount of movement seems to share some
relationship
> with the font size. For example, smaller text is moved less than 
larger
> text.
>
> I am not sure where to start looking for the cause of this problem.
Clearly
> there is something different in the environment of the server in
question,
> but am not sure what that could be. 
>
> (Will post screenshots if that helps?)
>
> Any tips gratefully received as ever,
>
> Regards, Dylan
>
>
>


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

 






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







-- 
Archie L. Cobbs
CTO, Awarix, Inc.
http://www.awarix.com 

Reply via email to