Re: an incompitable feature in x-ttcidfont-conf and GBK code-set
On Thu, Jan 17, 2002 at 11:23:07PM +0800, Carlos Liu wrote:
> 我在用x-ttcidfont-conf處理GBK時,發現生成的fonts.dir中,GBK的設置會在行首加上"bw=0.5:",導致中文字符的width跟英文字符一樣,變成一堆字符重疊在一起,而設為gb2312則無此問題,見下三行:
> bw=0.5:simsun.ttc -dynalab-simsun-medium-r-normal--0-0-0-0-c-0-iso8859-1
> bw=0.5:simsun.ttc -dynalab-simsun-medium-r-normal--0-0-0-0-c-0-gbk-0
> simsun.ttc -dynalab-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0
>
> simsun的hints file內容如下:
> category truetype
> begin /usr/share/fonts/truetype/dynalab/simsun.ttc
....
> X-Family = SimSun
> X-Weight = medium
> X-ElementAlias = foundry=default:family=simsun:resx=72:resy=72
> TTCap = halfwidth-bw=0.5 italic-angle=0.167 no-roblique no-oblique no-ritalic
> end
>
> 我目前的解決方法就是每次reregister-all後手動去掉gbk行首的"bw=0.5:"
> 使用debian時間尚短,所以也不知道是自己設置錯誤還是x-ttcidfont-conf的bug
> 請指正
>
seems that defoma knows about gb2312 but do not know gbk. So when
it see a gb2312, it will not prepend the halfwidth-bw. Since it
does not know gbk, the bw is prepend as any other half width font
for a gbk font.
Fill a bug report to defoma or patch defoma if you want to spend
some time on it.
--
hashao| 夫戰勝攻取而不修其功者兇,命曰“費留”。故曰:明主慮之,良將修
hashao| 之,非利不動,非得不用,非危不戰。
--
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
| This message was re-posted from debian-chinese-gb@lists.debian.org
| and converted from gb2312 to big5 by an automatic gateway.
Reply to: