I don't think so. The gdk structure GdkFont does not save the font name. All you can really do is find out the height and width of a string with your font.
Mathew > Is there a way to find out the name of the font I use (e.g. Nimbus Sans I)? > I tried to call font_id but to no avail (and I am not even sure that tha > would have been the right call). > > TIA, > J.B. > > -- > GMX - Die Kommunikationsplattform im Internet. > http://www.gmx.net > > _______________________________________________ > pygtk mailing list [EMAIL PROTECTED] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/