[原创]搞定Ubuntu字体,让你感觉像在windows中

系统字体配置、中文显示和输入法问题
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

#61

帖子 daf3707 » 2007-07-18 14:30

bei ni wan le,chong qi quan shi fang kuang.root youhu chmod 644 dou bu xing.
zhi you chong zhuang.di si ci chong zhuang,wo hai mei you 24 xiao shii ne
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

#62

帖子 daf3707 » 2007-07-18 15:06

不能行,现在系统重装中,是在live CD引用的其他机器才能打汉字。先来说说。
我也拷贝了字体,不过是sudo的,
还没有修改那个conf文件呢,只是
mkfontsdir
mkfontcale
fc-cache
之类,于是到了系统设置-字体里看了一下,确有宋体。选中宋体,下面那个预览就乱码,赶紧退出。结果,打开终端就乱码。按你说的chmod 644 *
也是一样,重启X,完了,乱码加对话框。重启安全模式,chmod 644 *也是一样,登录root也是乱码
liveCD修复好麻烦,
重装!
唉我的第三次重装还不到12个小时,今天早上刚弄好的。
头像
daf3707
论坛版主
帖子: 12739
注册时间: 2007-06-13 15:57
来自: 在他乡

#63

帖子 daf3707 » 2007-07-18 15:20

系统继续重装中,现在硬盘安装完毕,只待更新。
分辨率正常,85HZ不闪,
源换了CN99的,语言更新完毕,可能使用五笔了。
只有103个软件在更新,还要装一些常用的软件如时钟、compiz效果,窗口修饰器
永中office己安装成功了。
真的,这样的文章不要加精。害人不浅,
有人成功,但还有漏洞。当然分享的精神还是好的!
manhua4
帖子: 9
注册时间: 2007-06-28 2:30

#64

帖子 manhua4 » 2007-08-01 11:31

/usr/share/fonts/这个目录下没有 zh_CN/ 文件夹,是不是写错了阿
colorpi
帖子: 125
注册时间: 2005-12-02 22:08
来自: 毛里求虱

#65

帖子 colorpi » 2007-08-02 18:07

:lol: 看了后面兄弟们的回复,我实在忍不住笑了。
各位兄弟,改字体选择顺序得先弄明白原理再改啊,别人云亦云啊,每台机器的配置都是不同的。人家给出的是原理,你得按你自己机器的实际配置来改啊。
头像
email_liu
帖子: 21
注册时间: 2007-08-11 22:19

#66

帖子 email_liu » 2007-08-16 15:09

:D :D :D :D
bailing_0105
帖子: 18
注册时间: 2008-04-14 17:37

#67

帖子 bailing_0105 » 2008-04-25 19:33

Don't need to change configure file!
restart x-window and do next step !
ok!
Athlon64
帖子: 72
注册时间: 2006-04-13 13:43

#68

帖子 Athlon64 » 2008-04-25 19:54

如果配置好的话,Linux 的字体要比 Windows 好看得多
tooth8657
帖子: 7
注册时间: 2008-04-28 15:02

#69

帖子 tooth8657 » 2008-05-09 10:10

稍微说一句不中听的~
LZ的发帖反映了我们这一代的特点:有热情、不严谨。这个帖子有太多细节,会给阅读者造成困惑。

与各位共勉。
itsys
帖子: 11
注册时间: 2008-05-08 15:21

#70

帖子 itsys » 2008-05-09 12:46

既然在LINUX下为什么要找在WINDOWS下的感觉 。不过可以练练手。
头像
winjie0618
帖子: 149
注册时间: 2008-03-10 16:27
来自: 山东

#71

帖子 winjie0618 » 2008-05-09 19:56

All right.Maybe I will try it.
filEiNfo
帖子: 3
注册时间: 2008-05-07 14:08

#72

帖子 filEiNfo » 2008-05-10 18:23

没必要这么麻烦吧
myfreeway
帖子: 14
注册时间: 2008-05-16 17:41

我的fonts.conf

#73

帖子 myfreeway » 2008-05-17 22:11

8.04版,新装的系统哦

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/fonts.conf file to configure system font access -->
<fontconfig>

<!--
DO NOT EDIT THIS FILE.
IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
LOCAL CHANGES BELONG IN 'local.conf'.

The intent of this standard configuration file is to be adequate for
most environments. If you have a reasonably normal environment and
have found problems with this configuration, they are probably
things that others will also want fixed. Please submit any
problems to the fontconfig bugzilla system located at fontconfig.org

Note that the normal 'make install' procedure for fontconfig is to
replace any existing fonts.conf file with the new version. Place
any local customizations in local.conf which this file references.

Keith Packard
-->

<!-- Font directory list -->

<dir>/usr/share/fonts</dir>
<dir>/usr/share/X11/fonts</dir> <dir>/usr/local/share/fonts</dir>
<dir>~/.fonts</dir>

<!--
Accept deprecated 'mono' alias, replacing it with 'monospace'
-->
<match target="pattern">
<test qual="any" name="family">
<string>mono</string>
</test>
<edit name="family" mode="assign">
<string>monospace</string>
</edit>
</match>

<!--
Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'
-->
<match target="pattern">
<test qual="any" name="family">
<string>sans serif</string>
</test>
<edit name="family" mode="assign">
<string>sans-serif</string>
</edit>
</match>

<!--
Accept deprecated 'sans' alias, replacing it with 'sans-serif'
-->
<match target="pattern">
<test qual="any" name="family">
<string>sans</string>
</test>
<edit name="family" mode="assign">
<string>sans-serif</string>
</edit>
</match>

<!--
Load local system customization file
-->
<include ignore_missing="yes">conf.d</include>

<!-- Font cache directory list -->

<cachedir>/var/cache/fontconfig</cachedir>
<cachedir>~/.fontconfig</cachedir>

<config>
<!--
These are the default Unicode chars that are expected to be blank
in fonts. All other blank chars are assumed to be broken and
won't appear in the resulting charsets
-->
<blank>
<int>0x0020</int> <!-- SPACE -->
<int>0x00A0</int> <!-- NO-BREAK SPACE -->
<int>0x00AD</int> <!-- SOFT HYPHEN -->
<int>0x034F</int> <!-- COMBINING GRAPHEME JOINER -->
<int>0x0600</int> <!-- ARABIC NUMBER SIGN -->
<int>0x0601</int> <!-- ARABIC SIGN SANAH -->
<int>0x0602</int> <!-- ARABIC FOOTNOTE MARKER -->
<int>0x0603</int> <!-- ARABIC SIGN SAFHA -->
<int>0x06DD</int> <!-- ARABIC END OF AYAH -->
<int>0x070F</int> <!-- SYRIAC ABBREVIATION MARK -->
<int>0x115F</int> <!-- HANGUL CHOSEONG FILLER -->
<int>0x1160</int> <!-- HANGUL JUNGSEONG FILLER -->
<int>0x1680</int> <!-- OGHAM SPACE MARK -->
<int>0x17B4</int> <!-- KHMER VOWEL INHERENT AQ -->
<int>0x17B5</int> <!-- KHMER VOWEL INHERENT AA -->
<int>0x180E</int> <!-- MONGOLIAN VOWEL SEPARATOR -->
<int>0x2000</int> <!-- EN QUAD -->
<int>0x2001</int> <!-- EM QUAD -->
<int>0x2002</int> <!-- EN SPACE -->
<int>0x2003</int> <!-- EM SPACE -->
<int>0x2004</int> <!-- THREE-PER-EM SPACE -->
<int>0x2005</int> <!-- FOUR-PER-EM SPACE -->
<int>0x2006</int> <!-- SIX-PER-EM SPACE -->
<int>0x2007</int> <!-- FIGURE SPACE -->
<int>0x2008</int> <!-- PUNCTUATION SPACE -->
<int>0x2009</int> <!-- THIN SPACE -->
<int>0x200A</int> <!-- HAIR SPACE -->
<int>0x200B</int> <!-- ZERO WIDTH SPACE -->
<int>0x200C</int> <!-- ZERO WIDTH NON-JOINER -->
<int>0x200D</int> <!-- ZERO WIDTH JOINER -->
<int>0x200E</int> <!-- LEFT-TO-RIGHT MARK -->
<int>0x200F</int> <!-- RIGHT-TO-LEFT MARK -->
<int>0x2028</int> <!-- LINE SEPARATOR -->
<int>0x2029</int> <!-- PARAGRAPH SEPARATOR -->
<int>0x202A</int> <!-- LEFT-TO-RIGHT EMBEDDING -->
<int>0x202B</int> <!-- RIGHT-TO-LEFT EMBEDDING -->
<int>0x202C</int> <!-- POP DIRECTIONAL FORMATTING -->
<int>0x202D</int> <!-- LEFT-TO-RIGHT OVERRIDE -->
<int>0x202E</int> <!-- RIGHT-TO-LEFT OVERRIDE -->
<int>0x202F</int> <!-- NARROW NO-BREAK SPACE -->
<int>0x205F</int> <!-- MEDIUM MATHEMATICAL SPACE -->
<int>0x2060</int> <!-- WORD JOINER -->
<int>0x2061</int> <!-- FUNCTION APPLICATION -->
<int>0x2062</int> <!-- INVISIBLE TIMES -->
<int>0x2063</int> <!-- INVISIBLE SEPARATOR -->
<int>0x206A</int> <!-- INHIBIT SYMMETRIC SWAPPING -->
<int>0x206B</int> <!-- ACTIVATE SYMMETRIC SWAPPING -->
<int>0x206C</int> <!-- INHIBIT ARABIC FORM SHAPING -->
<int>0x206D</int> <!-- ACTIVATE ARABIC FORM SHAPING -->
<int>0x206E</int> <!-- NATIONAL DIGIT SHAPES -->
<int>0x206F</int> <!-- NOMINAL DIGIT SHAPES -->
<int>0x2800</int> <!-- BRAILLE PATTERN BLANK -->
<int>0x3000</int> <!-- IDEOGRAPHIC SPACE -->
<int>0x3164</int> <!-- HANGUL FILLER -->
<int>0xFEFF</int> <!-- ZERO WIDTH NO-BREAK SPACE -->
<int>0xFFA0</int> <!-- HALFWIDTH HANGUL FILLER -->
<int>0xFFF9</int> <!-- INTERLINEAR ANNOTATION ANCHOR -->
<int>0xFFFA</int> <!-- INTERLINEAR ANNOTATION SEPARATOR -->
<int>0xFFFB</int> <!-- INTERLINEAR ANNOTATION TERMINATOR -->
</blank>
<!--
Rescan configuration every 30 seconds when FcFontSetList is called
-->
<rescan>
<int>30</int>
</rescan>
</config>

</fontconfig>
wzdjp789
帖子: 89
注册时间: 2008-03-25 8:16

#74

帖子 wzdjp789 » 2008-05-17 22:33

懒的更换字体,wqy还是不错的。
Cris
帖子: 154
注册时间: 2007-10-17 12:18
系统: Win8/Mac OS X 10.8.3
来自: GZ, China

#75

帖子 Cris » 2008-05-17 23:00

何苦呢……
回复