Cleaned lookup failure path of four corner dot index register
This commit is contained in:
parent
32f821408a
commit
56db3189d2
|
@ -152,24 +152,20 @@ public class FourCornerUnicodeImport {
|
||||||
FourCornerX00PetitVidePoints chs = int21ToVide.get(codePoint);
|
FourCornerX00PetitVidePoints chs = int21ToVide.get(codePoint);
|
||||||
if (chs != null) {
|
if (chs != null) {
|
||||||
if (bits == 6) {
|
if (bits == 6) {
|
||||||
if (!chs.isX06()) {
|
if (chs.isX06()) {
|
||||||
|
result.add(chs.toX06());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
result.add(chs.toX06());
|
|
||||||
//Arrays.stream(chs.toX06().baklavaPoints()).mapToObj(v -> FCDotCDC1604DashP6.indexOf(v)).forEach(v -> result.add(v));
|
|
||||||
continue;
|
|
||||||
} else if (bits == 8) {
|
} else if (bits == 8) {
|
||||||
if (!chs.isX08()) {
|
if (chs.isX08()) {
|
||||||
|
result.add(chs.toX08());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
result.add(chs.toX08());
|
|
||||||
continue;
|
|
||||||
} else {
|
} else {
|
||||||
if (!chs.isX18()) {
|
if (chs.isX18()) {
|
||||||
|
result.add(chs.toX18());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
result.add(chs.toX18());
|
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
// fails below in exception
|
// fails below in exception
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue