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

Re: (fwd) [Âà¿ý]¦p¦ó¦b Netscape ¤¤¤£¥Î bg5ps ¦C¦L¤¤¤å]



Hello,

Saturday, December 25, 1999, 12:23:10 PM, you wrote:

AF>   謝謝柏鋒兄在 cle-devel 貼的文章,教了大家如何利用 CID Postscript 字型,
AF> 例如 Adobe 利用台灣教育部 (MOE) 製出來那一套,直接在 GNU/Linux 下的 Netscape
AF> 列印中文,不用 bg5ps 等工具了。


AF> ----- Forwarded message from informer@mylinux.cgu.edu.tw -----

AF> From: informer@mylinux.cgu.edu.tw
AF> Date: Sun, 19 Dec 1999 01:56:28 +0800
AF> To: cle-devel@linux.org.tw
AF> Subject: [cle-devel] (fwd) [轉錄]如何在 Netscape 中不用 bg5ps 列印中文
AF> Content-Type: text

AF> Path: tlug.sinica.edu.tw!news2.sinica!freebsd.sinica.edu.tw!freebsd.ntu.edu.tw!fromzero
AF> From: JoeLu@freebsd.ee.ntu.edu.tw (圓顱方趾)
AF> Newsgroups: freebsd.taiwan.chinese
AF> Subject: [轉錄]如何在 Netscape 中不用 bg5ps 列印中文

AF> ※ [本文轉錄自 386BSD 看板]

AF> 發信人: bearscorp.bbs@bbs.life.nthu.edu.tw (無責任學長), 看板: 386BSD
AF> 標  題: 如何在 Netscape 中不用 bg5ps 列印中文

AF>     要讓 Ghostscript 使用中文 postscript 字型其實
AF>     很早就可以做, 主要是用 type 0 composite font.
AF>     因為 type 1 的 font 只能有 256 個字元, 因此對
AF>     於中文日文等, 就一定要用 type 0 composite font,
AF>     把許多 type 1 的字型拼起來, 許多 tex 系統就是
AF>     這樣做的. 日本人很早就有人推出 free 的 PS fonts,
AF>     就是用 type 0 font.

AF>     中文原本也可以做, 不過可能是因為太麻煩了, 一直
AF>     沒有一個方便的套件推出. 我一直想要直接由 Netscape
AF>     列印中文, bg5ps 一類的套件雖然可以用, 可是多一套
AF>     手續就是不方便.

It seems BP use PS font to do Chinese print as well as TLC.

If you look at ifcss.org or any of its mirror site, under
ftp://ftp.ifcss.org/pub/software/fonts/gb/ps/, you will see
a package called gbpfb (Chinese{GB} PostScript fonts) put
together by Chen Xiangyang (I don't know who he is ;).

What it does is converting a Chinese true type font to a Postscript
font (a bunch of type 1 fonts, 128 per set. Maybe something can be
done to pack the font set to a single file, Type 0?). The readme file
gives a pretty good description on what it did. It also includes
a script called ns2cps. This script will convert a normal PS
file to a cps which use chinese ps font for Chinese characters.
This looks like a more sane approach to the Chinese printing
problem under Unix. If it sits before lpr command (a wrap around lpr
that call this ns2cps before actually do the lpr thing), We can do any
Chinese ps printing easily without hacks. Of cause we need to add
Big5 support if we really use this approach. But I don't know much
about PostScript and printing, so please feel free to criticise.
The package at ifcss.org dated April 1998. I don't know if there
is a later version out there. I did not mentioned it before is because
that there were no Free Chinese TTF before Arphic's great move.

Anyway, there are some tools at http://www.fontlab.com which
do convertion from TTF to PS1 too. Free demo for evaluation,
Windows/Mac . (A test using a 938KB RichStone GB TTF to ps1
seems okey but it runs slow on my 32MB RAM box. The result is a 4.65MB
pfb file and a 491KB .afm file. Using ScanFont on the site.)

Since Arphic released some very good TTF fonts, it is possible
to do the convert without license issue.

Best regards,
 hashao                            mailto:hashao@telebot.com



Reply to: