ACIP->Unicode crash fixed.

5% of the code for support of ACIP->Unicode.rtf is here.
This commit is contained in:
dchandler 2003-10-19 22:19:16 +00:00
parent 5aab4acc93
commit 3aa3859354
3 changed files with 48 additions and 34 deletions

View file

@ -267,9 +267,10 @@ public class TibetanConverter implements FontConverterConstants {
StringBuffer warnings = new StringBuffer();
boolean embeddedWarnings = (warningLevel != "None");
if (ACIP_TO_UNI_TEXT == ct) {
if (!ACIPConverter.convertToUnicode(al, out, null, warnings,
embeddedWarnings,
warningLevel))
if (!ACIPConverter.convertToUnicodeText(al, out, null,
warnings,
embeddedWarnings,
warningLevel))
return 46;
} else {
if (ct != ACIP_TO_TMW) throw new Error("badness");