Switch to component

Namespace: TMPro


A script interface for the TMP_FontAsset class.

See Also: TMP_FontAsset class.

Note: In previous releases, this class was named TextMeshProFont.


fontInfo Contains information specific to the font asset such as the name of the font, point size, line height, underline position, etc. (Read-only)
atlas The texture which contains the characters for the font.
material The default material to which the texture atlas was already assigned.
characterDictionary Dictionary containing information about each character contained in the font asset. (Read-only)
kerningDictionary Dictionary containing information about the kerning pairs contained in the font asset. (Read-only)
kerningInfo The kerning table for the font asset. (Read-only)