From c9bc54637b1d755ab0bef588996fafcd108ed1b4 Mon Sep 17 00:00:00 2001 From: Dalton Date: Sat, 17 Feb 2024 10:00:01 -0600 Subject: [PATCH] Fix function description for Font.get_char_size() Removed description implying you can pass a second char in order to account for kerning --- doc/classes/Font.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Font.xml b/doc/classes/Font.xml index f2bbb747b10..e979a0b875f 100644 --- a/doc/classes/Font.xml +++ b/doc/classes/Font.xml @@ -136,7 +136,7 @@ - Returns the size of a character, optionally taking kerning into account if the next character is provided. + Returns the size of a character. Does not take kerning into account. [b]Note:[/b] Do not use this function to calculate width of the string character by character, use [method get_string_size] or [TextLine] instead. The height returned is the font height (see also [method get_height]) and has no relation to the glyph height.