[cairo] cairo-pdf glyph positioning bug with librsvg
domlachowicz at gmail.com
Wed Feb 20 08:14:21 PST 2008
SVN HEAD librsvg now has a patch that coalesces the text inside of a
<text> or <tspan> node, so that it can be passed to a single
If you wouldn't mind trying it out, I'd appreciate it. I think that
this bug is fixed now.
On Wed, Feb 20, 2008 at 10:17 AM, Dominic Lachowicz
<domlachowicz at gmail.com> wrote:
> Hi Behdad,
> Sorry that it's taken me so long to reply. I've committed this patch
> to librsvg. I really appreciate it.
> > - librsvg apparently breaks the text upon seeing the first non-ASCII
> > text character. I have no idea why that is. I guess something to do
> > with XML parsing. This is why the bug looked so ridiculous, because the
> > text was being rendered as two PangoLayout's, so it looked like it's a
> > pango issue. The bug will not be completely fixed until this issue
> > exists.
> I think that this is because librsvg gets more than one set of
> character data from libxml2, and it fails to coalesce that into the
> same tspan. I'll have a look.
> Thanks again!
Counting bodies like sheep to the rhythm of the war drums.
More information about the cairo