
29 Dec
2008
29 Dec
'08
10:45 p.m.
check out the code in the file : \Inkscape\share\extensions\perspective.py, in particular the line that says: f,err = os.popen3('inkscape --query-%s --query-id=%s "%s"' % (query,id,file))[1:]
this was meant to retrieve the bounding box of a path, but it might work on text as well.
--
View this message in context: http://www.nabble.com/How-can-I-get-a-text-bounding-box-in-a-python-script--...
Sent from the Inkscape - Dev mailing list archive at Nabble.com.