From 70fa4b271cdd5ccc7c319ec0f778a44218372248 Mon Sep 17 00:00:00 2001 From: "tajima%eng.sun.com" Date: Thu, 14 Jun 2001 05:47:20 +0000 Subject: [PATCH] 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 --- gfx/src/ps/nsPostScriptObj.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/src/ps/nsPostScriptObj.cpp b/gfx/src/ps/nsPostScriptObj.cpp index 0617bc1c7591..1ad5c3611297 100644 --- a/gfx/src/ps/nsPostScriptObj.cpp +++ b/gfx/src/ps/nsPostScriptObj.cpp @@ -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); } } }