xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49736] Trailing whitespace in tspan elements breaks text-anchor alignment (only on Windows?)
Date Thu, 28 Apr 2011 10:53:39 GMT

--- Comment #3 from Christoffer Bruun <cdbruun@flyingpigs.dk> 2011-04-28 06:53:37 EDT
I have encountered this/similar problem while using FOP 1.0 to render a PDF
that included some svg figures included by fo:externalGraphic.

The PNG image rendered by PNGTranscoder on the same SVG input looks correct.

In my case it was not sufficient to remove whitespace between <tspan> ...
I also had to remove all white space between <text> and <tspan>


<text style="text-anchor: middle">

must be turned into

<text style="text-anchor: middle"><tspan>..</tspan><tspan>..</tspan></text>

in order to work

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

View raw message