Document MDSF font outlines may require msdf_pixel_range adjustments

This commit is contained in:
Hugo Locurcio 2022-12-19 17:15:44 +01:00
parent d34594179a
commit fcf54cabba
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C
20 changed files with 27 additions and 6 deletions

View file

@ -75,6 +75,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="font" data_type="font" type="Font">
[Font] of the [MenuButton]'s text.