Skip to content

Commit

Permalink
Document DynamicFont limitations and a possible workaround
Browse files Browse the repository at this point in the history
This closes godotengine#30014.
  • Loading branch information
Calinou authored and antfitch committed Apr 19, 2020
1 parent 14053d7 commit ae4ee8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/classes/DynamicFont.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
dynamic_font.size = 64
$"Label".set("custom_fonts/font", dynamic_font)
[/codeblock]
[b]Note:[/b] DynamicFont doesn't support features such as right-to-left typesetting, ligatures, text shaping, variable fonts and optional font features yet. If you wish to "bake" an optional font feature into a TTF font file, you can use [url=https://fontforge.org/]FontForge[/url] to do so. In FontForge, use [b]File > Generate Fonts[/b], click [b]Options[/b], choose the desired features then generate the font.
</description>
<tutorials>
</tutorials>
Expand Down

0 comments on commit ae4ee8d

Please sign in to comment.