暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

RichTextFontWeight.md 1.1KB

Font weight

Use the <font-weight> tag to switch between the font weights available for the current Font Asset.

You specify the weight using its numeric value, for example 400 for normal, 700 for bold, and so on.

You can only apply font weights defined in the Font Asset properties. If you have not defined any font weights, you can still use values of 400 and 700 to apply the multipliers set in the Normal Weight and Bold Weight properties.

The closing </font-weight> tag reverts to the original font specified for the TextMesh Pro object.

Example:

<font-weight="100">Thin</font-weight>
<font-weight="200">Extra-Light</font-weight>
<font-weight="300">Light</font-weight>
<font-weight="400">Regular</font-weight>
<font-weight="500">Medium</font-weight>
<font-weight="600">Semi-Bold</font-weight>
<font-weight="700">Bold</font-weight>
<font-weight="800">Heavy</font-weight>
<font-weight="900">Black</font-weight>

Example image
Font weights