{NGA,} becomes {NGA\u0f0c,} now instead of {NGA\u0f0b,}.

Note: ACIP->Unicode for {NGA,} was not giving the Unicode that {NGA\u0f0b,} gives before.
This commit is contained in:
dchandler 2003-12-10 06:50:14 +00:00
parent a466bad939
commit 8e673bbc2c

View file

@ -569,10 +569,15 @@ public class ACIPConverter {
&& null != lastGuy
&& (lpl = lastGuy.get(lastGuy.size() - 1)).size() == 1
&& lpl.get(0).getLeft().equals("NG")) {
if (null != writer) unicode = ACIPRules.getUnicodeFor(" ", false);
// {NGO,} is not acceptable;
// typesetting requires we treat this
// like {NGO\u0F0C,}.
if (null != writer) {
writer.write("\u0F0C");
}
if (null != tdoc) {
DuffCode tshegDuff = TibetanMachineWeb.getGlyph(" ");
if (null == tshegDuff) throw new Error("tsheg duff");
DuffCode tshegDuff = TibetanMachineWeb.getGlyph("*");
if (null == tshegDuff) throw new Error("non-breaking tsheg duff");
tdoc.appendDuffCode(tdocLocation[0]++,
tshegDuff, lastColor);
}