bug 85583 GB18030 Unix printing fails in PS codes

changed decimal to hex in PS code to support GB18030 4 bytes character
(check in for katakai@japan.sun.com)
r=dcone,blizzard sr=blizzard a=blizzard
This commit is contained in:
tajima%eng.sun.com 2001-06-14 05:47:20 +00:00
Родитель b0fe772ba3
Коммит bfe1779209
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -695,7 +695,7 @@ XP_File f;
XP_FilePrintf(f, " /Unicode2NativeDict where {\n");
XP_FilePrintf(f, " pop\n");
XP_FilePrintf(f, " Unicode2NativeDict ccode known {\n");
XP_FilePrintf(f, " Unicode2NativeDict ccode get mbshow\n");
XP_FilePrintf(f, " Unicode2NativeDict ccode get show\n");
XP_FilePrintf(f, " true\n");
XP_FilePrintf(f, " } {\n");
XP_FilePrintf(f, " false\n");
@ -942,7 +942,7 @@ nsPostScriptObj::preshow(const PRUnichar* txt, int len)
ncode = new PRInt32;
*ncode = code;
gU2Ntable->Put(&key, ncode);
XP_FilePrintf(f, "%d %u u2nadd\n", uch, code);
XP_FilePrintf(f, "%d <%x> u2nadd\n", uch, code);
}
}
}