summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-04-17 16:09:25 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-04-17 16:11:14 +0200
commit46b8e108e29676f47fe012e229ab0656ead5aaa4 (patch)
treea92875e42a115a3333f5c13ea3c875614d997a52
parent32f95c2f8782f7e524310b4c040f86cb475fdab2 (diff)
Document DynamicFont limitations and a possible workaround
This closes #30014.
-rw-r--r--doc/classes/DynamicFont.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/DynamicFont.xml b/doc/classes/DynamicFont.xml
index 29e430b14d..11610fa523 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.
</description>
<tutorials>
</tutorials>