当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 为什么我用ubuntu twweak恢复了默认字体,但是依然很丑?
帖子发表于 : 2012-06-01 16:00 

注册: 2012-05-10 16:10
帖子: 5
送出感谢: 0 次
接收感谢: 0 次
我更新语言支持后,字体就变得很丑了,用了ubuntu tweak字体看似调过来了,但实际上比默认差远了,有谁能告诉我什么原因?有什么好的办法恢复ubuntu默认字体,而且即时生效,最好是手动备份配置文件的方式,最后问一下:ubuntu默认字体配置文件位置在哪里,谢谢^-^,


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 为什么我用ubuntu twweak恢复了默认字体,但是依然很丑?
帖子发表于 : 2012-06-01 16:09 
头像

注册: 2009-12-12 19:29
帖子: 5059
地址: 随便一个地方
系统: 本地大型发行版除外
送出感谢: 0 次
接收感谢: 166
建议使用GNOME Tweak Tool。


_________________
Github见!


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 为什么我用ubuntu twweak恢复了默认字体,但是依然很丑?
帖子发表于 : 2012-06-01 16:23 
头像

注册: 2011-04-03 10:01
帖子: 981
地址: 帝都
系统: Ubuntu 12.XX
送出感谢: 28
接收感谢: 18
自己写一个 .fonts.conf 放到家目录下
喜欢就拿去 :em11
[xml]
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

<!-- Ubuntu options: lcdnone, lcddefault, lcdlight, lcdlegacy -->
<!-- hintnone, hintslight, hintmedium, hintfull -->
<!-- autohint off: https://bugs.launchpad.net/ubuntu/+sour ... omments/14 -->
<!-- Blurry fonts: Try rgb, bgr, vrgb, vbgr for "rgba" -->
<!-- Blurry: http://forums.gentoo.org/viewtopic-p-50 ... ml#5060979 -->
<match target="font" >
<!--已使用dconf-editor进行管理-->
<!--dconf-editor中可以设置rgba-order为rgba,而在这设置rgba时虽然对我的LCD起作用,但系统提示不认识,如输入fc-match sans-serif会发出警告-->
<!--<edit name="rgba" mode="assign" ><const>rgba</const></edit>-->
<edit name="autohint" mode="assign"><bool>false</bool></edit>
<edit name="antialias" mode="assign"><bool>true</bool></edit>
<edit name="hinting" mode="assign"><bool>true</bool></edit>
<edit name="hintstyle" mode="assign"><const>hintnone</const></edit>
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
</match>

<match target="font">
<!--对粗体关闭自动微调-->
<test name="weight" compare="more">
<const>medium</const>
</test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>

<match target="pattern">
<!--对小于10号的字体关闭反锯齿-->
<test qual="any" name="size" compare="less_eq">
<int>10</int>
</test>
<edit name="antialias" mode="assign"><bool>false</bool></edit>
</match>
<!--Global settings for Display Size/DPI-->
<match target="pattern">
<edit name="dpi" mode="assign" >
<double>96</double>
</edit>
</match>

<!-- created by WenQuanYi FcDesigner v0.5 -->
<match>
<test name="family"><string>sans-serif</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Sans</string>
<string>Bitstream Vera Sans</string>
<string>WenQuanYi Micro Hei</string>
<string>Adobe Heiti Std</string>
<string>Droid Sans Fallback</string>
<string>Droid Sans</string><!--会导致LibreOffice方块字-->
<string>WenQuanYi Zen Hei</string>
<string>Adobe Kaiti Std</string>
<string>AR PL KaitiM GB</string>
<string>AR PL UKai CN</string>
<string>AR PL UKai HK</string>
<string>AR PL UKai TW</string>
<string>AR PL UKai TW MBE</string>
<string>Liberation Sans</string>
<string>FreeSans</string>
</edit>
</match>
<match>
<test name="family"><string>serif</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Serif</string>
<string>Bitstream Vera Serif</string>
<string>AR PL SungtiL GB</string>
<string>Adobe Song Std</string>
<string>Droid Serif</string>
<string>Adobe Fangsong Std</string>
<string>AR PL UMing CN</string>
<string>AR PL UMing HK</string>
<string>AR PL UMing TW</string>
<string>AR PL UMing TW MBE</string>
<string>HYSong</string>
<string>AR PL ShanHeiSun Uni</string>
<string>AR PL New Sung</string>
<string>WenQuanYi Bitmap Song</string>
<string>AR PL UKai CN</string>
<string>AR PL ZenKai Uni</string>
</edit>
</match>
<match>
<test name="family"><string>monospace</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>DejaVu Sans Mono</string>
<string>Bitstream Vera Sans Mono</string>
<string>Ubuntu Mono</string>
<string>WenQuanYi Micro Hei Mono</string>
<string>WenQuanYi Zen Hei Mono</string>
<string>Droid Sans Mono</string>
<string>FreeMono</string>
<string>Liberation Sans Mono</string>
<string>WenQuanYi Zen Hei Sharp</string>
<string>Bitstream Charter</string>
<string>Century Schoolbook L</string>
</edit>
</match>

<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>sans-serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>sans serif</string><!--去掉了减号-->
</edit>
</match>
<!-- <alias>
<family>serif</family>
<prefer>
<family>DejaVu Serif</family>
<family>WenQuanYi Zen Hei</family>
<family>WenQuanYi Bitmap Song</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>WenQuanYi Zen Hei</family>
<family>DejaVu Sans</family>
<family>WenQuanYi Bitmap Song</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
<family>WenQuanYi Zen Hei Mono</family>
<family>WenQuanYi Bitmap Song</family>
</prefer>
</alias>-->
</fontconfig>
[/xml]


_________________
Ubuntu技巧汇总http://wiki.ubuntu.org.cn/UbuntuSkills --你遇到的各种问题可能已经在里面了
我的技术博客http://www.cherrot.com
Code tells you how, comments should tell you why.


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译