From e422322650f9cb057937182987071438f9c79e84 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 30 Oct 2020 09:49:54 +0100 Subject: Add support for korean and all chinese characters --- include/Text.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/Text.hpp') 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 { -- cgit v1.2.3