mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Document MDSF font outlines may require msdf_pixel_range adjustments
This commit is contained in:
@@ -76,6 +76,7 @@
|
||||
</theme_item>
|
||||
<theme_item name="outline_size" data_type="constant" type="int" default="0">
|
||||
The size of the text outline.
|
||||
[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="underline_spacing" data_type="constant" type="int" default="2">
|
||||
The vertical space between the baseline of text and the underline.
|
||||
|
||||
Reference in New Issue
Block a user