Updated to java 25 and lastest nx01 versions

This commit is contained in:
Willem Cazander 2026-02-23 13:01:55 +01:00
parent 40b7107be2
commit 71213b3c22
23 changed files with 218 additions and 139 deletions

View file

@ -27,6 +27,7 @@
package love.distributedrebirth.unicode4d.draw;
import java.util.List;
import java.util.function.Function;
import imgui.ImColor;
@ -92,7 +93,10 @@ public class ImCharacter {
scale = scale * scaleOffset;
ImGlyphPathCommand first = null;
ImGlyphPathCommand prev = null;
for (ImGlyphPathCommand cmd: drawChar.getGlyphPath().getPath()) {
List<ImGlyphPathCommand> cmds = drawChar.getGlyphPath().getPath();
int cmdSize = cmds.size();
for (int i = 0; i < cmdSize; i++) {
ImGlyphPathCommand cmd = cmds.get(i);
if (cmd.isImGlyphMoveTo()) {
first = cmd;
prev = cmd;