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

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



我在用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
  Family = Dynalab-SimSun
  FontName = SimSun-Medium
  Encoding = Unicode
  Location = English Chinese-China
  Charset = GB2312 GBK ISO8859-1
  GeneralFamily = SimSun
  Weight = Medium
  Width = Fixed
  Shape = Upright
  Alias = Dynalab-SimSunGB DynalabSimSunGB
  Foundry = Dynalab
  Priority = 20
  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
請指正

-- 
 Best Regards,
 Carlos Liu

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
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: