summaryrefslogtreecommitdiff
path: root/doc/classes/Font.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-09-01 23:48:45 +0200
committerGitHub <noreply@github.com>2020-09-01 23:48:45 +0200
commitd70a17d5d37fd09b43882e7972f2ed93eb56b897 (patch)
treea4bd13ca46c62c362f43ca47e2aca8381b46505a /doc/classes/Font.xml
parent8e052e1a06942816de113bfc0834eef9f5fc67a2 (diff)
parent7735d8d0ce89d305ef5b45037220c7b240dec8f0 (diff)
Merge pull request #40408 from Calinou/doc-font-missing-character
Document missing character behavior when drawing text with fonts
Diffstat (limited to 'doc/classes/Font.xml')
-rw-r--r--doc/classes/Font.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/Font.xml b/doc/classes/Font.xml
index ce6a25e191..f49fbf0d2a 100644
--- a/doc/classes/Font.xml
+++ b/doc/classes/Font.xml
@@ -5,6 +5,8 @@
</brief_description>
<description>
Font contains a Unicode-compatible character set, as well as the ability to draw it with variable width, ascent, descent and kerning. For creating fonts from TTF files (or other font formats), see the editor support for fonts.
+ [b]Note:[/b] If a DynamicFont doesn't contain a character used in a string, the character in question will be replaced with codepoint [code]0xfffd[/code] if it's available in the DynamicFont. If this replacement character isn't available in the DynamicFont, the character will be hidden without displaying any replacement character in the string.
+ [b]Note:[/b] If a BitmapFont doesn't contain a character used in a string, the character in question will be hidden without displaying any replacement character in the string.
</description>
<tutorials>
</tutorials>