EWTS->TMW works now for [#] and for [//].
This commit is contained in:
parent
33fc836e81
commit
36122778b4
1 changed files with 10 additions and 3 deletions
|
@ -684,10 +684,17 @@ public class TConverter {
|
||||||
tdocLocation[0] += s.getText().length();
|
tdocLocation[0] += s.getText().length();
|
||||||
continue; // FIXME: this means the unicode above doesn't go into the output if null != writer && null != tdoc?
|
continue; // FIXME: this means the unicode above doesn't go into the output if null != writer && null != tdoc?
|
||||||
} else {
|
} else {
|
||||||
if ("#".equals(s.getText())) { // hard-coded ACIP value
|
if (ttraits.isACIP()
|
||||||
|
&& "#".equals(s.getText())) { // hard-coded ACIP value
|
||||||
duff = new Object[] {
|
duff = new Object[] {
|
||||||
TibetanMachineWeb.getGlyph("@#"),
|
TibetanMachineWeb.getGlyph("@#"), // hard-coded EWTS
|
||||||
TibetanMachineWeb.getGlyph("#")
|
TibetanMachineWeb.getGlyph("#") // hard-coded EWTS
|
||||||
|
}; // hard-coded EWTS values
|
||||||
|
} else if (!ttraits.isACIP()
|
||||||
|
&& "//".equals(s.getText())) {
|
||||||
|
duff = new Object[] {
|
||||||
|
TibetanMachineWeb.getGlyph("/"), // hard-coded EWTS
|
||||||
|
TibetanMachineWeb.getGlyph("/") // hard-coded EWTS
|
||||||
}; // hard-coded EWTS values
|
}; // hard-coded EWTS values
|
||||||
} else {
|
} else {
|
||||||
String wy = ttraits.getEwtsForOther(s.getText());
|
String wy = ttraits.getEwtsForOther(s.getText());
|
||||||
|
|
Loading…
Reference in a new issue