From 4e73fcc9591029c72877b26489672b02cec7f768 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 17 Apr 2020 16:09:25 +0200 Subject: [PATCH] Document DynamicFont limitations and a possible workaround This closes #30014. (cherry picked from commit 46b8e108e29676f47fe012e229ab0656ead5aaa4) --- doc/classes/DynamicFont.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/DynamicFont.xml b/doc/classes/DynamicFont.xml index a8d6232d5dd..659b9de3ad9 100644 --- a/doc/classes/DynamicFont.xml +++ b/doc/classes/DynamicFont.xml @@ -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.