Skip to content

Font

Change the current fonttype used by SetText from now on.

Syntax

(1)

|font,fonttype|

(2)

|font,fonttype,lockcontrol|

Parameters

fonttype: int

The fonttype to set the current one to. This must be a valid fonttype or an exception will be thrown.

lockcontrol: lock | var

Set whether or not to honor fonttype overrides rules concerning the current languageid during Letter processing. A value of lock indicates to not respect them while any other value indicates to honor them. This can be toggled back and forth during the SetText call, but the default at the start of the SetText call is to honor these rules.

The default value is to not change this setting and keep using the current state of it.

Remarks

Normally, during the Setup phase, the font gets overridden to Uzura in Japanese and to ONEMobilePOP in Korean, but this command allows to override this behavior. It can even disregard it completely by placing this command at the start of the input string.

However, doing so would still allow Letter processing to override the fonttype to the same values under the same languages if in Dialogue mode while not processing a numberprompt. The lockcontrol allows to also override this which effectively mean that this command allows complete control over which fonttype to use regardless of the languageid.