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

Re: an incompitable feature in x-ttcidfont-conf and GBK code-set



On Fri, Jan 18, 2002 at 12:01:37AM +0800, ha shao wrote:
> 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
> 
> 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.
> 

So it is a x-ttcidfont-conf bug. see
/usr/share/defoma/scripts/x-ttcidfont-conf.defoma
line 447

Fill a bug report please.

-- 
hashao|            父老争言雨水匀,眉头不似去年颦。殷勤谢却甑中尘。
hashao|            啼鸟有时能劝客,小桃无赖已撩人。梨花也作白头新。



Reply to: