summaryrefslogtreecommitdiff
path: root/doc/classes/Label.xml
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-12-19 17:15:44 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-12-19 17:17:45 +0100
commitfcf54cabba28b45797093eca9d308868e543f92d (patch)
tree5f4c5514c4ac9c704af5f706f8111d7a831b833b /doc/classes/Label.xml
parentd34594179a1e9f1ad5351b152f2ccfbd4b119c01 (diff)
Document MDSF font outlines may require `msdf_pixel_range` adjustments
Diffstat (limited to 'doc/classes/Label.xml')
-rw-r--r--doc/classes/Label.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Label.xml b/doc/classes/Label.xml
index cd87b4558f..1a8cbf0584 100644
--- a/doc/classes/Label.xml
+++ b/doc/classes/Label.xml
@@ -111,6 +111,7 @@
</theme_item>
<theme_item name="outline_size" data_type="constant" type="int" default="0">
Text outline size.
+ [b]Note:[/b] If using a font with [member FontFile.multichannel_signed_distance_field] enabled, its [member FontFile.msdf_pixel_range] must be set to at least [i]twice[/i] the value of [theme_item outline_size] for outline rendering to look correct. Otherwise, the outline may appear to be cut off earlier than intended.
</theme_item>
<theme_item name="shadow_offset_x" data_type="constant" type="int" default="1">
The horizontal offset of the text's shadow.