Added TODO to remove white space from CDC

This commit is contained in:
Willem Cazander 2025-01-15 12:10:59 +01:00
parent d01f8ab94b
commit 1e2161586b
2 changed files with 18 additions and 12 deletions

View file

@ -119,23 +119,27 @@ public enum FourCornerDotCake {
__RESERVED_PIE_SYMBOLS(1 + FC_PIE9C_27.getStop(), 1024 - 1 - FC_PIE9C_27.getStop()),
// =========== Allow end-dark mode
// All child letter symbols are above, an adult computer language does use ZERO
// cake point above this LINE of IBM1616 or lower cake points.
// TODO: move ESC_NETHER to struct(todo) block, as escape codes should not be used real code.
// =========== Allow end-user select rendering of data gram packet per context
/// Interim Byte Mode, embed raw Hex 8 bit Data
/// Allow HEX to be displayed in Greek/Korean/Inuktitut/etc symbols.
FC_IBM1616_H8(1024, 256),
/// Reserved for future data grams use
__RESERVED_DATAGRAMS(1280, 1445-1280),
//FC_XXX0130_T2(1280, 30),
//FC_XXX0127_T1(1310, 27),
// See: https://www.ibm.com/docs/en/db2/11.5?topic=uce-code-page-coded-character-set-identifier-ccsid-numbers-unicode-graphic-data
// TODO: Add FC_UWU0101 (unique white unicode) = Locale white space defined by word-set.
//FC_XXX0116_S0(1337, 16), // Leave out, just the duel hex from FC_IBM1616_H8
//FC_XXX0115_SF(1353, 15),
//FC_XXX0114_SE(1368, 14),
//FC_XXX0113_SD(1382, 13),
//FC_XXX0112_SC(1395, 12),
//FC_XXX0111_SB(1407, 11), // don't needs above 9, only 27 maybe...
// TODO: Remove CDC white space and newline !!!
//FC_XXX0127_9C(todo, 27),
//FC_XXX0109_S9(1418, 9),
//FC_XXX0107_S7(1427, 7),
//FC_XXX0106_S6(1434, 6),

View file

@ -338,15 +338,17 @@ public class FourCornerZionStenoLexer {
errorUnusedBigIndian = true;
continue;
}
int codePointL = cakePoint - FourCornerDotCake.FC_UNI2K_11.getStart();
int codePoint = (codePoint22 << 11) + codePointL;
int codePoint11 = cakePoint - FourCornerDotCake.FC_UNI2K_11.getStart();
int codePoint = (codePoint22 << 11) + codePoint11;
result.add(codePoint);
errorUnusedBigIndian = false;
}
if (errorUnusedBigIndian) {
smokeSignals.burnUNI21UnusedBigIndian(currLine, currCol);
}
handler.strobeUnicode(result);
if (!result.isEmpty()) {
handler.strobeUnicode(result);
}
}
}