aboutsummaryrefslogtreecommitdiff
path: root/include/Text.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-30 09:49:54 +0100
committerdec05eba <dec05eba@protonmail.com>2020-10-30 09:49:54 +0100
commite422322650f9cb057937182987071438f9c79e84 (patch)
treefab66e8a1e82585512f59891654c83d7e5a04260 /include/Text.hpp
parent259d830f06235e7bac25325bf355bcd5e126ac34 (diff)
Add support for korean and all chinese characters
Diffstat (limited to 'include/Text.hpp')
-rw-r--r--include/Text.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Text.hpp b/include/Text.hpp
index f24e79d..7ce7fa3 100644
--- a/include/Text.hpp
+++ b/include/Text.hpp
@@ -38,13 +38,13 @@ namespace QuickMedia
};
TextElement() {}
- TextElement(const StringViewUtf32 &_text, Type _type) : text(_text), type(_type), is_japanese(false) {}
+ TextElement(const StringViewUtf32 &_text, Type _type) : text(_text), type(_type), is_cjk(false) {}
StringViewUtf32 text;
sf::Vector2f position;
Type type;
//bool ownLine; // Currently only used for emoji, to make emoji bigger when it's the only thing on a line
- bool is_japanese;
+ bool is_cjk;
};
struct VertexRef {