XTMP is a simple BepInEx plugin to add fallback fonts to TextMeshPro.
- Create a font atlas using Unity's Font Asset Creator.
- Pack single or multiple assets into one file using AssetBundles.
- Place the bundle file in the
BepInEx/plugins/XTMP/bundlesfolder and create aninifile with the same name as the bundle. - Configure the fallback fonts in the
inifile using the syntax below. (This uses a syntax similar to INI, but does not support full INI syntax.)
# If no section is defined, the global table in TMP_Settings is used.
NeoDunggeunmo SDF
# Use a section to specify the name of the font you want to replace.
[Retro GamingPix]
NeoDunggeunmo
[Retro Gaming SDF]
# If multiple fonts are listed, they are used sequentially.
NeoDunggeunmo SDF
NeoDunggeunmo