API Reference for Enthought Tool Suite 3.2.0

On import, the FontManager creates a dictionary of TrueType fonts based on the font properties: name, style, variant, weight, stretch, and size. The findfont() method searches this dictionary for a font file name that exactly matches the font properties of the specified text. If none is found, a default font is returned. By updating the dictionary with the properties of the found font, the font dictionary can act like a font cache.

Method summary

Methods

© Copyright 2002-2009 Enthought, Inc.