[cairo] cairo-pdf glyph positioning bug with librsvg

Dominic Lachowicz domlachowicz at gmail.com
Wed Feb 20 07:17:42 PST 2008


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


More information about the cairo mailing list