From b4d80555faf8892921f47c360464564425d8d9c4 Mon Sep 17 00:00:00 2001 From: Willem Date: Thu, 9 Jan 2025 03:08:49 +0100 Subject: [PATCH] Removes some size calc from four corner dot cake index --- .../src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java index b7054b7..7cbfe8c 100644 --- a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java @@ -187,13 +187,13 @@ public enum FourCornerDotCake { __RESERVED_CLKSP(1 + FC_CLK1K_AMP.getStop(), 0x37000 - FC_CLK1K_AMP.getStop() - 1), /// Support lower 11 bit of unicode to be encoded with one cake point. - FC_UNI1102_1C(1 + __RESERVED_CLKSP.getStop(), 2048), + FC_UNI1102_1C(0x37000, 2048), /// Prefix "1C" cake with big indian 11 bit half words to get full 21 bit unicode-one point. - FC_UNI1102_2C(1 + FC_UNI1102_1C.getStop(), 2048), + FC_UNI1102_2C(0x37800, 2048), /// MUST Prefix with __ESC18_NETHER, than pack big indian octals per 5, which is 15 bit data in one 18 bit cake point. /// This can encode dark text data like icons, bitmap images or vector images and unicode4D/etc. - FC_NETHER(1 + FC_UNI1102_2C.getStop(), 262144 - FC_UNI1102_2C.getStop() - 1), + FC_NETHER(0x38000, 32768), ; private final int start;