defoma 不能正确处理gbk?
我使用defoma处理simsun, hints文件如下:
category truetype
begin /usr/share/fonts/truetype/sim/simsun.ttf
Family = Sim-Song
FontName = Song-Medium
Encoding = Unicode
Location = Chinese-China English
Charset = ISO10646-1 GBK GB2312 ISO8859-1 BIG5
UniCharset = GBK GB2312 ISO8859-1
GeneralFamily = Song
Weight = Medium
Width = Fixed
Shape = Upright
Alias = SimSun
Foundry = Sim
Priority = 20
X-Family = SimSun
X-ElementAlias = foundry=default:family=song:resx=72:resy=72
TTCap = halfwidth-bw=0.5 italic-angle=0.167 no-roblique no-oblique
no-ritalic
end
结果defoma将fonts.dir中simsun gbk的行前面加了bw=0.5, 然后X就只显示左半个汉字了.
需要手工编辑fonts.dir才行.
请问是defoma的问题还是我的hints文件的问题? 谢谢.
N�
I@R 隊[hu�w!�w�z������y�����aj˛���r��y:蹹^
��e��j��X���n&���
Reply to: