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


git-svn-id: svn://10.0.0.236/trunk@97128 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tajima%eng.sun.com 2001-06-14 05:47:20 +00:00
parent 303c3aed82
commit 1806336d61

View File

@ -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);
}
}
}