Moved trit types

This commit is contained in:
Willem Cazander 2022-11-28 01:12:22 +01:00
parent c8d0f8bed8
commit 6642ce6fce
72 changed files with 328 additions and 2451 deletions

View file

@ -29,9 +29,9 @@ package love.distributedrebirth.unicode4d;
import java.util.List;
import love.distributedrebirth.numberxd.base2t.type.V036Teger;
import love.distributedrebirth.numberxd.base2t.type.V072Tong;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T002ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V036Teger;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V072Tong;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -54,7 +54,7 @@ public enum CodePointᶻᴰ {
public static final int MODIFIER_ENVELOP = 0b000000000100000000;
public int getArgument(V036Teger teger, T002ᖟ part) {
int value = teger.getValue(part).getValueNumber();
int value = teger.partᗅᗷᗷᗅ(part).getNativeValue();
int result = value & MASK_ARGU;
if ((value & MASK_SIGN) != 0) {
result |= 0xFFFFC000;
@ -63,40 +63,40 @@ public enum CodePointᶻᴰ {
}
public void setArgument(V036Teger teger, T002ᖟ part, int number) {
int value = teger.getValue(part).getValueNumber();
int value = teger.partᗅᗷᗷᗅ(part).getNativeValue();
int result = (value & MASK_CMD) + ((number >> 17) & MASK_SIGN) + (number & MASK_ARGU);
teger.getValue(part).setValueNumber(result);
teger.partᗅᗷᗷᗅ(part).setNativeValue(result);
}
public int getArgumentUnicode(V036Teger teger) {
int unicode = 0;
unicode += teger.getValue(T002ᖟ.PART_1).getValueNumber() & MASK_ARGU+MASK_SIGN;
unicode += (teger.getValue(T002ᖟ.PART_2).getValueNumber() & MASK_ARGU+MASK_SIGN) << 15;
unicode += teger.partᗅᗷᗷᗅ(T002ᖟ.PART_1).getNativeValue() & MASK_ARGU+MASK_SIGN;
unicode += (teger.partᗅᗷᗷᗅ(T002ᖟ.PART_2).getNativeValue() & MASK_ARGU+MASK_SIGN) << 15;
return unicode;
}
public void setArgumentUnicode(V036Teger teger, int unicode) {
int value1 = teger.getValue(T002ᖟ.PART_1).getValueNumber();
int value2 = teger.getValue(T002ᖟ.PART_2).getValueNumber();
int value1 = teger.partᗅᗷᗷᗅ(T002ᖟ.PART_1).getNativeValue();
int value2 = teger.partᗅᗷᗷᗅ(T002ᖟ.PART_2).getNativeValue();
value1 = (value1 & MASK_CMD) + (unicode & MASK_ARGU+MASK_SIGN);
value2 = (value2 & MASK_CMD) + ((unicode >> 15) & MASK_ARGU+MASK_SIGN);
teger.getValue(T002ᖟ.PART_1).setValueNumber(value1);
teger.getValue(T002ᖟ.PART_2).setValueNumber(value2);
teger.partᗅᗷᗷᗅ(T002ᖟ.PART_1).setNativeValue(value1);
teger.partᗅᗷᗷᗅ(T002ᖟ.PART_2).setNativeValue(value2);
}
public CodePointCommandᶻᴰ getCommand(V036Teger teger) {
int mode = 0;
mode += (teger.getValue(T002ᖟ.PART_1).getValueNumber() >> 15) << 0;
mode += (teger.getValue(T002ᖟ.PART_2).getValueNumber() >> 15) << 3;
mode += (teger.partᗅᗷᗷᗅ(T002ᖟ.PART_1).getNativeValue() >> 15) << 0;
mode += (teger.partᗅᗷᗷᗅ(T002ᖟ.PART_2).getNativeValue() >> 15) << 3;
return CodePointCommandᶻᴰ.values()[mode];
}
public void setCommand(V036Teger teger, CodePointCommandᶻᴰ command) {
int mode = command.ordinal();
int value1 = teger.getValue(T002ᖟ.PART_1).getValueNumber();
int value2 = teger.getValue(T002ᖟ.PART_2).getValueNumber();
teger.getValue(T002ᖟ.PART_1).setValueNumber(value1 | (((mode >> 0) << 15)) & MASK_CMD);
teger.getValue(T002ᖟ.PART_2).setValueNumber(value2 | (((mode >> 3) << 15)) & MASK_CMD);
int value1 = teger.partᗅᗷᗷᗅ(T002ᖟ.PART_1).getNativeValue();
int value2 = teger.partᗅᗷᗷᗅ(T002ᖟ.PART_2).getNativeValue();
teger.partᗅᗷᗷᗅ(T002ᖟ.PART_1).setNativeValue(value1 | (((mode >> 0) << 15)) & MASK_CMD);
teger.partᗅᗷᗷᗅ(T002ᖟ.PART_2).setNativeValue(value2 | (((mode >> 3) << 15)) & MASK_CMD);
}
/**
@ -104,11 +104,11 @@ public enum CodePointᶻᴰ {
*/
public int searchUnicode(List<V072Tong> tongs) {
for (V072Tong tong:tongs) {
if (CodePointCommandᶻᴰ.UNICODE.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T002ᖟ.PART_1)))) {
return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T002ᖟ.PART_1));
if (CodePointCommandᶻᴰ.UNICODE.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.partᗅᗷᗷᗅ(T002ᖟ.PART_1)))) {
return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.partᗅᗷᗷᗅ(T002ᖟ.PART_1));
}
if (CodePointCommandᶻᴰ.UNICODE.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T002ᖟ.PART_2)))) {
return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T002ᖟ.PART_2));
if (CodePointCommandᶻᴰ.UNICODE.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.partᗅᗷᗷᗅ(T002ᖟ.PART_2)))) {
return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.partᗅᗷᗷᗅ(T002ᖟ.PART_2));
}
}
return -1;
@ -120,11 +120,11 @@ public enum CodePointᶻᴰ {
*/
public int searchNumber(List<V072Tong> tongs) {
for (V072Tong tong:tongs) {
if (CodePointCommandᶻᴰ.NUMBER.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T002ᖟ.PART_1)))) {
return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T002ᖟ.PART_1));
if (CodePointCommandᶻᴰ.NUMBER.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.partᗅᗷᗷᗅ(T002ᖟ.PART_1)))) {
return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.partᗅᗷᗷᗅ(T002ᖟ.PART_1));
}
if (CodePointCommandᶻᴰ.NUMBER.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T002ᖟ.PART_2)))) {
return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.getValue(T002ᖟ.PART_2));
if (CodePointCommandᶻᴰ.NUMBER.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.partᗅᗷᗷᗅ(T002ᖟ.PART_2)))) {
return CodePointᶻᴰ.INSTANCE.getArgumentUnicode(tong.partᗅᗷᗷᗅ(T002ᖟ.PART_2));
}
}
return -1;

View file

@ -30,17 +30,17 @@ package love.distributedrebirth.unicode4d;
import java.util.ArrayList;
import java.util.List;
import love.distributedrebirth.numberxd.base2t.type.V036Teger;
import love.distributedrebirth.numberxd.base2t.type.V072Tong;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T002ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V036Teger;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V072Tong;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
public class Stringᶻᴰ {
private List<V072Tong> string;
public Stringᶻᴰ(List<V072Tong> tongs) {
protected Stringᶻᴰ(List<V072Tong> tongs) { // redo this unused class
this.string = tongs;
}
@ -51,16 +51,16 @@ public class Stringᶻᴰ {
public V036Teger getCodePointByIndex(int index) {
V072Tong tong = string.get(index >> 1);
if ((index & 1) == 0) {
return tong.getValue(T002ᖟ.PART_1);
return tong.partᗅᗷᗷᗅ(T002ᖟ.PART_1);
} else {
return tong.getValue(T002ᖟ.PART_2);
return tong.partᗅᗷᗷᗅ(T002ᖟ.PART_2);
}
}
public int charSize() {
int result = 0;
for (V072Tong points:string) {
CodePointCommandᶻᴰ cmd = CodePointᶻᴰ.INSTANCE.getCommand(points.getValue(T002ᖟ.PART_1));
CodePointCommandᶻᴰ cmd = CodePointᶻᴰ.INSTANCE.getCommand(points.partᗅᗷᗷᗅ(T002ᖟ.PART_1));
if (cmd == CodePointCommandᶻᴰ.START_LR) {
result++;
} else if (cmd == CodePointCommandᶻᴰ.START_RL) {

View file

@ -34,8 +34,8 @@ import java.util.ArrayList;
import java.util.Base64;
import java.util.List;
import love.distributedrebirth.numberxd.base2t.Base2Terminator;
import love.distributedrebirth.numberxd.base2t.type.V072Tong;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.Base2Terminator;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V072Tong;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")

View file

@ -31,12 +31,12 @@ import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import love.distributedrebirth.numberxd.base2t.type.V036Teger;
import love.distributedrebirth.numberxd.base2t.type.V072Tong;
import love.distributedrebirth.unicode4d.CodePointCommandᶻᴰ;
import love.distributedrebirth.unicode4d.CodePointᶻᴰ;
import love.distributedrebirth.unicode4d.draw.DrawGlyphContour.ImGlyphPoint;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T002ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V036Teger;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V072Tong;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -57,8 +57,8 @@ public class DrawCharacter {
public DrawCharacter(List<V072Tong> tongs) {
this.tongs = tongs;
for (V072Tong tong: tongs) {
processCodePoint(tong.getValue(T002ᖟ.PART_1));
processCodePoint(tong.getValue(T002ᖟ.PART_2));
processCodePoint(tong.partᗅᗷᗷᗅ(T002ᖟ.PART_1));
processCodePoint(tong.partᗅᗷᗷᗅ(T002ᖟ.PART_2));
}
if (currentContour != null) {
contours.add(currentContour);

View file

@ -73,7 +73,7 @@ import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAu
/* 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
/* DEATH TO UNICODE */ ImCharacter.render(drawChar); // death to unicode
/* DEATH TO UNICODE */ render(drawChar); // death to unicode
/* DEATH TO UNICODE */ ImGui.sameLine(); // death to unicode
/* DEATH TO UNICODE */ }); // death to unicode
/* DEATH TO UNICODE */ ImGui.endChild(); // death to unicode
@ -95,7 +95,7 @@ import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAu
/* DEATH TO UNICODE */ } // death to unicode
/* DEATH TO UNICODE */ // death to unicode
/* DEATH TO UNICODE */ public static void drawUnicode4D(DrawCharacter drawChar, float posX, float posY, int color, ImDrawList drawList) { // death to unicode
/* DEATH TO UNICODE */ drawUnicode4D(drawChar, posX, posY, color, drawList, 0f);
/* DEATH TO UNICODE */ drawUnicode4D(drawChar, posX, posY, color, drawList, 1f);
/* DEATH TO UNICODE */ }
/* DEATH TO UNICODE */ public static void drawUnicode4D(DrawCharacter drawChar, float posX, float posY, int color, ImDrawList drawList, float scaleOffset) { // death to unicode
/* DEATH TO UNICODE */ float xOff = posX; // death to unicode
@ -105,7 +105,7 @@ import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAu
/* DEATH TO UNICODE */ if (drawChar.getyMax() > 900) { // death to unicode
/* DEATH TO UNICODE */ scale = 0.0100f; // death to unicode
/* DEATH TO UNICODE */ } // death to unicode
scale = scale * scaleOffset;
/* DEATH TO UNICODE */ scale = scale * scaleOffset; // death to unicode
/* DEATH TO UNICODE */ ImGlyphPathCommand first = null; // death to unicode
/* DEATH TO UNICODE */ ImGlyphPathCommand prev = null; // death to unicode
/* DEATH TO UNICODE */ for (ImGlyphPathCommand cmd: drawChar.getGlyphPath().getPath()) { // death to unicode

View file

@ -30,8 +30,8 @@ package love.distributedrebirth.unicode4d;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import love.distributedrebirth.numberxd.base2t.type.V036Teger;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T002ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V036Teger;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")

View file

@ -42,13 +42,13 @@ import org.xml.sax.Locator;
import org.xml.sax.SAXException;
import org.xml.sax.XMLReader;
import love.distributedrebirth.numberxd.base2t.type.V072Tong;
import love.distributedrebirth.numberxd.unicode.UnicodePlane;
import love.distributedrebirth.unicode4d.atlas.FontAtlas;
import love.distributedrebirth.unicode4d.atlas.FontAtlasDriver;
import love.distributedrebirth.unicode4d.atlas.FontAtlasStore;
import love.distributedrebirth.unicode4d.atlas.FontAtlasStoreGlyph;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T002ᖟ;
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ.V072Tong;
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
@ -197,7 +197,7 @@ public class TestConvFont {
} else if ("glyph".equals(qName)) {
if (CodePointCommandᶻᴰ.NOP != CodePointᶻᴰ.INSTANCE.getCommand(point.getValue(T002ᖟ.PART_1))) {
if (CodePointCommandᶻᴰ.NOP != CodePointᶻᴰ.INSTANCE.getCommand(point.partᗅᗷᗷᗅ(T002ᖟ.PART_1))) {
tongs.add(point);
}
glyphCounter++;
@ -242,8 +242,8 @@ public class TestConvFont {
} else if ("glyph".equals(qName)) {
tongs = new ArrayList<>();
point = new V072Tong();
CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T002ᖟ.PART_1), CodePointCommandᶻᴰ.NOP);
CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T002ᖟ.PART_2), CodePointCommandᶻᴰ.NOP);
CodePointᶻᴰ.INSTANCE.setCommand(point.partᗅᗷᗷᗅ(T002ᖟ.PART_1), CodePointCommandᶻᴰ.NOP);
CodePointᶻᴰ.INSTANCE.setCommand(point.partᗅᗷᗷᗅ(T002ᖟ.PART_2), CodePointCommandᶻᴰ.NOP);
String unicodeStr = atts.getValue("unicode");
if (unicodeStr.startsWith("0000, ")) {
@ -263,27 +263,27 @@ public class TestConvFont {
V072Tong v2 = new V072Tong();
if (unicodePlane2.isLeftToRight()) {
CodePointᶻᴰ.INSTANCE.setCommand(v0.getValue(T002ᖟ.PART_1), CodePointCommandᶻᴰ.START_LR);
CodePointᶻᴰ.INSTANCE.setCommand(v0.partᗅᗷᗷᗅ(T002ᖟ.PART_1), CodePointCommandᶻᴰ.START_LR);
} else {
CodePointᶻᴰ.INSTANCE.setCommand(v0.getValue(T002ᖟ.PART_1), CodePointCommandᶻᴰ.START_RL);
CodePointᶻᴰ.INSTANCE.setCommand(v0.partᗅᗷᗷᗅ(T002ᖟ.PART_1), CodePointCommandᶻᴰ.START_RL);
}
CodePointᶻᴰ.INSTANCE.setCommand(v0.getValue(T002ᖟ.PART_2), CodePointCommandᶻᴰ.UNICODE);
CodePointᶻᴰ.INSTANCE.setArgumentUnicode(v0.getValue(T002ᖟ.PART_2), unicode);
CodePointᶻᴰ.INSTANCE.setCommand(v0.partᗅᗷᗷᗅ(T002ᖟ.PART_2), CodePointCommandᶻᴰ.UNICODE);
CodePointᶻᴰ.INSTANCE.setArgumentUnicode(v0.partᗅᗷᗷᗅ(T002ᖟ.PART_2), unicode);
CodePointᶻᴰ.INSTANCE.setCommand(v1.getValue(T002ᖟ.PART_1), CodePointCommandᶻᴰ.XY_MAX);
CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T002ᖟ.PART_1), T002ᖟ.PART_1, xMax);
CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T002ᖟ.PART_1), T002ᖟ.PART_2, yMax);
CodePointᶻᴰ.INSTANCE.setCommand(v1.partᗅᗷᗷᗅ(T002ᖟ.PART_1), CodePointCommandᶻᴰ.XY_MAX);
CodePointᶻᴰ.INSTANCE.setArgument(v1.partᗅᗷᗷᗅ(T002ᖟ.PART_1), T002ᖟ.PART_1, xMax);
CodePointᶻᴰ.INSTANCE.setArgument(v1.partᗅᗷᗷᗅ(T002ᖟ.PART_1), T002ᖟ.PART_2, yMax);
CodePointᶻᴰ.INSTANCE.setCommand(v1.getValue(T002ᖟ.PART_2), CodePointCommandᶻᴰ.XY_MIN);
CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T002ᖟ.PART_2), T002ᖟ.PART_1, xMin);
CodePointᶻᴰ.INSTANCE.setArgument(v1.getValue(T002ᖟ.PART_2), T002ᖟ.PART_2, yMin);
CodePointᶻᴰ.INSTANCE.setCommand(v1.partᗅᗷᗷᗅ(T002ᖟ.PART_2), CodePointCommandᶻᴰ.XY_MIN);
CodePointᶻᴰ.INSTANCE.setArgument(v1.partᗅᗷᗷᗅ(T002ᖟ.PART_2), T002ᖟ.PART_1, xMin);
CodePointᶻᴰ.INSTANCE.setArgument(v1.partᗅᗷᗷᗅ(T002ᖟ.PART_2), T002ᖟ.PART_2, yMin);
CodePointᶻᴰ.INSTANCE.setCommand(v2.getValue(T002ᖟ.PART_1), CodePointCommandᶻᴰ.ADVANCE);
CodePointᶻᴰ.INSTANCE.setArgument(v2.getValue(T002ᖟ.PART_1), T002ᖟ.PART_1, advanceWidth);
CodePointᶻᴰ.INSTANCE.setArgument(v2.getValue(T002ᖟ.PART_1), T002ᖟ.PART_2, leftSideBearing);
CodePointᶻᴰ.INSTANCE.setCommand(v2.partᗅᗷᗷᗅ(T002ᖟ.PART_1), CodePointCommandᶻᴰ.ADVANCE);
CodePointᶻᴰ.INSTANCE.setArgument(v2.partᗅᗷᗷᗅ(T002ᖟ.PART_1), T002ᖟ.PART_1, advanceWidth);
CodePointᶻᴰ.INSTANCE.setArgument(v2.partᗅᗷᗷᗅ(T002ᖟ.PART_1), T002ᖟ.PART_2, leftSideBearing);
CodePointᶻᴰ.INSTANCE.setCommand(v2.getValue(T002ᖟ.PART_2), CodePointCommandᶻᴰ.NOP);
CodePointᶻᴰ.INSTANCE.setCommand(v2.partᗅᗷᗷᗅ(T002ᖟ.PART_2), CodePointCommandᶻᴰ.NOP);
tongs.add(v0);
tongs.add(v1);
@ -298,29 +298,29 @@ public class TestConvFont {
int y = (int) Float.parseFloat(atts.getValue("y"));
T002ᖟ part = T002ᖟ.PART_1;
if (CodePointCommandᶻᴰ.NOP != CodePointᶻᴰ.INSTANCE.getCommand(point.getValue(T002ᖟ.PART_1))) {
if (CodePointCommandᶻᴰ.NOP != CodePointᶻᴰ.INSTANCE.getCommand(point.partᗅᗷᗷᗅ(T002ᖟ.PART_1))) {
part = T002ᖟ.PART_2;
}
if (onCurve) {
if (startPoint) {
CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(part), CodePointCommandᶻᴰ.XY_ON_CURVE_START);
CodePointᶻᴰ.INSTANCE.setCommand(point.partᗅᗷᗷᗅ(part), CodePointCommandᶻᴰ.XY_ON_CURVE_START);
} else {
CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(part), CodePointCommandᶻᴰ.XY_ON_CURVE);
CodePointᶻᴰ.INSTANCE.setCommand(point.partᗅᗷᗷᗅ(part), CodePointCommandᶻᴰ.XY_ON_CURVE);
}
} else {
if (startPoint) {
CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(part), CodePointCommandᶻᴰ.XY_OFF_CURVE_START);
CodePointᶻᴰ.INSTANCE.setCommand(point.partᗅᗷᗷᗅ(part), CodePointCommandᶻᴰ.XY_OFF_CURVE_START);
} else {
CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(part), CodePointCommandᶻᴰ.XY_OFF_CURVE);
CodePointᶻᴰ.INSTANCE.setCommand(point.partᗅᗷᗷᗅ(part), CodePointCommandᶻᴰ.XY_OFF_CURVE);
}
}
CodePointᶻᴰ.INSTANCE.setArgument(point.getValue(part), T002ᖟ.PART_1, x);
CodePointᶻᴰ.INSTANCE.setArgument(point.getValue(part), T002ᖟ.PART_2, y);
CodePointᶻᴰ.INSTANCE.setArgument(point.partᗅᗷᗷᗅ(part), T002ᖟ.PART_1, x);
CodePointᶻᴰ.INSTANCE.setArgument(point.partᗅᗷᗷᗅ(part), T002ᖟ.PART_2, y);
if (part == T002ᖟ.PART_2) {
tongs.add(point);
point = new V072Tong();
CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T002ᖟ.PART_1), CodePointCommandᶻᴰ.NOP);
CodePointᶻᴰ.INSTANCE.setCommand(point.getValue(T002ᖟ.PART_2), CodePointCommandᶻᴰ.NOP);
CodePointᶻᴰ.INSTANCE.setCommand(point.partᗅᗷᗷᗅ(T002ᖟ.PART_1), CodePointCommandᶻᴰ.NOP);
CodePointᶻᴰ.INSTANCE.setCommand(point.partᗅᗷᗷᗅ(T002ᖟ.PART_2), CodePointCommandᶻᴰ.NOP);
}
if (startPoint) {
startPoint = false;