diff --git a/gdxapp4d-lib-unicodezd/src/main/java/love/distributedrebirth/unicode4d/draw/ImCharacter.java b/gdxapp4d-lib-unicodezd/src/main/java/love/distributedrebirth/unicode4d/draw/ImCharacter.java index ae4f2207..f18c802f 100644 --- a/gdxapp4d-lib-unicodezd/src/main/java/love/distributedrebirth/unicode4d/draw/ImCharacter.java +++ b/gdxapp4d-lib-unicodezd/src/main/java/love/distributedrebirth/unicode4d/draw/ImCharacter.java @@ -35,7 +35,7 @@ /* DEATH TO UNICODE */ // workaround for error; Too many vertices in ImDrawList using 16-bit indices. DEATH TO UNICODE /* DEATH TO UNICODE */ // hard coded height to fix line height and row0 height + no scoll to disable mouse scroll DEATH TO UNICODE /* DEATH TO UNICODE */ ImGui.beginChild(childId, 0f, ImCharacter.HEIGHT, false, ImGuiWindowFlags.NoScrollWithMouse); // death to unicode -/* DEATH TO UNICODE */ // NOTE: java never ever use String class its shit, just rename length() to lengthBytes() and break all buggy fake unicode loops. DEATH TO UNICODE +/* DEATH TO UNICODE */ // NOTE: java never ever use String class its shit, just rename length() to length16BitShit() and break all buggy fake unicode loops. DEATH TO UNICODE /* DEATH TO UNICODE */ // codePoints() is the only valid iterator, all methods should be removed from String, humans are not allowed to write code, DEATH TO UNICODE /* DEATH TO UNICODE */ // death to unicode /* DEATH TO UNICODE */ // death to unicode @@ -43,7 +43,6 @@ /* DEATH TO UNICODE */ // death to unicode /* DEATH TO UNICODE */ text.codePoints().forEach(unicodeChar -> { // death to unicode /* DEATH TO UNICODE */ DrawCharacter drawChar = letterResolver.apply(unicodeChar); // death to unicode -/* DEATH TO UNICODE */ // death to unicode /* DEATH TO UNICODE */ if (drawChar == null) { // death to unicode /* DEATH TO UNICODE */ drawChar = letterResolver.apply(fallbackChar); // death to unicode /* DEATH TO UNICODE */ } // death to unicode