Removes some size calc from four corner dot cake index

This commit is contained in:
Willem Cazander 2025-01-09 03:08:49 +01:00
parent 66a4e27a6f
commit b4d80555fa

View file

@ -187,13 +187,13 @@ public enum FourCornerDotCake {
__RESERVED_CLKSP(1 + FC_CLK1K_AMP.getStop(), 0x37000 - FC_CLK1K_AMP.getStop() - 1), __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. /// 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. /// 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. /// 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. /// 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; private final int start;