wxFontEnumerator

wxFontEnumerator

Creation Parameters

wxFontEnumerator enumerates either all available fonts on the system or only the ones with given attributes - either only fixed-width (suited for use in programs such as terminal emulators and the like) or the fonts available in the given encoding.

Note: the routines for wxFontEnumerator create and destroy an enumeration object automatically, so there is no need to create your own.

Functions/Procedures
Supertopics

wxFontEnumerator

[func]
get_encodings
( sequence fontname )

Category: wxFontEnumerator

Returns a sequence of available encodings for the specified font face. Pass an empty sequence for fontname to get all available encodings.


wxFontEnumerator

[func]
get_facenames
( sequence params )

Category: wxFontEnumerator

Returns a sequence of font face names available. If params is empty, then all available fonts are returned. Otherwise, params should be a one or two element sequence:


wxFontEnumerator

[func]
get_facesizes
( object params )

Category: wxFontEnumerator

Returns a sequence containing a sequence of font face names and a corresponding sequence holding the sizes. Note that under GTK, the sizes will be empty unless the font is a bitmap font.