I'd like to create some multiline text.
Here was my best guess:
def multiline(c, s):
x,y = 0,0
for line in s.split('\n'):
tbox = text.text(x, y, line)
c.insert(tbox)
y -= tbox.bbox().height()
But I need the line space for the font
not the text height (which changes depending
on the characters used).
?
Simon.
--
Simon Burton, B.Sc.
Licensed PO Box 8066
ANU Canberra 2601
Australia
Ph. 61 02 6249 6940
http://arrowtheory.com
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user