Linux Mint中文字体模糊

习惯了WinXP的字体,总不习惯Linux那模糊的中文,还是XP的锐利字体比较合适我。

先安装字体
        SimSun(可用文泉驿的开源点阵字体WenQuanYi Bitmap Song替代)
        DejaVu Sans
        Droid Sans
        DejaVu Serif
        Droid Serif
        DejaVu Sans Mono
        Droid Sans Mono

然后Ctrl+Alt+T调出终端,输入

sudo gedit /etc/fonts/conf.d/50-user.conf

原内容如下

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
	<!-- Load per-user customization file -->
	<include ignore_missing="yes" prefix="xdg">fontconfig/conf.d</include>
	<include ignore_missing="yes" prefix="xdg">fontconfig/fonts.conf</include>
	<!-- the following elements will be removed in the future -->
	<include ignore_missing="yes" deprecated="yes">~/.fonts.conf.d</include>
	<include ignore_missing="yes" deprecated="yes">~/.fonts.conf</include>
</fontconfig>


将第9行中的第二个yes改为no

<include ignore_missing="yes" deprecated="no">~/.fonts.conf</include>
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
	<!-- Load per-user customization file -->
	<include ignore_missing="yes" prefix="xdg">fontconfig/conf.d</include>
	<include ignore_missing="yes" prefix="xdg">fontconfig/fonts.conf</include>
	<!-- the following elements will be removed in the future -->
	<include ignore_missing="yes" deprecated="yes">~/.fonts.conf.d</include>
	<include ignore_missing="yes" deprecated="no">~/.fonts.conf</include>
</fontconfig>

接着终端输入

gedit ~/.fonts.conf

加入以下内容

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- created by WenQuanYi FcDesigner v0.5 -->
<match>
	<test name="family"><string>sans-serif</string></test>
	<edit name="family" mode="prepend" binding="strong">
		<string>SimSun</string>
		<string>DejaVu Sans</string>
		<string>Droid Sans</string>
	</edit>
</match>
<match>
	<test name="family"><string>serif</string></test>
	<edit name="family" mode="prepend" binding="strong">
		<string>DejaVu Serif</string>
		<string>Droid Serif</string>
		<string>SimSun</string>
	</edit>
</match>
<match>
	<test name="family"><string>monospace</string></test>
	<edit name="family" mode="prepend" binding="strong">
		<string>DejaVu Sans Mono</string>
		<string>Droid Sans Mono</string>
		<string>SimSun</string>
	</edit>
</match>
</fontconfig>

保存即生效

Linux Mint中文字体模糊

你可能感兴趣的:(linux,中文,mint,字体模糊)