Skip to main content

Interface: TextWithFontCustomization

A translated string with custom font information to be applied only to this string.

Properties

additionalFontName?

optional additionalFontName: string | string[]

Font name(s) to add to the locale's font name(s) when displaying text.

Defined in

Translation.ts:156


fontSize?

optional fontSize: number

Font size to use when displaying the text.

Defined in

Translation.ts:154


overrideFontName?

optional overrideFontName: string | string[]

Font name(s) to use in place of the locale's font name(s) when displaying text. Use default to indicate that the game's default font should be used instead of the locale's font names(s)

Defined in

Translation.ts:160


text

text: string

The translated string.

Defined in

Translation.ts:152