FC18: Clean unicode renderer methods to just one renderer method
This commit is contained in:
parent
99bce14fd1
commit
5cfb4893db
21 changed files with 103 additions and 115 deletions
|
|
@ -175,7 +175,7 @@ public class FCDocPageWriterCandy implements MaisDocPageWriter, FCDocSegmentWrit
|
|||
continue;
|
||||
}
|
||||
int char18 = slice.getStart() + i;
|
||||
String char18Str = FourCornerUnicodeDisplay.text().renderFromInt18(List.of(char18));
|
||||
String char18Str = FourCornerUnicodeDisplay.text().render(List.of(char18));
|
||||
StringBuilder buf = new StringBuilder();
|
||||
for (int c : char18Str.codePoints().toArray()) {
|
||||
if (c == '\u0000') {
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ public class FCDocPageWriterNCR implements MaisDocPageWriter, FCDocSegmentWriter
|
|||
//piNum.addAll(FCDotDEC2701DashPX0.ESC68_NCR.baklavaPointSequence()); // TODO: use write for 18 bit NCR
|
||||
piNum.add(FCDotCDC1604DashP6.NX01_A.ordinal() + t);
|
||||
piNum.add(FCDotCDC1604DashP6.NX01_A.ordinal() + i);
|
||||
String char18Str = FourCornerUnicodeDisplay.text().renderFromInt18(piNum);
|
||||
String char18Str = FourCornerUnicodeDisplay.text().render(piNum);
|
||||
StringBuilder buf = new StringBuilder();
|
||||
for (int c : char18Str.codePoints().toArray()) {
|
||||
if (c == '\u0000') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue