Fixed INC pie cake select typos and added unit test for italic text
This commit is contained in:
parent
59f75f2337
commit
f9d4980b0c
|
@ -629,6 +629,10 @@ public class FourCornerZionStenoLexer {
|
||||||
decModeReset();
|
decModeReset();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (FCDotCDC1604DashP6._SALAH_EXCLAMATION.baklavaPointDotIndex() == cdcPoint) {
|
||||||
|
decModeReset();
|
||||||
|
return true; // end E10 mode, so no print
|
||||||
|
}
|
||||||
// if (cdcPoint < FCDotCDC1604DashP6.NX01_A.ordinal()) {
|
// if (cdcPoint < FCDotCDC1604DashP6.NX01_A.ordinal()) {
|
||||||
// decModeReset();
|
// decModeReset();
|
||||||
// return false;
|
// return false;
|
||||||
|
@ -686,7 +690,7 @@ public class FourCornerZionStenoLexer {
|
||||||
decModeReset();
|
decModeReset();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
lexer.handler.strobeWord(FourCornerDotCake.FC_PIE9C_27, cdcPoint - FCDotCDC1604DashP6.NX01_A.ordinal());
|
lexer.handler.strobeWord(FourCornerDotCake.FC_PIE9D_27, cdcPoint - FCDotCDC1604DashP6.NX01_A.ordinal());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (FCDotINC0801DashP8.INC_PIE9C_26.equals(cdcDECModeInc)) {
|
if (FCDotINC0801DashP8.INC_PIE9C_26.equals(cdcDECModeInc)) {
|
||||||
|
|
|
@ -122,4 +122,25 @@ public class FourCornerUnicodeDisplayTest {
|
||||||
System.out.println("size FCx6="+cdc6.size());
|
System.out.println("size FCx6="+cdc6.size());
|
||||||
System.out.println("raw FCx6="+FourCornerUnicodeDisplay.raw().renderFromInt18(cdc6));
|
System.out.println("raw FCx6="+FourCornerUnicodeDisplay.raw().renderFromInt18(cdc6));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testItianalText() throws Exception {
|
||||||
|
List<FourCornerX06BaklavaPointSequence> cdc = new ArrayList<>();
|
||||||
|
cdc.add(FCDotDEC2701DashPX0.ESC68_INC0801_P8);
|
||||||
|
cdc.add(FCDotINC0801DashP8.INC_PIE9D_27);
|
||||||
|
cdc.add(FCDotCDC1604DashP6.NX08_H);
|
||||||
|
cdc.add(FCDotCDC1604DashP6.NX15_O);
|
||||||
|
cdc.add(FCDotCDC1604DashP6.NX09_I);
|
||||||
|
cdc.add(FCDotINC0801DashP8.INC_BYD0127_P7D);
|
||||||
|
cdc.add(FCDotCDC1604DashP6.NX08_H);
|
||||||
|
cdc.add(FCDotCDC1604DashP6.NX15_O);
|
||||||
|
cdc.add(FCDotCDC1604DashP6.NX09_I);
|
||||||
|
cdc.add(FCDotINC0801DashP8.INC_PIE9C_26);
|
||||||
|
cdc.add(FCDotCDC1604DashP6.NX08_H);
|
||||||
|
cdc.add(FCDotCDC1604DashP6.NX15_O);
|
||||||
|
cdc.add(FCDotCDC1604DashP6.NX09_I);
|
||||||
|
cdc.add(FCDotCDC1604DashP6._SALAH_EXCLAMATION);
|
||||||
|
|
||||||
|
Assertions.assertEquals("𝘩𝘰𝘪╗╞╘hoi", FourCornerUnicodeDisplay.text().renderFromX06(cdc));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue