I've made a first super-messy attempt at introducing a pango based texxt
system in shoebot, here are my first results

http://www.hv-a.com/shoebot/images/pango_1.jpg

it seems it can be done, but up to now it's still a mess, the text class
main part is using pango, but it has still to be integrated in the main
framework of bot.canvas (the text you see is rendered directly in the
init part of the class).
i still have to see if the pangocairo context, that is referenced to
canvas cairo context, can be updated at rendering time in order to
acquire the canvas transformations...
then it will be a problem of adapting textpath function ...
a long way to go indeed, but i think not as hard as i feared. maybe for
0.3 ?

it's nice to see wrapped text anyway.

ciao, f.

btw. i started using SPE (stani's python editor, and i like it. bye bye
gedit)

-- 
architetto Francesco Fantoni
<HVA - Hermanitos Verdes Architetti>
l.go san giacomo, 38
I-41100 modena (italia)
tel.& fax. +39.059.217554
skype:  hva_studio
e.mail: [EMAIL PROTECTED]
web:    http://www.hv-a.com

_______________________________________________
Shoebot-devel mailing list
[email protected]
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net

Reply via email to