QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 568|回复: 5

准备重装Mandrake Linux 9.1!!!

[复制链接]
发表于 2003-7-11 12:55:34 | 显示全部楼层 |阅读模式
由于美化失败!!!我下载了黄嘴企鹅论坛Xft2美化mandrake9.1 的RMP,安装了几个之后就出现了此问题:造成设置中心没有汉字。我是在KDE下装的,有几个提示冲突装不了!
    我想重新安装Mandrake Linux 9.1,有什么要注意的吗?是否可以修复呢?望高手指点!!!
发表于 2003-7-11 13:01:03 | 显示全部楼层
呵呵,和我一样,我是昨天重装的,看来还是quicktime的手动美化稳定而且0.62版的fonts。conf文件在我的机器上显示不正常,我现在还是用的0.5的配置文件,虽然不能显示粗体不过不影响美观,我贴出来供你参考一下:

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

<!--
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 send any suggested
changes to [email protected] so that future releases can include
such changes.

Keith Packard
-->

<!-- Font directory list configured on Mon Sep 9 15:24:30 EDT 2002 -->

<dir>/usr/share/fonts/zh_CN/TrueType/simsun</dir> ==>>这里是你加入simsun字体的路径!!
<dir>/usr/X11R6/lib/X11/fonts/Type1</dir>
<dir>/home/OtherFont</dir>
<dir>~/.fonts</dir>

<!--
Enable sub-pixel rendering
<match target="font">
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
-->
<match target="font">
<test qual="any" name="pixelsize" compare="less"><double>17</double></test>
&lt;edit name="antialias" mode="assign"&gt;<bool>false</bool>&lt;/edit&gt;
&lt;/match&gt;
&lt;!--
Accept deprecated 'mono' alias, replacing it with 'monospace'
--&gt;
&lt;match target="pattern"&gt;
&lt;test qual="any" name="family"&gt;
&lt;string&gt;mono&lt;/string&gt;
&lt;/test&gt;
&lt;edit name="family" mode="assign"&gt;
&lt;string&gt;monospace&lt;/string&gt;
&lt;/edit&gt;
&lt;/match&gt;

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

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

&lt;!--
Mark common families with their generics so we'll get
something reasonable
--&gt;

&lt;!--
Serif faces
--&gt;
&lt;alias&gt;
&lt;family&gt;Tahoma&lt;/family&gt;
&lt;family&gt;Simsun&lt;/family&gt;
&lt;family&gt;Times&lt;/family&gt;
&lt;family&gt;Times New Roman&lt;/family&gt;
&lt;family&gt;Nimbus Roman No9 L&lt;/family&gt;
&lt;family&gt;Luxi Serif&lt;/family&gt;
&lt;family&gt;Kochi Mincho&lt;/family&gt;
&lt;family&gt;AR PL SungtiL GB&lt;/family&gt;
&lt;family&gt;AR PL Mingti2L Big5&lt;/family&gt;
&lt;family&gt;Baekmuk Batang&lt;/family&gt;
&lt;default&gt;&lt;family&gt;serif&lt;/family&gt;&lt;/default&gt;
&lt;/alias&gt;
&lt;!--
Sans-serif faces
--&gt;
&lt;alias&gt;
&lt;family&gt;Tahoma&lt;/family&gt;
&lt;family&gt;SimSun&lt;/family&gt;
&lt;family&gt;Helvetica&lt;/family&gt;
&lt;family&gt;Arial&lt;/family&gt;
&lt;family&gt;Verdana&lt;/family&gt;
&lt;family&gt;Nimbus Sans L&lt;/family&gt;
&lt;family&gt;Luxi Sans&lt;/family&gt;
&lt;family&gt;Kochi Gothic&lt;/family&gt;
&lt;family&gt;AR PL KaitiM GB&lt;/family&gt;
&lt;family&gt;AR PL KaitiM Big5&lt;/family&gt;
&lt;family&gt;Baekmuk Dotum&lt;/family&gt;
&lt;default&gt;&lt;family&gt;sans-serif&lt;/family&gt;&lt;/default&gt;
&lt;/alias&gt;
&lt;!--
Monospace faces
--&gt;
&lt;alias&gt;
&lt;family&gt;Tahoma&lt;/family&gt;
&lt;family&gt;NSimSun&lt;/family&gt;
&lt;family&gt;Courier&lt;/family&gt;
&lt;family&gt;Courier New&lt;/family&gt;
&lt;family&gt;Andale Mono&lt;/family&gt;
&lt;family&gt;Luxi Mono&lt;/family&gt;
&lt;family&gt;Nimbus Mono L&lt;/family&gt;
&lt;default&gt;&lt;family&gt;monospace&lt;/family&gt;&lt;/default&gt;
&lt;/alias&gt;
&lt;!--
If the font still has no generic name, add sans-serif
--&gt;
&lt;match target="pattern"&gt;
&lt;test qual="all" name="family" compare="not_eq"&gt;
&lt;string&gt;sans-serif&lt;/string&gt;
&lt;/test&gt;
&lt;test qual="all" name="family" compare="not_eq"&gt;
&lt;string&gt;serif&lt;/string&gt;
&lt;/test&gt;
&lt;test qual="all" name="family" compare="not_eq"&gt;
&lt;string&gt;monospace&lt;/string&gt;
&lt;/test&gt;
&lt;edit name="family" mode="append_last"&gt;
&lt;string&gt;sans-serif&lt;/string&gt;
&lt;/edit&gt;
&lt;/match&gt;

&lt;!--
Load per-user customization file
--&gt;
<include ignore_missing="yes">~/.fonts.conf</include>

&lt;!--
Load local system customization file
--&gt;
<include ignore_missing="yes">local.conf</include>

&lt;!--
Alias well known font names to available TrueType fonts
--&gt;
&lt;alias&gt;
&lt;family&gt;Times&lt;/family&gt;
&lt;accept&gt;&lt;family&gt;Times New Roman&lt;/family&gt;&lt;/accept&gt;
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;Helvetica&lt;/family&gt;
&lt;accept&gt;&lt;family&gt;Verdana&lt;/family&gt;&lt;/accept&gt;
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;Arial&lt;/family&gt;
&lt;accept&gt;&lt;family&gt;Verdana&lt;/family&gt;&lt;/accept&gt;
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;Courier&lt;/family&gt;
&lt;accept&gt;&lt;family&gt;Courier New&lt;/family&gt;&lt;/accept&gt;
&lt;/alias&gt;

&lt;!--
Provide required aliases for standard names
--&gt;
&lt;alias&gt;
&lt;family&gt;serif&lt;/family&gt;
<prefer>
&lt;family&gt;Tahoma&lt;/family&gt;
&lt;family&gt;Simsun&lt;/family&gt;
&lt;family&gt;Nimbus Roman No9 L&lt;/family&gt;
&lt;family&gt;Luxi Serif&lt;/family&gt;
&lt;family&gt;Kochi Mincho&lt;/family&gt;
&lt;family&gt;ZYSong18030&lt;/family&gt;
&lt;family&gt;AR PL SungtiL GB&lt;/family&gt;
&lt;family&gt;AR PL Mingti2L Big5&lt;/family&gt;
&lt;family&gt;Baekmuk Batang&lt;/family&gt;
&lt;family&gt;Times New Roman&lt;/family&gt;
&lt;family&gt;Times&lt;/family&gt;
</prefer>
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;sans-serif&lt;/family&gt;
<prefer>
&lt;family&gt;Tahoma&lt;/family&gt;
&lt;family&gt;SimSun&lt;/family&gt;
&lt;family&gt;Luxi Sans&lt;/family&gt;
&lt;family&gt;Nimbus Sans L&lt;/family&gt;
&lt;family&gt;Helvetica&lt;/family&gt;
&lt;family&gt;Kochi Gothic&lt;/family&gt;
&lt;family&gt;ZYSong18030&lt;/family&gt;
&lt;family&gt;AR PL SungtiL GB&lt;/family&gt;
&lt;family&gt;AR PL Mingti2L Big5&lt;/family&gt;
&lt;family&gt;Baekmuk Gulim&lt;/family&gt;
&lt;family&gt;Verdana&lt;/family&gt;
&lt;family&gt;Arial&lt;/family&gt;

</prefer>
&lt;/alias&gt;
&lt;alias&gt;
&lt;family&gt;monospace&lt;/family&gt;
<prefer>
&lt;family&gt;Tahoma&lt;/family&gt;
&lt;family&gt;Simsun&lt;/family&gt;
&lt;family&gt;Luxi Mono&lt;/family&gt;
&lt;family&gt;Nimbus Mono L&lt;/family&gt;
&lt;family&gt;Kochi Gothic&lt;/family&gt;
&lt;family&gt;ZYSong18030&lt;/family&gt;
&lt;family&gt;AR PL SungtiL GB&lt;/family&gt;
&lt;family&gt;AR PL Mingti2L Big5&lt;/family&gt;
&lt;family&gt;Baekmuk Gulim&lt;/family&gt;
&lt;family&gt;Andale Mono&lt;/family&gt;
&lt;family&gt;Courier New&lt;/family&gt;
</prefer>
&lt;/alias&gt;

&lt;!--
We can't hint CJK fonts well, so turn off hinting for CJK fonts.
--&gt;

&lt;match target="font"&gt;
&lt;test name="lang" compare="contains"&gt;
&lt;string&gt;ja&lt;/string&gt;
&lt;/test&gt;
&lt;edit name="hinting" mode="assign"&gt;
<bool>false</bool>
&lt;/edit&gt;
&lt;!-- the rh_prefer_bitmaps options (a nonstandard
Red Hat extension), controls whether embedded
bitmaps, when available are preferred
to antialiased rendering. For Japanese,
we prefer antialiased rendering --&gt;
&lt;edit name="rh_prefer_bitmaps" mode="assign"&gt;
<bool>false</bool>
&lt;/edit&gt;
&lt;/match&gt;
&lt;match target="font"&gt;
&lt;test name="lang" compare="contains"&gt;
&lt;string&gt;ko&lt;/string&gt;
&lt;/test&gt;
&lt;edit name="hinting" mode="assign"&gt;
<bool>false</bool>
&lt;/edit&gt;
&lt;/match&gt;
&lt;match target="font"&gt;
&lt;test name="lang" compare="contains"&gt;
&lt;string&gt;zh&lt;/string&gt;
&lt;/test&gt;
&lt;edit name="hinting" mode="assign"&gt;
<bool>true</bool>
&lt;/edit&gt;
&lt;/match&gt;

&lt;!--
Artificial oblique for fonts without an italic or oblique version
--&gt;

&lt;match target="font"&gt;
&lt;!-- check to see if the font is roman --&gt;
&lt;test name="slant"&gt;
&lt;const&gt;roman&lt;/const&gt;
&lt;/test&gt;
&lt;!-- check to see if the pattern requested non-roman --&gt;
&lt;test target="pattern" name="slant" compare="not_eq"&gt;
&lt;const&gt;roman&lt;/const&gt;
&lt;/test&gt;
&lt;!-- multiply the matrix to slant the font --&gt;
&lt;edit name="matrix" mode="assign"&gt;
&lt;times&gt;
&lt;name&gt;matrix&lt;/name&gt;
&lt;matrix&gt;&lt;double&gt;1&lt;/double&gt;&lt;double&gt;.2&lt;/double&gt;
&lt;double&gt;0&lt;/double&gt;&lt;double&gt;1&lt;/double&gt;
&lt;/matrix&gt;
&lt;/times&gt;
&lt;/edit&gt;
&lt;!-- pretend the font is oblique now --&gt;
&lt;edit name="slant" mode="assign"&gt;
&lt;const&gt;oblique&lt;/const&gt;
&lt;/edit&gt;
&lt;/match&gt;

&lt;config&gt;
&lt;!--
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
--&gt;
<blank>
<int>0x20</int> &lt;!-- space --&gt;
<int>0xa0</int> &lt;!-- nsbp --&gt;
<int>0x2000</int> &lt;!-- general punctuation spaces --&gt;
<int>0x2001</int>
<int>0x2002</int>
<int>0x2003</int>
<int>0x2004</int>
<int>0x2005</int>
<int>0x2005</int>
<int>0x2006</int>
<int>0x2007</int>
<int>0x2008</int>
<int>0x2009</int>
<int>0x200a</int>
<int>0x200b</int>
<int>0x3000</int> &lt;!-- CJK space --&gt;
</blank>
&lt;!--
Rescan configuration every 30 seconds when FcFontSetList is called
--&gt;
&lt;rescan&gt;
<int>30</int>
&lt;/rescan&gt;
&lt;/config&gt;

&lt;/fontconfig&gt;
回复

使用道具 举报

发表于 2003-7-11 13:02:43 | 显示全部楼层
&lt;!-- Font directory list configured on Mon Sep 9 15:24:30 EDT 2002 --&gt;

&lt;dir&gt;/usr/share/fonts/zh_CN/TrueType/simsun&lt;/dir&gt; ==&gt;&gt;这里是你加入simsun字体的路径!!
&lt;dir&gt;/usr/X11R6/lib/X11/fonts/Type1&lt;/dir&gt;
&lt;dir&gt;/home/OtherFont&lt;/dir&gt;
&lt;dir&gt;~/.fonts&lt;/dir&gt;

别忘了把上面那句中文注释去掉,否则xml解析不正常,good luck
回复

使用道具 举报

发表于 2003-7-11 13:46:07 | 显示全部楼层
显然是手动美化更可行,你每一步都可以做好文件备份,再怎么失败也不会弄到要重装的地步。
回复

使用道具 举报

 楼主| 发表于 2003-7-11 15:26:04 | 显示全部楼层
我刚用Linux没几天,上网看得难受,不但字体难看而且对比度太低。
回复

使用道具 举报

发表于 2003-7-11 16:34:32 | 显示全部楼层
[quote:b07a7d0f65="200"]我刚用Linux没几天,上网看得难受,不但字体难看而且对比度太低。[/quote]
呵呵,同感啊。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-19 15:13 , Processed in 0.065418 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表