Overlaying text on an object using "Label" info

Discuss SVG code, accessible via the XML Editor.
[email protected]
Posts: 1
Joined: Sat Aug 22, 2009 2:38 am

Overlaying text on an object using "Label" info

Postby [email protected] » Sat Aug 22, 2009 2:50 am

I have svg file with mostly Rectangle, Path/Polygon objects. Each of these objects has been tagged with an Inkscape Label.
I am looking for an easy way to parse the svg, read the object and label and create a new text object (text coming from the Label). Ideally text should be centered at (x,y) that is the center of original object. Fixed font is OK.
Ant tips or tricks? Much appreciated.

User avatar
ottadini
Posts: 34
Joined: Thu Sep 24, 2009 4:27 pm
Location: Australia

Re: Overlaying text on an object using "Label" info

Postby ottadini » Wed Oct 14, 2009 5:41 pm

Sorry I don't have an answer to this one, just wanted to add my interest, as it's something I would find very useful.


Return to “SVG / XML Code”