Jskad has a new menu item, 'Copy as Unicode', which does a

TMW->Unicode conversion.
This commit is contained in:
dchandler 2005-02-26 22:57:38 +00:00
parent 25f5440218
commit 9cfedadab7
4 changed files with 183 additions and 58 deletions

View file

@ -1081,13 +1081,17 @@ private int insertDuff(int fontSize, int pos, DuffData[] glyphs, boolean asTMW,
// FIXME: are we doing the right thing here? I
// think so -- I think we're just not replacing
// the current character, but I'm not at all sure.
if (debug > 0) System.out.println("non-tm/tmw found at offset " + i + "; font=" + fontName + " ord " + (int)getText(i,1).charAt(0));
if (debug > 0) System.out.println("some font we're not converting found at offset " + i + "; font=" + fontName + " ord " + (int)getText(i,1).charAt(0));
if (replacementQueue.length() > 0) {
if (!mustReplace) {
mustReplaceUntil = i;
mustReplace = true;
}
}
// TODO(dchandler): If this is a TMW->*
// conversion, generate a warning if TM is found.
// If this is a TM->* conversion, generate a
// warning if TMW is found.
}
i++;
}