From daa8942f41c76bdc159731ef03053de4be68ba72 Mon Sep 17 00:00:00 2001 From: Alex Drozd Date: Tue, 19 Dec 2023 23:13:42 +0100 Subject: [PATCH] Add note that a large value for outline_size is not recommended --- doc/classes/Label.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/Label.xml b/doc/classes/Label.xml index 94b1815dce3..77ead8fca0f 100644 --- a/doc/classes/Label.xml +++ b/doc/classes/Label.xml @@ -127,6 +127,7 @@ 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. + [b]Note:[/b] Using a value that is larger than half the font size is not recommended, as the font outline may fail to be fully closed in this case. The horizontal offset of the text's shadow.