Table of Contents

wxFontEnumerator

include file: wxGraphics.e


Creation parameters: NONE

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.

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

  • func get_encodings( sequence fontname )   
  • func get_facenames( sequence params )     
     
    Parent Topics:
  • Classes
  • Graphics
  • wxFont


    Table of Contents

    [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.

    See Also: get_facenames



    Table of Contents

    [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:

    See Also: get_encodings