Fix function description for Font.get_char_size()
Removed description implying you can pass a second char in order to account for kerning
This commit is contained in:
parent
0a89888cba
commit
c9bc54637b
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@
|
||||||
<param index="0" name="char" type="int" />
|
<param index="0" name="char" type="int" />
|
||||||
<param index="1" name="font_size" type="int" />
|
<param index="1" name="font_size" type="int" />
|
||||||
<description>
|
<description>
|
||||||
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.
|
[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.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
|
Loading…
Reference in a new issue