зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
b0fe772ba3
Коммит
bfe1779209
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче