锁定老帖子 主题:放弃不了的windows
精华帖 (0) :: 良好帖 (0) :: 灌水帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2007-07-01
字体用windows下的simsun最舒服,楼主你没有设置好,不过不怪你,这个有技巧的,挺麻烦。我的环境是ubuntu edgy,除叻要把simsun.ttc拷贝到/usr/share/fonts/zh_CN/TrueType并且在/usr/share/fonts下fc-cache一下之外,最关键的是还要建立/etc/fonts/local.conf文件,内容如下:
<?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <!-- This is local.conf or .font.conf file, see http://cocooker.gro.clinux.org for detail --> <!-- The following are from previous fonts.conf file, by wuler 2006.03.16 --> <!-- Provide required aliases for standard names --> <alias> <family>serif</family> <prefer> <family>Bitstream Vera Serif</family> <family>Times New Roman</family> <family>Thorndale AMT</family> <family>Luxi Serif</family> <family>Nimbus Roman No9 L</family> <family>Times</family> <family>SimSun</family> <family>MingLiu</family> <family>AR PL New Sung</family> </prefer> </alias> <alias> <family>sans-serif</family> <prefer> <family>Bitstream Vera Sans</family> <family>Luxi Sans</family> <family>Nimbus Sans L</family> <family>Arial</family> <family>Albany AMT</family> <family>Helvetica</family> <family>Verdana</family> <family>SimSun</family> <family>MingLiu</family> <family>AR PL New Sung</family> </prefer> </alias> <alias> <family>monospace</family> <prefer> <family>Bitstream Vera Sans Mono</family> <family>Luxi Mono</family> <family>Nimbus Mono L</family> <family>Andale Mono</family> <family>Courier New</family> <family>Cumberland AMT</family> <family>Courier</family> <family>NSimSun</family> <family>PMingLiu</family> <family>AR PL New Sung</family> </prefer> </alias> <!-- Only for Debian/Ubuntu, since fontconfig matches sans-serif firstly for SmSun other than some english font. --> <match target="pattern"> <test compare="contains" name="lang"> <string>zh</string> </test> <edit name="lang" mode="prepend"> <string>en</string> </edit> </match> <!-- The following are from Mandriva 2006 /etc/fonts/conf.d/ , by wuler 2005.11.21 --> <!-- Some Asian fonts misadvertise themselves as monospaced when in fact they are dual-spaced (half and full). This makes FreeType very confused as it forces all widths to match. Undo this magic by disabling the width forcing code --> <match target="font"> <test target="pattern" name="lang" compare="contains"> <string>zh-tw</string> <string>zh-cn</string> <string>ja</string> <string>ko</string> </test> <edit name="spacing"> <const>proportional</const> </edit> <edit name="globaladvance"> <bool>false</bool> </edit> </match> <!-- Fonts for which antialiasing has to be disabled at small sizes --> <match target="font"> <test name="family"> <string>Raghindi</string> </test> <test name="size" compare="less"> <double>11</double> </test> <edit name="antialias"> <bool>false</bool> </edit> </match> <match target="font"> <test name="family" qual="any"> <string>AR PL New Sung</string> <string>SimSun</string> <string>NSimSun</string> <string>MingLiu</string> <string>PMingLiu</string> <string>宋体</string> <string>新宋体</string> </test> <test name="pixelsize" compare="less_eq"> <double>12</double> </test> <edit name="pixelsize" mode="assign"> <double>12</double> </edit> </match> <match target="font"> <test name="family" qual="any"> <string>AR PL New Sung</string> <string>SimSun</string> <string>NSimSun</string> <string>MingLiu</string> <string>PMingLiu</string> <string>宋体</string> <string>新宋体</string> </test> <test name="pixelsize" compare="less_eq"> <double>16</double> </test> <edit name="antialias"> <bool>false</bool> </edit> </match> <!-- Fonts for which the hinting must be disabled --> <match target="font"> <test name="family"> <string>Likhan</string> <string>Mukti Narrow</string> <string>Raghindi</string> </test> <edit name="hinting"> <bool>false</bool> </edit> </match> <!-- For CJK fonts the hinting gives more often than not bad results, so it is best to be disabled here, until "autofit" is included in freetype --> <match target="pattern"> <test name="lang" compare="contains"> <string>zh-tw</string> <string>zh-cn</string> <string>ja</string> <string>ko</string> </test> <edit name="hinting" mode="assign"> <bool>false</bool> </edit> </match> </fontconfig> 这个文件大概意思比较好理解,主要是消灭自带的丑陋中文字体并且处理宋体的粗体为黑体。 只用Linux不用windows3年多叻,一般应用和开发用linux是最爽的,特殊应用就不得不被逼着用windows叻(比如网上支付、炒股票等等)。不过搞笑的是,我老婆的纯种windows经常中病毒,每次要网上支付都来用我的linux,vmware到windows下。 BTW: VirtualBox现在比Vmware好,完全免费,对debian/ubuntu支持的也狠不错,速度快占资源少,用虚拟机可以考虑舍弃vmware叻 |
|
返回顶楼 | |
发表时间:2007-07-01
字体用stheiti美化,苹果黑体,比Windows的宋体好看了不知道多少亚
|
|
返回顶楼 | |
发表时间:2007-07-01
gigix 写道 字体用stheiti美化,苹果黑体,比Windows的宋体好看了不知道多少亚
非常不错 |
|
返回顶楼 | |
发表时间:2007-07-01
chillwarmoon 写道 冉翔 写道 关于chm,linux下比较出名的有xchm和chmsee,我用起来觉得都挺好的啊. 下载了xchm,很好用,支持一下!! kchmviewer相对更好一些 |
|
返回顶楼 | |
发表时间:2007-07-02
都不知道lz要干什么
一个不花钱系统有大把程序员需要的功能,还不满足... 何况熟悉linux还能当个事儿说 你要linux适应你,那么你该先适应它 |
|
返回顶楼 | |
发表时间:2007-07-02
弱弱的问一下 在linux下玩CS或者SC怎么玩
|
|
返回顶楼 | |
发表时间:2007-07-02
ddandyy 写道 弱弱的问一下 在linux下玩CS或者SC怎么玩
wine 这俩我都玩 |
|
返回顶楼 | |
发表时间:2007-07-02
恩恩 正好昨天刚升级了一下CPU 装个新系统试试
你们都是用那个什么U...T 什么的是吧 回去下载一个 官方网站就有下载的吧 还有gigi说的wine需要另外单独下么 |
|
返回顶楼 | |
发表时间:2007-07-02
ddandyy 写道 恩恩 正好昨天刚升级了一下CPU 装个新系统试试
你们都是用那个什么U...T 什么的是吧 回去下载一个 官方网站就有下载的吧 还有gigi说的wine需要另外单独下么 ubuntu: http://ubuntu.group.iteye.com/ |
|
返回顶楼 | |
发表时间:2007-07-02
我的是fedora6系统,我在这个系统里边已经将下载的stheiti字体文件copy到/usr/share/fonts/zh_CN/TrueType,在firefox下也能够选择stheiti字体,但是选择之后就把默认的英文字体给替换掉了,我想这个和字体的配置顺序是有关的,但是在查看/etc/fonts/conf.avail和目录/etc/fonts/conf.d两个配置目录,试着改变 <alias>
<family>serif</family> <prefer> </prefer> </alias> 其中prefer子元素的顺序,将<family>STHeiti</family>加入,也执行了sudo fc-cache -f -v操作,但是最后还是没有办法更改加载顺序。选择serif为默认字体,并不自动匹配到STHeiti,不知道是怎么回事. |
|
返回顶楼 | |