[pygtk] Font manipulations

David G. Mackay mackay_d at bellsouth.net
Mon Feb 9 08:36:48 WST 2004


On Mon, 2004-02-09 at 06:40, Martin Grimme wrote:
> > Thanks.  It complained that the pango object has no SCALE attribute, but
> > plugging in 1024 instead made it work.
> 
> pango in PyGTK 2.0.0 does have the attribute. I have tested the code
> before I pasted it here. Maybe it's time to upgrade your PyGTK. :)

Yes.  My original test was on a laptop running RH9 which has version
1.99.  I'm about to upgrade to Fedora Core 2, so that should handle it.

I noticed that the font descriptor doesn't handle underline
information.  Is there another structure that applies as generally to
the widgets, or do I have to get to the pango attribute level?

Dave




More information about the pygtk mailing list