From 36122778b400ebf8ce20a4ea3a7664db62c93caa Mon Sep 17 00:00:00 2001 From: dchandler Date: Sun, 10 Jul 2005 05:36:35 +0000 Subject: [PATCH] EWTS->TMW works now for [#] and for [//]. --- source/org/thdl/tib/text/ttt/TConverter.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/source/org/thdl/tib/text/ttt/TConverter.java b/source/org/thdl/tib/text/ttt/TConverter.java index 5d7d084..a822c30 100644 --- a/source/org/thdl/tib/text/ttt/TConverter.java +++ b/source/org/thdl/tib/text/ttt/TConverter.java @@ -684,10 +684,17 @@ public class TConverter { tdocLocation[0] += s.getText().length(); continue; // FIXME: this means the unicode above doesn't go into the output if null != writer && null != tdoc? } else { - if ("#".equals(s.getText())) { // hard-coded ACIP value + if (ttraits.isACIP() + && "#".equals(s.getText())) { // hard-coded ACIP value duff = new Object[] { - TibetanMachineWeb.getGlyph("@#"), - TibetanMachineWeb.getGlyph("#") + TibetanMachineWeb.getGlyph("@#"), // hard-coded EWTS + 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 } else { String wy = ttraits.getEwtsForOther(s.getText());