Rendering an SVG file which includes text which is both filled and stroked results in the stroked part of the text appearing to the right of the original (giving a ghosting appearance). The problem appears to reside in svg_cairo.c (I'm using libsvg-cairo-0.1.6). I added a cairo_move_to call prior to the cairo_text_path call: cairo_move_to(svg_cairo->cr,x,y); cairo_text_path(svg_cairo->crl,utf8); This corrects the problem.
svg-cairo is obsolete and unmaintained. Use librsvg2 instead.
commit 16c7587f2dcab5abbbe62505e64c1ac9441dfb8e Author: Behdad Esfahbod <behdad@behdad.org> Date: Fri Dec 8 15:40:59 2006 -0500 [slim] Define slim macros to dummy prototypes for non-gcc compilers (#9150)
(In reply to comment #2) > commit 16c7587f2dcab5abbbe62505e64c1ac9441dfb8e > Author: Behdad Esfahbod <behdad@behdad.org> > Date: Fri Dec 8 15:40:59 2006 -0500 > > [slim] Define slim macros to dummy prototypes for non-gcc compilers (#9150) > > Oops. Wasn't supposed to come here.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.