Skip to content

Commit

Permalink
Merge pull request #88444 from DaltonSW/master
Browse files Browse the repository at this point in the history
Fix function description for `Font.get_char_size()`
  • Loading branch information
akien-mga committed Feb 23, 2024
2 parents 12817f2 + c9bc546 commit 5b968af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/Font.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<param index="0" name="char" type="int" />
<param index="1" name="font_size" type="int" />
<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.
</description>
</method>
Expand Down

0 comments on commit 5b968af

Please sign in to comment.