summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-17 18:43:05 +0200
committerGitHub <noreply@github.com>2020-04-17 18:43:05 +0200
commitd817be92c2d9edce842ab37ab13117743f8a3bee (patch)
tree995d080b6a1175e1dd5841eb2e7f7029103faebb /doc/classes
parent21894e42a18ac8a9f8a374f03c22426e64f81f92 (diff)
parent46b8e108e29676f47fe012e229ab0656ead5aaa4 (diff)
downloadredot-engine-d817be92c2d9edce842ab37ab13117743f8a3bee.tar.gz
Merge pull request #37963 from Calinou/doc-dynamicfont-limitations
Document DynamicFont limitations and a possible workaround
Diffstat (limited to 'doc/classes')
-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>