Menu

#23 SVG export convert text too low

open
nobody
None
5
2002-09-24
2002-09-24
No

Could you please comment on this Debian bug report by
Fabien Ninoles <fabien@hawkmoon.TZoNE.ORG> (cf.
http://bugs.debian.org/152969\):

When exporting text+graph in SVG, text appears too low
in the resulting file. You have to add an offset equal
to the distance between the top bounding rect and the
anchor y coordinate.

This represent a single line change in
/usr/lib/sketch-0.6.13/Plugins/Filters/svgsaver.py.

The patch is attached.

Discussion

  • Gregor Hoffleit

    Gregor Hoffleit - 2002-09-24

    Patch to Plugins/Filters/svgsaver.py

     
  • Bernhard Herzog

    Bernhard Herzog - 2002-10-17

    Logged In: YES
    user_id=2369

    I think Sketch does the right thing without the patch. Batik
    1.5 shows the text at the correct position.

    Sodipodi OTOH (I used version 0.24.1.0.20020325-1, the
    debian package :) ) shows the text at the wrong position.
    Without the patch the text is too low, with the patch it's
    too high.

    Unless I get a better argument that Sketch is wrong here, I
    won't do anything about it.

     

Log in to post a comment.