Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

TextServerManager

Inherits: Object

A singleton for managing TextServer implementations.

Description

TextServerManager is the API backend for loading, enumerating, 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.

Methods

void

add_interface ( TextServer interface )

TextServer

find_interface ( String name ) const

TextServer

get_interface ( int idx ) const

int

get_interface_count ( ) const

Dictionary[]

get_interfaces ( ) const

TextServer

get_primary_interface ( ) const

void

remove_interface ( TextServer interface )

void

set_primary_interface ( TextServer index )


Signals

interface_added ( StringName interface_name )

Emitted when a new interface has been added.


interface_removed ( StringName interface_name )

Emitted when an interface is removed.


Method Descriptions

void add_interface ( TextServer interface )

Registers a TextServer interface.


Te