Re: [cairo] cairo-pdf glyph positioning bug with librsvg
- From: "Dominic Lachowicz" <domlachowicz gmail com>
- To: "Behdad Esfahbod" <behdad behdad org>
- Cc: cairo cairographics org, mavos mavos net, Adrian Johnson <ajohnson redneon com>, Carl Worth <cworth cworth org>, gtk-i18n-list <gtk-i18n-list gnome org>
- Subject: Re: [cairo] cairo-pdf glyph positioning bug with librsvg
- Date: Wed, 20 Feb 2008 16:14:26 -0000
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
PangoLayout.
If you wouldn't mind trying it out, I'd appreciate it. I think that
this bug is fixed now.
Cheers,
Dom
On Wed, Feb 20, 2008 at 10:17 AM, Dominic Lachowicz
<domlachowicz 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!
> Dom
>
--
Counting bodies like sheep to the rhythm of the war drums.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]