You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this commit, various bugs and issues were addressed in several different files. This includes removing superfluous conditionals, optimizing string formatting and implementing proper UTF-8 handling in text encoding. As part of this commit, redundant and repetitive function calls were also simplified for performance improvement, and some unclear variable names were changed to enhance readability. The changes were largely focused on streamlining the code for better optimization and understanding. Necessary adjustments were made for correct handling of tree node states and input disable frames in windows. Additionally, a potential bug concerning text display end in renderHelpers.kt was fixed.
"CJK text will only appear if the font was loaded with the appropriate CJK character ranges."+
685
687
"Call io.Fonts->AddFontFromFileTTF() manually to load extra character ranges."+
686
688
"Read docs/FONTS.txt for details.")
687
-
text("Hiragana: \u304b\u304d\u304f\u3051\u3053 (kakikukeko)") // Normally we would use u8"blah blah" with the proper characters directly in the string.
688
-
text("Kanjis: \u65e5\u672c\u8a9e (nihongo)")
689
+
text("Hiragana: ${utf8(0xe3, 0x81, 0x8b, 0xe3, 0x81, 0x8d, 0xe3, 0x81, 0x8f, 0xe3, 0x81, 0x91, 0xe3, 0x81, 0x93)} (kakikukeko)") // Normally we would use u8"blah blah" with the proper characters directly in the string.
0 commit comments