[转帖]让UBUNTU直接使用WINDOWS的字体,无须再安装字体。
-
- 帖子: 19
- 注册时间: 2007-12-13 21:26
[转帖]让UBUNTU直接使用WINDOWS的字体,无须再安装字体。
UBUNTU想用雅黑字体吗?(前提是你的windows里安装了雅黑字体)
第一步:把字体引过来,终端输入:
sudo ln -s /media/sda2/Windows/Fonts/ /usr/share/fonts/winfonts
因为我的WINDOWS装在sda2,这个你根据自己的情况自己改。
然后 fc-cache -fv ,可能你不刷新字体也已经能用了。
然后在系统--首选项--外观-字体里选雅黑字体。
就这么简单。
第一步:把字体引过来,终端输入:
sudo ln -s /media/sda2/Windows/Fonts/ /usr/share/fonts/winfonts
因为我的WINDOWS装在sda2,这个你根据自己的情况自己改。
然后 fc-cache -fv ,可能你不刷新字体也已经能用了。
然后在系统--首选项--外观-字体里选雅黑字体。
就这么简单。
-
- 帖子: 7
- 注册时间: 2007-12-25 13:38
- carbont
- 帖子: 3406
- 注册时间: 2007-11-22 10:20
- 来自: 北京
- gyx2545965
- 帖子: 82
- 注册时间: 2007-11-09 15:55
-
- 帖子: 2
- 注册时间: 2008-01-01 17:59
-
- 帖子: 381
- 注册时间: 2006-04-25 17:07
sudo ln -s /media/sda1/Windows/Fonts/ /usr/share/fonts/winfonts
[sudo] password for xxx:
fc-cache -fv
/usr/share/fonts: caching, 0 fonts, 4 dirs
/usr/share/fonts/X11: caching, 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, 0 fonts, 14 dirs
/usr/share/fonts/truetype/arphic: caching, 2 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, 12 fonts, 0 dirs
/usr/share/fonts/truetype/kochi: caching, 4 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, 1 fonts, 0 dirs
/usr/share/fonts/truetype/thai: caching, 27 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-arabeyes: caching, 39 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bitstream-vera: caching, 10 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, 6 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-gentium: caching, 4 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, 11 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lao: caching, 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-malayalam-fonts: caching, 2 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-mgopen: caching, 16 fonts, 0 dirs
/usr/share/fonts/truetype/unfonts: caching, 4 fonts, 0 dirs
/usr/share/fonts/type1: caching, 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, 35 fonts, 0 dirs
/usr/share/fonts/winfonts: caching, 115 fonts, 0 dirs
/usr/share/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, 0 fonts, 0 dirs
/home/wys/.fonts: skipping, no such directory
/var/lib/defoma/fontconfig.d: caching, 0 fonts, 22 dirs
/var/lib/defoma/fontconfig.d/A: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/B: caching, 12 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/C: caching, 5 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/D: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/E: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/F: caching, 13 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/G: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/H: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/J: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/K: caching, 4 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/L: caching, 8 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/M: caching, 21 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/N: caching, 25 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/O: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/P: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/R: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/S: caching, 5 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/T: caching, 14 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/U: caching, 13 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/V: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/m: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/u: caching, 1 fonts, 0 dirs
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/wys/.fontconfig: cleaning cache directory
fc-cache: succeeded
追加一句:效果很好,十分满意,谢谢搂主!
[sudo] password for xxx:
fc-cache -fv
/usr/share/fonts: caching, 0 fonts, 4 dirs
/usr/share/fonts/X11: caching, 0 fonts, 6 dirs
/usr/share/fonts/X11/100dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/75dpi: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/Type1: caching, 8 fonts, 0 dirs
/usr/share/fonts/X11/encodings: caching, 0 fonts, 1 dirs
/usr/share/fonts/X11/encodings/large: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/misc: caching, 0 fonts, 0 dirs
/usr/share/fonts/X11/util: caching, 0 fonts, 0 dirs
/usr/share/fonts/truetype: caching, 0 fonts, 14 dirs
/usr/share/fonts/truetype/arphic: caching, 2 fonts, 0 dirs
/usr/share/fonts/truetype/freefont: caching, 12 fonts, 0 dirs
/usr/share/fonts/truetype/kochi: caching, 4 fonts, 0 dirs
/usr/share/fonts/truetype/openoffice: caching, 1 fonts, 0 dirs
/usr/share/fonts/truetype/thai: caching, 27 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-arabeyes: caching, 39 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-bitstream-vera: caching, 10 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-dejavu: caching, 6 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-gentium: caching, 4 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-indic-fonts-core: caching, 11 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-lao: caching, 1 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-malayalam-fonts: caching, 2 fonts, 0 dirs
/usr/share/fonts/truetype/ttf-mgopen: caching, 16 fonts, 0 dirs
/usr/share/fonts/truetype/unfonts: caching, 4 fonts, 0 dirs
/usr/share/fonts/type1: caching, 0 fonts, 1 dirs
/usr/share/fonts/type1/gsfonts: caching, 35 fonts, 0 dirs
/usr/share/fonts/winfonts: caching, 115 fonts, 0 dirs
/usr/share/X11/fonts: skipping, no such directory
/usr/local/share/fonts: caching, 0 fonts, 0 dirs
/home/wys/.fonts: skipping, no such directory
/var/lib/defoma/fontconfig.d: caching, 0 fonts, 22 dirs
/var/lib/defoma/fontconfig.d/A: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/B: caching, 12 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/C: caching, 5 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/D: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/E: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/F: caching, 13 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/G: caching, 10 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/H: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/J: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/K: caching, 4 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/L: caching, 8 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/M: caching, 21 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/N: caching, 25 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/O: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/P: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/R: caching, 3 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/S: caching, 5 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/T: caching, 14 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/U: caching, 13 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/V: caching, 1 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/m: caching, 2 fonts, 0 dirs
/var/lib/defoma/fontconfig.d/u: caching, 1 fonts, 0 dirs
/var/cache/fontconfig: not cleaning unwritable cache directory
/home/wys/.fontconfig: cleaning cache directory
fc-cache: succeeded
追加一句:效果很好,十分满意,谢谢搂主!