[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

弘地ゅ彻 [cwhuang: [cle-devel] Ghostscript with CJKV ttf support]



----- Forwarded message from Chih-Wei Huang <cwhuang@linux.org.tw> -----
Date: Tue, 29 Aug 2000 12:27:44 +0800
From: Chih-Wei Huang <cwhuang@linux.org.tw>
X-Mailer: Mozilla 4.7 [zh_TW] (X11; I; Linux 2.2.16-3CLE i686)
To: cle-devel@linux.org.tw
Subject: [cle-devel] Ghostscript with CJKV ttf support (Was: CLE 0.9p1...)
Content-Type: text/plain; charset=big5

candyz@cle.linux.org.tw 写道:
> 
>   另外,刚刚试了 ghostscript 6 搭配 bg5ps
>   还是不能印中文字,印出来还是乱码....

不是这样用的... 有了 ghostscript 6 with ttf support
我们就不再需要 bg5ps 了。

刚包好的 ghostscript 加上了 CJKV ttf support, 主要是参考
http://www.aihara.co.jp/~taiji/tops/
的说明,还有 cschin 的 rpm.

想测试这个新的 ghostscript 的,请这样做:

1. 从 CLE 的 rpm 装上文鼎字型。
2. 装上 ghostscript-6.01-1CLE.i386.rpm
3. 修改你的 Netscape.ad, 加上以下几行:

*documentFonts.big5*psname:     Arphic-KaiB5-ETen-B5-H
*documentFonts.big5*pscode:     big5
*documentFonts.big5*pswidth:    1000
*documentFonts.big5*psascent:   880

*documentFonts.gb2312*psname:           Arphic-KaiGB-GB-EUC-H
*documentFonts.gb2312*pscode:           gb2312
*documentFonts.gb2312*pswidth:          1000
*documentFonts.gb2312*psascent:         950

4. 启动 Netscape, 找个中文网页(Big5 or GB 皆可)看看,然后选择
"列印到档案"。用 gv 观看储存下来的 ps 档,中文有没有出来?

5. 若 OK 的话,就试著印到印表机吧!
(当然你要先设好你的印表机能够列印 postscript 档)

6. 你不再需要 bg5ps 了,rhs-printfilters
也不需用 CLE patch 过的。如果你装了 bg5ps,
请将它移除,并将 rhs-printfilters 改成 RH 6.2
内附的 rhs-printfilters-1.63-1,再进行测试,
以免产生相冲。

现在还有些问题待解决:
1. 全形的标点符号像 ,・ 等都印不出来。不管 Big5 or GB 都一样。
我想是 CMap files 转码表有问题的关系。有没有人能帮忙 check?
2. 如何做粗体,斜体等变化呢?

再来就是整合 abiword 以及纯文字档的列印。
这样 0.9p1 就差不多 ready 了。

刚刚在试 abiword, 不过那个中文的 patch 问题多多,
还要努力的修改.....

至于纯文字档的列印,需要加一个 filter.
Cschin, could you help to write this filter?
Thank you very much!

-- 
   ~     Chih-Wei Huang (cwhuang)
  'v'    E-Mail       : cwhuang@linux.org.tw
 // \\   CLDP Project : http://www.linux.org.tw/CLDP/ (Coordinator)
/(   )\  CLE  Project : http://cle.linux.org.tw/CLE/  (Developer)
 ^`~'^   HomePage     : http://www.cwhuang.idv.tw/
To Unsubscribe: send mail to majordomo@linux.org.tw
with "unsubscribe cle-devel" in the body of the message

----- End forwarded message -----

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.



Reply to: