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

Re: [DOC] Poorman's Chinese Type1 font for CJK-latex



On Sat, May 19, 2001 at 09:20:32AM +0800, Edward Lee wrote:
>   Hello, foka 兄 和 Rigel 兄:
> 
>   我訂了 pdftex 的 mailing list,正在消化二、三年份的 archives,不
>   過先看了一下 Werner LEMBERG 和 Otfried Cheong 的討論,似乎直接使
>   用 TTF 才是正途,但我一直試不出來,不知道 Rigel 兄 能否再提示一
>   下,會出現:
> 
> Warning: pdflatex (file bsmi00lp.ttf): cannot read key `FontName' from font
> file, used value from map file <bsmi00lp01.enc>
> Warning: pdflatex (file bsmi00lp.ttf): cannot open TrueType font file for
> reading

  呵呵,這個我昨天晚上試到了!只是沒有垂直字型 (rotate font?),也沒有
SlantFont ... 除此以外,效果相當不錯。 :-)  另外,請確定你的 pdftex 版本
夠新。我用的是 0.14f,而目前最新版本是本年四月釋出的 0.14h。

>   pdftex 的版本是 pdfTeX (Web2C 7.3.1) 3.14159-0.13d。

  0.13d……嗯,可能未有直接讀 TTF 的功能?或是其他問題?
我在 arphic.map 加的 entries 是這樣的:

bkai01 ZenKai-Medium-01 <bkai01.enc <bkai00mp.ttf
bsmi01 ShanHeiSun-Light-01 <bsmi01.enc <bsmi00lp.ttf

其中, ZenKai-Medium-01 和 ShanHeiSun-Light-01 都是 optional,可以不加。
我貪心加進去罷了。 :-)

另外,也要確定 libkpathsea 找得到你的 ttf 字型檔。例:

	$ kpsewhich bsmi00lp.ttf
	/usr/share/texmf/fonts/truetype/arphic/bsmi00lp.ttf

我的 bsmi00lp.ttf 其實是放了在 /usr/share/fonts/truetype/arphic/ 底下,
但在 /usr/share/texmf/fonts/truetype/arphic/ 也加了個 symlink。

>   BTW, foka 兄是否知道 CJK 有沒有 mailing list?找不到?

	http://cjk.ffii.org/
	http://ffii.org/mailman/listinfo/cjk  <-- 在此訂閱

	訂閱後,往 cjk@ffii.org 寄信。 :-)

					東東

-- 
Anthony Fok Tung-Ling                Civil and Environmental Engineering
foka@ualberta.ca, foka@debian.org    University of Alberta, Canada
   Debian GNU/Linux Chinese Project -- http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp -- http://www.olvc.ab.ca/



Reply to: