On Friday 28 Nov 2003 15:43, Pier Carteri wrote: > of object GnomePrintFont. For height info is more obscure; I'm using > this but I don't know if there is a better solution: > > font_height = font.get_ascender() + font.get_descender() > > where font is a GnomePrintFont.
font.get_size() works for me. Not sure if it's exactly right though, it may not deal with descenders very well. _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
