TextServerManager

Inherits: Object

Manager for the font and complex text layout servers.

Description

TextServerManager is the API backend for loading, enumeration and switching TextServers.

Note: Switching text server at runtime is possible, but will invalidate all fonts and text buffers. Make sure to unload all controls, fonts, and themes before doing so.

Method Descriptions

Finds an interface by its name.


Returns the interface registered at a given index.


  • int get_interface_count ( ) const

Returns the number of interfaces currently registered.


  • int get_interface_features ( int index ) const

Returns text server supported features (binary OR).


  • String get_interface_name ( int index ) const

Returns the interface name registered at a given index.


  • Array get_interfaces ( ) const

Returns a list of available interfaces the index and name of each interface.


Returns the primary TextServer interface.


  • bool set_primary_interface ( int index )

Sets (and initializes it if required) interface registered at a given index as the primary. Invalidates all references to the fonts and text buffers.