mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-17 14:58:57 +00:00
getcharacters: use stringbuilder, set tag modfied when it was moved
This commit is contained in:
@@ -320,11 +320,11 @@ public final class DefineCompactedFont extends FontTag implements DrawableTag {
|
||||
@Override
|
||||
public String getCharacters(List<Tag> tags) {
|
||||
FontType ft = fonts.get(0);
|
||||
String ret = "";
|
||||
StringBuilder ret = new StringBuilder(ft.glyphInfo.size());
|
||||
for (GlyphInfoType gi : ft.glyphInfo) {
|
||||
ret += (char) gi.glyphCode;
|
||||
ret.append((char) gi.glyphCode);
|
||||
}
|
||||
return ret;
|
||||
return ret.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user