GNOME Bugzilla – Bug 168223
text rendering offset
Last modified: 2008-02-24 15:03:23 UTC
Please describe the problem: Not sure if this is a bug in librsvg or inkscape, but text rendering is clipped in the attached SVG. The font seems to be the right one though. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 37816 [details] notice the label clipping when rendered with librsvg
Created attachment 37817 [details] librsvg rendering
Created attachment 37818 [details] Inkscape rendering of the file.
Created attachment 58878 [details] [review] bug168223.diff Bit of a guess but it works. Would have to be tested with some more text-y SVGs. Not sure why text extents are calculated MIN(ink, logical) in the first place.
Patch approved. Nice catch, Rob!
commited
Patch causes side-effects, reverting, reopening
Looks fine with SVN trunk. Behdad did some work wrt. ink extents that probably fixed this.