Skip to content

Commit

Permalink
Merge pull request #37963 from Calinou/doc-dynamicfont-limitations
Browse files Browse the repository at this point in the history
Document DynamicFont limitations and a possible workaround
  • Loading branch information
akien-mga authored Apr 17, 2020
2 parents 21894e4 + 46b8e10 commit d817be9
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 d817be9

Please sign in to comment.