Things change, roll with the punches.Oh, yeah. Go for it man, jump off the high dive, stare down the barrel of the gun, pee into the wind!
Ubuntu 5.04安装文泉译嵌入字体美化系统
上一篇 /
下一篇 2007-01-05 01:08:10
/ 个人分类:Linux
51Testing软件测试网T7KO&i{V9K*o^"}OS:Ubuntu 5.04(Hoary Hedgehog) 51Testing软件测试网g'Km7q(Zd
9lej~"J2?s'E0文泉译前几天发布正式版拉,终于等到了。嘿嘿~~下面我们来进行安装。首先我们先把字体包下载下来(wqy-bitmapfont栏下的0.5.0pcf和0.5.0bdf)http://sourceforge.net/project/showfiles.php?group_id=128192
${;f+BkW yUY#M051Testing软件测试网F#h/T,C\)e)fW7l
解压下载下来的文件包51Testing软件测试网k|(By!r
x9{n
tar zxvf wqy-bitmapfont*.tar.gz
x+OZ.G
o0kw5_0lx'?GsNy'[0所有文件会被解压到./WenQuanYi目录下51Testing软件测试网^ vD#lr~[eL
将所有文件放到 /usr/share/fonts/Chinese/WenQuanYi (推荐使用此目录)下,在继续下一步之前请切换为root模式,然后继续^^!(su 或者sudo)51Testing软件测试网;l%a7skJ]5S${'H
接着使用下面命令安装安装字体:51Testing软件测试网
\1qr2WQ/N
cd /usr/share/fonts/Chinese/WenQuanYi/Bitmap/51Testing软件测试网9Y0XhjK3dO*w`
mkfontdir51Testing软件测试网3xEWPGNG
cp fonts.dir fonts.scale
$z-R%t0HzZ?0 xset +fp /usr/share/fonts/Chinese/WenQuanYi/Bitmap/51Testing软件测试网4BO5H td9J#]
fc-cache
v1_ c"t+{ m0至此字体安装完毕51Testing软件测试网3b'G(D'sJ
接着我们修改fonts.conf,此文件位于/etc/fonts/下,在修改之前建议您先备份下这个文件,以免改错恢复,以下命令将fonts.conf备份为fonts.conf.bakup
/IQRu
k
tj0cp /etc/fonts/fonts.conf /etc/fonts/fonts.conf.bakup
m)F]K`7A
{\0备份完毕我们开始大干一场吧(以下贴出本人的fonts.conf内容,对照着修改吧)51Testing软件测试网 p:V6wy4p g"U
-------------------------------------------------------- ------------------------------------
3Ge3fC?'I0<?xml version="1.0"?>
U!Dj
sju?0<!DOCTYPE fontconfig SYSTEM "fonts.dtd">51Testing软件测试网Mw9GR3HeWy
<!-- /etc/fonts/fonts.conf file to configure system font access -->
v!k%~C-T+x,\']0<fontconfig>
pL+_5I{8@guoX051Testing软件测试网HmZet@
<!--
cVG hur4|-p0 DO NOT EDIT THIS FILE.
Zv9p
Jc;[o{0 IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.
XZ]x-U$lwp0 LOCAL CHANGES BELONG IN 'local.conf'.51Testing软件测试网e:ud/G4Z)LE'TT
51Testing软件测试网'u3Lp1Og
The intent of this standard configuration file is to be adequate for
W'ej ? @I p0 most environments. If you have a reasonably normal environment and
o"A8s%H3M(vV_ M
V0 have found problems with this configuration, they are probably
,g;}'e(VP\ A h/b9w0 things that others will also want fixed. Please submit any51Testing软件测试网Msppwr)Eh
problems to the fontconfig bugzilla system located at fontconfig.org51Testing软件测试网/XSS7R,r(k Vcj
1Ind/fry0 Note that the normal 'make install' procedure for fontconfig is to51Testing软件测试网0L!I8W"x1?"x.no!x}!V
replace any existing fonts.conf file with the new version. Place
B:Rdp9L9z;F
L0 any local customizations in local.conf which this file references.51Testing软件测试网a Pdi1Z;e
~)C3Tz0F