summaryrefslogtreecommitdiff
path: root/Runtime/GUI/Font.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-03 13:08:39 +0800
committerchai <chaifix@163.com>2021-11-03 13:08:39 +0800
commit5cd2e2299f98065fa06c192df4dfb2c014b2b253 (patch)
tree9878536091d2ef6657a79026dcc7b45a8eb091dd /Runtime/GUI/Font.h
parentc10e0d92f46e5eaf25a69e1fafe5f4dbd8eaab9d (diff)
*font
Diffstat (limited to 'Runtime/GUI/Font.h')
-rw-r--r--Runtime/GUI/Font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Runtime/GUI/Font.h b/Runtime/GUI/Font.h
index e55e78f..8e55395 100644
--- a/Runtime/GUI/Font.h
+++ b/Runtime/GUI/Font.h
@@ -106,7 +106,7 @@ public:
const GlyphAtals* GetGlyphAtlas(int index);
// pre-bake
- void RenderCharacter(character::Codepoint codepoint, int pixelSize);
+ bool RenderCharacter(character::Codepoint codepoint, int pixelSize);
void RenderCharacters(character::Codepoint* codepoint, int n, int pixelSize);
void RenderCharacters(std::vector<character::Codepoint>& codepoint, int pixelSize);