-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Asheesh Laroia wrote: > Right now, we have the formatted text in HTML format. I don't really want > to embed Mozilla, but is there a lightweight GTK HTML widget that I can > access from Python that is standard on the XO? Not that I'm aware of.
> If not, is there something > reasonable someone can suggest? 1. GTK text Labels and other text objects support an HTML-like markup language, providing the ability to set font, size, color, underline, justification, etc. 2. The AbiWord widgets are relatively easy to embed from python. You could make your text an Abiword document. 3. You could just use an SVG. For localization, switching out the text in an SVG is just as easy as changing the text in an HTML document. It's not like the text is converted to outlines before being saved to the file. GTK makes it trivial to display SVGs, as you're probably aware. It also allows you more control than options 1 and 2. - --Ben -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHV059UJT6e6HFtqQRAtm6AJ0ZZc1taQPziFhvrPQ+0kBlV3KqswCbBNgC hnonAL/4wcTKqv8bZBsH6Ck= =0nzD -----END PGP SIGNATURE----- _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel