Linux下设置字体(Fedora 19,Windows字体)

这篇博客介绍了如何将Windows系统中的字体移植到Linux Fedora 19环境中,详细阐述了从C://Windows/Fonts目录拷贝字体到Linux的步骤。

步骤:

1、C://Windows/Fonts目录下 想要拷贝的字体(我的是win 8.1)。

cd /mnt/Win8/Windows/Fonts            #我是用ntfs-3g(资料[1])挂载win8的ntfs分区
cp msyh*  simsun* /usr/share/fonts    #将微软雅黑以及simsun字体拷贝到linux的字体文件夹
fc-cache -fv                          #更新font cache 

2、安装gnome-tweak-tool
yum install gnome-tweak-tool

3、修改Gnome字体。Win 键搜索tweak并启动之(我的是Fedora 19 Gnome,也可以teminal键入gnome-tweak-tool)。选择Fonts,设置Default font 为Microsoft YaHei UI,Document font为Microsoft YaHei。

4、修改Chrome字体。Standard font为Microsot YaHei,Serif font 为Serif,San's Serif font为Sans,Fix-width-font为Monospace,Encoding为Chinese simplified(GBK)。

5、另外如果觉得Terminal的字体有点细的话,可以Edit——Profile Preferences——General中的Monospace字体大小改为13,会变得粗很多。

备注:

[1]   Linux/Windows双系统的话可以在linux安装 ntfs-3g来访问windows的ntfs分区。
不知道为什么如果直接在fstab中加入ntfs分区的mount条目的话,启动时候会mount失败(猜想是因为那时候ntfs-3g服务还是什么的还未启动?)。想到个解决办法:
vim /etc/rc.d/rc.local    #用户自定义启动
键入,
#!bin/sh

# 好吧,这个是设置linux启动时的屏幕亮度的
echo 6 > /sys/class/backlight/acpi_video0/brightness

# mount ntfs 分区,其中的-L选项是指分区Label,可以用e2label device [newlabel] 修改
mount -t ntfs-3g -L File  /mnt/File
mount -t ntfs-3g -L User  /mnt/User
mount -t ntfs-3g -L Game  /mnt/Game
mount -t ntfs-3g -L Download /mnt/Download
mount -t ntfs-3g -L Win8  /mnt/Win8
mount -t ntfs-3g -L Soft  /mnt/Soft



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值