Added Duytschen

This commit is contained in:
Willem Cazander 2022-10-21 22:06:41 +02:00
parent 51864e2262
commit 0ecc63e44c
59 changed files with 624 additions and 295 deletions

View file

@ -24,17 +24,17 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
// TODO: Move this into unicode4D and TyyPartXxx
LATIN_BASIC(
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(Integer.toString(x.BȍőnRangTelNul())))),
new BaseGlyphSetNumber(v -> T16PartHex.STATIC.BãßVoorElk(x -> v.add(x.BȍőnAlt1Value()))),
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.ráàmVoorElk(x -> v.add(Integer.toString(x.rȧñkTelNul())))),
new BaseGlyphSetNumber(v -> T16PartHex.STATIC.ráàmVoorElk(x -> v.add(x.BȍőnAlt1Value()))),
new BaseGlyphSetNumber("1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R")),
LATIN_DTMF(
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnChinaValue()))).withSeperator(Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.STR_SPACE),
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.ráàmVoorElk(x -> v.add(x.BȍőnChinaValue()))).withSeperator(Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.STR_SPACE),
new BaseGlyphSetNumber("1","2","3","A","4","5","6","B","7","8","9","C","*","0","#","D"),
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> {
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.ráàmVoorElk(x -> {
if (T10PartDecimal.PART_10 == x) {
v.add("ten");
} else {
v.add(T10PartDecimal.STATIC.BãßInstances()[x.BȍőnRangTelEen()].BȍőnChinaValue()); // 1 to 9
v.add(T10PartDecimal.STATIC.ráàmWaardes()[x.rȧñkTelEen()].BȍőnChinaValue()); // 1 to 9
}
}), "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety",
"one hundred", "two hundred", "three hundred", "four hundred", "five hundred", "six hundred", "seven hundred", "eight hundred", "nine hundred")),
@ -56,23 +56,23 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
null),
TONE_SCRIPT(
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnDialTone()))),
new BaseGlyphSetNumber(v -> T16PartHex.STATIC.BãßVoorElk(x -> v.add(x.BȍőnDialTone()))),
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.ráàmVoorElk(x -> v.add(x.BȍőnDialTone()))),
new BaseGlyphSetNumber(v -> T16PartHex.STATIC.ráàmVoorElk(x -> v.add(x.BȍőnDialTone()))),
new BaseGlyphSetNumber("꜊꜈","꜊꜉","꜊꜋","꜊꜌","꜊꜍","꜊꜎","꜊꜏","꜊꜐","꜊꜑","˧˥","˧˦","˧˨","˧˩","˧꜒","˧꜓","˧꜔","˧꜕","˧꜖","꜏˥","꜏˦","꜏˧","꜏˨","꜏˩","꜏꜍","꜏꜎","꜏꜐","꜏꜑")),
DIPAVALI_LRPATH_TOPHEX(
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnAlt1Value()))),
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.ráàmVoorElk(x -> v.add(x.BȍőnAlt1Value()))),
new BaseGlyphSetNumber("˧˥˩","˧˩˥","˧˥˦","˧˩˨","˧˦˦","˧˨˨","˧˥˥","˧˩˩","˥˩˧","˩˥˧","˥˦˧","˩˨˧","˦˦˧","˨˨˧","˥˥˧","˩˩˧").withAltGlyphSet(BaseGlyphSet.LATIN_TOP),
null),
DIPAVALI_LRPATH_SUBHEX(
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnAlt1Value()))),
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.ráàmVoorElk(x -> v.add(x.BȍőnAlt1Value()))),
new BaseGlyphSetNumber("˧˥˩","˧˩˥","˧˥˦","˧˩˨","˧˦˦","˧˨˨","˧˥˥","˧˩˩","˥˩˧","˩˥˧","˥˦˧","˩˨˧","˦˦˧","˨˨˧","˥˥˧","˩˩˧").withAltGlyphSet(BaseGlyphSet.LATIN_SUB),
null),
DIPAVALI_RLPATH_TOPHEX(
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnAlt2Value()))),
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.ráàmVoorElk(x -> v.add(x.BȍőnAlt2Value()))),
new BaseGlyphSetNumber("꜔꜒꜖","꜔꜖꜒","꜔꜒꜓","꜔꜖꜕","꜔꜓꜓","꜔꜕꜕","꜔꜒꜒","꜔꜖꜖","꜒꜖꜔","꜖꜒꜔","꜒꜓꜔","꜖꜕꜔","꜓꜓꜔","꜕꜕꜔","꜒꜒꜔","꜖꜖꜔").withAltGlyphSet(BaseGlyphSet.LATIN_TOP),
null),
DIPAVALI_RLPATH_SUBHEX(
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnAlt2Value()))),
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.ráàmVoorElk(x -> v.add(x.BȍőnAlt2Value()))),
new BaseGlyphSetNumber("꜔꜒꜖","꜔꜖꜒","꜔꜒꜓","꜔꜖꜕","꜔꜓꜓","꜔꜕꜕","꜔꜒꜒","꜔꜖꜖","꜒꜖꜔","꜖꜒꜔","꜒꜓꜔","꜖꜕꜔","꜓꜓꜔","꜕꜕꜔","꜒꜒꜔","꜖꜖꜔").withAltGlyphSet(BaseGlyphSet.LATIN_SUB),
null),
@ -128,7 +128,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
// TODO: replace Tai Xuan Jing Symbols are "T87PartXuanJing"
new BaseGlyphSetNumber("𝌁","𝌂","𝌃","𝌄","𝌅","𝌆","𝌇","𝌈","𝌉","𝌊","𝌋","𝌌","𝌍","𝌎","𝌏","𝌐","𝌑","𝌒","𝌓","𝌔","𝌕","𝌖","𝌗","𝌘","𝌙","𝌚","𝌛")),
CHINA_FORMAL(
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.BãßVoorElk(x -> v.add(x.BȍőnChinaKey()))),
new BaseGlyphSetNumber(v -> T10PartDecimal.STATIC.ráàmVoorElk(x -> v.add(x.BȍőnChinaKey()))),
null,
null),
CHINA_FORMAL_OLD(
@ -191,7 +191,6 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
corpse.PUT_OBJ(BaseGlyphSetBullet.REVERSE_SCRIPT, reverseScript); // TODO: ImGui workaround
}
@SuppressWarnings("unchecked")
public BãßBȍőnAbacusZombie<BaseGlyphSetBullet> toEnumZombie() {
return toBBC().NOISE_OF(BãßBȍőnAbacusZombie響ᴼᶠ.class).toEnumZombie();
}
@ -234,7 +233,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
}
int numberDigit = Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_ZERO;
if (c >= 'a') {
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_A + Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_TEN;
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_ATARI + Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_TEN;
} else {
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_ZERO;
}
@ -271,7 +270,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
}
public String BȍőnPrintNumber16(BigInteger number) {
String amount16 = number.toString(T16PartHex.STATIC.BãßĦǿɇṽḝę̃ɬḪễïđ());
String amount16 = number.toString(T16PartHex.STATIC.ráàmGroote());
StringBuilder buf16 = new StringBuilder();
int c2 = 0;
for (char c:amount16.toCharArray()) {
@ -280,7 +279,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
}
int numberDigit = Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_ZERO;
if (c >= 'a') {
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_A + Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_TEN;
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_ATARI + Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_TEN;
} else {
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_ZERO;
}
@ -315,8 +314,8 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
for (int i=Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_ZERO;i<numberStr.length();i++) {
char c = numberStr.charAt(i);
int numberDigit = 0;
if (c >= Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_A) {
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_A + Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_TEN;
if (c >= Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_ATARI) {
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_ATARI + Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_TEN;
} else {
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_ZERO;
}
@ -354,7 +353,7 @@ public enum BaseGlyphSet implements BãßBȍőnAbacusSetMBeanʸᴰ<BaseGlyphSet>
char c = numberStr.charAt(i);
int numberDigit = Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.INT_ZERO;
if (c >= 'a') {
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_A + 10;
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_ATARI + 10;
} else {
numberDigit = c - Bãß.ℭỗᶇṧⱦᶏꬼȶʂ.CHAR_ZERO;
}