On Wed, Oct 02, 2002 at 01:39:53PM +0800, Zou Min wrote:
> > > But still failed, even after I added 2 lines below in
> > > "/usr/lib/mozilla/defaults/pref/unix.js":
> > > pref("print.postscript.nativefont.zh-CN", "gb2312");
> >
> > Are you sure? I think it should be nativecode here.
>
> Oops.
> But after I tried adding either this:
> pref("print.postscript.nativecode.zh-CN", "gb2312");
> pref("print.postscript.nativefont.zh-CN", "BousungEG-Light-GB-EUC-H")
This should be ok. I have my user_pref set in
~/.mozilla/XXX/[EMAIL PROTECTED]/prefs.js
>
> I still can't get it work.
If the ps file it printed has these lines:
/Unicode2NativeDictzh-CN 0 dict def
/zh-CN_ls {
/NativeFont /BousungEG-Light-GB-EUC-H def
/UCS2Font /Courier def
/Unicode2NativeDict Unicode2NativeDictzh-CN def
/unicodeshow1 { real_unicodeshow } bind def
/unicodeshow2 { real_unicodeshow_native } bind def
} bind def
Then the file should be ok. It means the above font will be used
for printing zh_CN text. If this is the case, you have to make
sure your gs indeed print Chinese with truetype font ok.
If you don't have the lines, then mozilla did not read your
preference setting for postscript generation.
--
hashao| [EMAIL
PROTECTED]@天下有始,以為天下母。既得其母,以知其子,復守其母,沒身
hashao| 不殆。
hashao| [EMAIL
PROTECTED]@塞其兌,閉其門,終身不勤。開其兌,濟其事,終身不救。
hashao| [EMAIL
PROTECTED]@見小曰明,守柔曰強。用其光,復歸其明,無遺身殃;是為襲常。
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
--
| This message was re-posted from [email protected]
| and converted from gb2312 to big5 by an automatic gateway.