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

Debian的字型安装。



 hello...
各位Debian的朋友,今天小弟测试一天关于字型安装的部份,

想要跟大家讨论得到最好的答案。

小弟的测试环境是Woody,使用defoma和ttmkfdir这两套来增加ttf的字型。

测试的ttf档案是win2000下的细明体(mingliu)和标楷体(dfkai)以及两套英文字型

arial,times new roman。

首先,先讨论defoma的使用。

1.cd /etc/defoma/hints

2.defoma-hints truetype mingliu.ttf > mingliu.ttf.hints

3.defoma-font reregister-all mingliu.ttf.hints

4.重新启动X-win,xlsfonts就可以看到mingliu的字型了。

ps:小弟对defoma的使用还不是很熟,第一次使用而已,希望

各位能帮我侦错看看有无错误和需要补充的地方。

ttmkfdir的安装过程。

1. ttmkfdir -o fonts.dir

2. cp fonts.dir fonts.scale

3.重新启动X-win就能够支援mingliu的字型了。

结果:

以上是使用下来的结果,而弟还有测试anti-aliasing的部份,

细明体一直搞不定,反而是标楷体可以正常使用,速度也不算太慢。

弟使用IceWM且启动anti-aliasing的功能,对mingliu真的没办法,

可能是XftConfig没有另外设定,但弟目前并不太熟悉XftConfig的设定方法,

未来有空会继续熟悉XftConfig的修改方法。

结果二:

我使用的browser有konqueror,mozilla,galeon。

konqueror 经过 export QT_XFT=true 之后,便可以在非kde的window manager

就能看到anti-aliasing,而mozilla和galeon经过gdk的设定,也可以anti-aliasing

而测试的标楷体表现很好,可以正常显示,但画面会过宽;mingliu是无法anti-
aliasing...

第三:

galeon跟mozilla的字型处理方式似乎不同,使用相同的字型跑出来的画面却不一样,

在anti-aliasing部份,mozilla都可以handle且速度不错;

galeon使用dfkai的时候,画面显示效率很差,甚至不稳会跳出X-win...

无anti-aliasing的部份,mozilla还是很棒;

galeon就更惨了,用细明体就会跳回console,X-win caught signal 11...

所以我移除了galeon,不打算使用了。

额外一点:

anti-aliasing真的很伤眼睛,看久了眼睛相当疲劳...

而弟post此篇主要是能够了解debian在处理字型方面的方法,

希望各位朋友们可以帮忙或是给我解惑,谢谢各位。

最后会将所有的讨论整理起来,造福未来使用Debian的朋友。

-- 
     ------  阿信  ------
   Welcome To Debian World!!
    http://www.debian.org/
     SeXyDebian启动中...

-- 
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.


-- 
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: