Added extra tower for frame nav and prefix the glyph ones

This commit is contained in:
Willem Cazander 2025-01-20 16:24:00 +01:00
parent 158bb0c6f4
commit 36ca5a66d2
3 changed files with 13 additions and 9 deletions

View file

@ -367,13 +367,16 @@ public enum FourCornerDotCake {
public FourCornerDotCakeTower tower() {
int idx = ordinal();
if (idx <= __MIND_THE_GAP8.ordinal()) {
return FourCornerDotCakeTower.BIT_GLYPHS;
return FourCornerDotCakeTower.GLYPHS_BIT6;
}
if (idx <= FC_PIE9C_27.ordinal()) {
return FourCornerDotCakeTower.GLYPHS_PIE9C_NX;
}
if (idx <= FC_PIE9D_27.ordinal()) {
return FourCornerDotCakeTower.PIE_SYMBOLS;
return FourCornerDotCakeTower.GLYPHS_PIE9D_NY;
}
if (idx <= FC_OCE0864_H9.ordinal()) {
return FourCornerDotCakeTower.DATA_GRAMS;
return FourCornerDotCakeTower.GLYPHS_GRAMS;
}
if (idx <= FC_EXTRA_1100.ordinal()) {
return FourCornerDotCakeTower.WORDS_HUMAN;

View file

@ -30,9 +30,10 @@ import java.util.Objects;
/// @version 1.0 Jan 19, 2025
public enum FourCornerDotCakeTower {
BIT_GLYPHS("Symbols for 6 bit systems"),
PIE_SYMBOLS("Pie cake symbols"),
DATA_GRAMS("Local numeric value system"),
GLYPHS_BIT6("Symbols for 6 bit systems"),
GLYPHS_PIE9C_NX("Pie9C cake symbols"),
GLYPHS_PIE9D_NY("Pie9D cake symbols"),
GLYPHS_GRAMS("Local numeric value system"),
WORDS_HUMAN("Normal words"),
WORDS_CODE("Special words"),
EMBED("Embedded data objects"),

View file

@ -56,7 +56,7 @@ public class FCDocSegmentWriterCakeWord implements FCDocSegmentWriter {
FourCornerX00PetitVide[] videPoints = word.getSlice().getVidePoints();
if (videPoints.length == 0) {
writer.printTagStart(Tag.pre);
writer.printCharacters("None PetitVide for: " + word.toString());
writer.printCharacters("No PetitVide data for: " + word.toString());
writer.printTagEnd(Tag.pre);
return;
}
@ -67,8 +67,8 @@ public class FCDocSegmentWriterCakeWord implements FCDocSegmentWriter {
Optional<FourCornerX18CakePointSequence> x18CakeSequence = videPoint.kaasX18CakeSequence();
Optional<FourCornerX18CakePointDotName> x18DotName = videPoint.kaasX18CakeDotName();
writer.docTableStart("Glyph Summary", "The cake point as unicode glyph.",ApiDocContentCss.overviewSummary);
writer.docTableHeader("Glyph", "Value");
writer.docTableStart("Word Summary", "The cake word point value information.",ApiDocContentCss.overviewSummary);
writer.docTableHeader("Point", "Value");
String name = word.toString();
String value = name;
if (x18DotName.isPresent()) {