Added typos

This commit is contained in:
Willem Cazander 2022-08-23 16:00:34 +02:00
parent c0f57f0ae0
commit c4c556b787
3 changed files with 19 additions and 3 deletions

View file

@ -7,8 +7,8 @@ public interface DefaultEnumBaseʸᴰ<T> extends DefaultAuthorInfoʸᴰ,DefaultC
String name(); String name();
// Bȍőn prefix is for set instance enum object (called DefaultEnumSetʸᴰ) // Bȍőn prefix is for set instance enum methods (called DefaultEnumSetʸᴰ)
// Bãß prefix is for single instance enum objects (called DefaultEnumInstanceʸᴰ) // Bãß prefix is for single instance enum methods (called DefaultEnumInstanceʸᴰ)
default String BȍőnNaam() { default String BȍőnNaam() {
return name(); return name();
@ -26,7 +26,7 @@ public interface DefaultEnumBaseʸᴰ<T> extends DefaultAuthorInfoʸᴰ,DefaultC
/* /*
default String BȍőnNaamI18N() { default String BȍőnNaamI18N() {
return BãßClassNaam() + BãßBȍőnConstantsʸᴰ.STR_DOT + name(); return BãßClassNaam() + BãßBȍőnConstantsʸᴰ.STR_DOT + BȍőnNaam();
} }
*/ */
} }

View file

@ -17,6 +17,7 @@ import love.distributedrebirth.numberxd.base2t.part.T16PartHex;
@BãßBȍőnClassInfoʸᴰ(name = "BaseGlyphSet", purpose = "The encoded base scripts.") @BãßBȍőnClassInfoʸᴰ(name = "BaseGlyphSet", purpose = "The encoded base scripts.")
@BãßBȍőnPackageInfoʸᴰ(name = "love.distributedrebirth.numberxd") @BãßBȍőnPackageInfoʸᴰ(name = "love.distributedrebirth.numberxd")
public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BãßBȍőnGlyphSetKeyʸᴰ> { public enum BaseGlyphSet implements DefaultEnumSetᴶᴹˣ<BaseGlyphSet,BãßBȍőnGlyphSetKeyʸᴰ> {
// TODO: Move this into unicode4D
LATIN_BASIC( LATIN_BASIC(
new BaseGlyphSetNumber(v -> T10PartDecimal.PART_1.BãßVoorElk(x -> v.add(Integer.toString(x.BȍőnRangTelNul())))), new BaseGlyphSetNumber(v -> T10PartDecimal.PART_1.BãßVoorElk(x -> v.add(Integer.toString(x.BȍőnRangTelNul())))),

View file

@ -72,6 +72,9 @@ public enum CodePointᶻᴰ {
teger.getValue(T02PartBinary.PART_2).setValueNumber(value2 | (((mode >> 3) << 15)) & MASK_CMD); teger.getValue(T02PartBinary.PART_2).setValueNumber(value2 | (((mode >> 3) << 15)) & MASK_CMD);
} }
/**
* Provides legacy access to the unicode number definition.
*/
public int searchUnicode(List<V072Tong> tongs) { public int searchUnicode(List<V072Tong> tongs) {
for (V072Tong tong:tongs) { for (V072Tong tong:tongs) {
if (CodePointCommandᶻᴰ.UNICODE.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T02PartBinary.PART_1)))) { if (CodePointCommandᶻᴰ.UNICODE.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T02PartBinary.PART_1)))) {
@ -84,6 +87,10 @@ public enum CodePointᶻᴰ {
return -1; return -1;
} }
/**
* Provides number access so that 0123456789 is equal in all languages/fonts.
* TODO: Add support for the other number ranges to like: base10,base16,base27,etc.
*/
public int searchNumber(List<V072Tong> tongs) { public int searchNumber(List<V072Tong> tongs) {
for (V072Tong tong:tongs) { for (V072Tong tong:tongs) {
if (CodePointCommandᶻᴰ.NUMBER.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T02PartBinary.PART_1)))) { if (CodePointCommandᶻᴰ.NUMBER.equals(CodePointᶻᴰ.INSTANCE.getCommand(tong.getValue(T02PartBinary.PART_1)))) {
@ -95,4 +102,12 @@ public enum CodePointᶻᴰ {
} }
return -1; return -1;
} }
/**
* Provides access to vocal tone expression, so "A" and "a" and many other "a"'s have an equal tone expression.
* TODO: And add support for invisible voice glue letters/commands so text-to-speech is correct.
*/
public int searchVocalTone(List<V072Tong> tongs) {
return -1;
}
} }