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软件测试网;|i:mW+l;ij(A

OS:Ubuntu 5.04(Hoary Hedgehog)    

;z)]}'DWI|%_-\4]0

,Yvs hiXc+|?$Y`0文泉译前几天发布正式版拉,终于等到了。嘿嘿~~下面我们来进行安装。首先我们先把字体包下载下来(wqy-bitmapfont栏下的0.5.0pcf和0.5.0bdf)http://sourceforge.net/project/showfiles.php?group_id=128192
*`7r J.tI e051Testing软件测试网iZ.Ac9^CS E

 解压下载下来的文件包51Testing软件测试网im%DN@ML
tar zxvf wqy-bitmapfont*.tar.gz
S/]"hb2]m)v:R/Y0

o-](uq!f,E+JVz0所有文件会被解压到./WenQuanYi目录下51Testing软件测试网2VY h"S7y Y}/bt8}0LI
将所有文件放到 /usr/share/fonts/Chinese/WenQuanYi (推荐使用此目录)下,在继续下一步之前请切换为root模式,然后继续^^!(su 或者sudo)
P'^d:agV`!i(V%o&IO0接着使用下面命令安装安装字体:51Testing软件测试网Vba&y;U3hb6N\
   cd /usr/share/fonts/Chinese/WenQuanYi/Bitmap/
6Ty$jhRw#aQ^)g0   mkfontdir
l%z2h |8l0u*S0   cp fonts.dir fonts.scale51Testing软件测试网5n j1lo/H3k2U
   xset +fp /usr/share/fonts/Chinese/WenQuanYi/Bitmap/
"?-tM:WG HBkP0   fc-cache51Testing软件测试网?6vXy+Y;yQ
至此字体安装完毕
$~j Bh J0接着我们修改fonts.conf,此文件位于/etc/fonts/下,在修改之前建议您先备份下这个文件,以免改错恢复,以下命令将fonts.conf备份为fonts.conf.bakup
*U@'G bO0cp /etc/fonts/fonts.conf /etc/fonts/fonts.conf.bakup
%g,ofyb KH5A0备份完毕我们开始大干一场吧(以下贴出本人的fonts.conf内容,对照着修改吧)51Testing软件测试网6rC3a_0h E
-------------------------------------------------------- ------------------------------------
B;^*S;E\4]0<?xml version="1.0"?>
r6wXD`6d0<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
!d-s/WTd?s!V9A+A;v \0<!-- /etc/fonts/fonts.conf file to configure system font access -->
c ec)dz-rYA aFk0^0<fontconfig>51Testing软件测试网JW4h _Rvwl

{fl ^@(e D%d0<!--
~l!n,TO9I B#z0    DO NOT EDIT THIS FILE.51Testing软件测试网"y | S&~lEM#H$D(e
    IT WILL BE REPLACED WHEN FONTCONFIG IS UPDATED.51Testing软件测试网%ej+\m X6u;C6O)D
    LOCAL CHANGES BELONG IN 'local.conf'.
i9rjcSR4H0
SD okp*H0    The intent of this standard configuration file is to be adequate for51Testing软件测试网Y8p w!N#GEC&Hy
    most environments.  If you have a reasonably normal environment and51Testing软件测试网^r2FWYtw@G7|
    have found problems with this configuration, they are probably
i+LgxM-McR0    things that others will also want fixed.  Please submit any
NSqz6A*~0    problems to the fontconfig bugzilla system located at fontconfig.org
`s5kvY051Testing软件测试网Q*tx8zr*X
    Note that the normal 'make install' procedure for fontconfig is to
G'Gc @!V5WJ/G[8d0    replace any existing fonts.conf file with the new version.  Place51Testing软件测试网'Ke4v|4w~ Ku'~P
    any local customizations in local.conf which this file references.51Testing软件测试网Q+m3I!oa
51Testing软件测试网(q^.M*r9TouLFc\*Y
    Keith Packard51Testing软件测试网;S e$X3y1u
-->51Testing软件测试网[2P G6t"CD V

^ nY}5_ T@kP0    <dir>/usr/share/fonts</dir>
0r:\!}-J)@0    <dir>/usr/X11R6/lib/X11/fonts/Type1</dir> <dir>/usr/local/share/fonts</dir>51Testing软件测试网{(sMIS/r8j0nk
    <dir>~/.fonts</dir>
rh X#EWsyC0
6Bw"nd_k ry0<!--51Testing软件测试网9s+b)I#_ NB%h@$F
  Accept deprecated 'mono' alias, replacing it with 'monospace'51Testing软件测试网'y!~1J.S k _F
-->51Testing软件测试网u,Y*?(plCm2koS
    <match target="pattern">51Testing软件测试网3?/N_u(D-uq%_
        <test qual="any" name="family">51Testing软件测试网.FMg0|G3}"x4B;VT
            <string>mono</string>
c#^3i7C+C$t1UZ0        </test>
L6R(vF\&P:C0        <edit name="family" mode="assign">51Testing软件测试网+@ r2bo!H^
            <string>monospace</string>51Testing软件测试网Vm,}"wv
        </edit>
FC n ^ ~0    </match>51Testing软件测试网;[;a'lvT
51Testing软件测试网u!? Oc1v*WM,y-jVf
<!--51Testing软件测试网W"lR k9zu k"I
  Accept alternate 'sans serif' spelling, replacing it with 'sans-serif'51Testing软件测试网L}Q5~-? k9z
-->51Testing软件测试网 |.so w:y)V {neT0f
    <match target="pattern">51Testing软件测试网5l%FI_gX [;Dhg1?2@
        <test qual="any" name="family">51Testing软件测试网#@KI PE5{F3s0e
            <string>sans serif</string>51Testing软件测试网|%H~#?*Q!ZF1T-Q
        </test>
8L-zbEt;E(e%I'n~0        <edit name="family" mode="assign">
JMf/\,~m0            <string>sans-serif</string>51Testing软件测试网MRi5|PM
        </edit>51Testing软件测试网/r/y| yD#j
    </match>51Testing软件测试网$T+M*cn8}~.l8D

sk.X1E9}K s0<!--
s%EguE }0S0  Accept deprecated 'sans' alias, replacing it with 'sans-serif'51Testing软件测试网 a*l0A-^"B]&`
-->
6xrtLx?!b{ cJD0    <match target="pattern">
SKR[,b3Do.K0        <test qual="any" name="family">
_OCRmZ#F0            <string>sans</string>
't:w2zJ0P8Av @r0        </test>
!wV_5}#^0        <edit name="family" mode="assign">51Testing软件测试网8R1E+yyQ1Rm'{d
            <string>sans-serif</string>
w0z0y{:pv'KE!D0[)n0        </edit>
C8z8H6F:l$_~ib0    </match>
#uk;r?9v/jqE051Testing软件测试网dGVJ\6Pn
<!--51Testing软件测试网1Hw(vA H @1U.D/mFl
  Mark common families with their generics so we'll get51Testing软件测试网:_3q!C8?0g3_m
  something reasonable51Testing软件测试网,y\5p4a@.d#Z;Su(E2h
-->
7U"Ha9z2Js8^)Q0
&v/kIXR6|+Y x\o0<!--51Testing软件测试网2x1[} m1| h0~0V4D6Q
  Serif faces51Testing软件测试网 G'}%U9Oe^#`{QO
 -->51Testing软件测试网^qc-l!z4yK
   <alias>51Testing软件测试网0b/on6CeR
      <family>Bitstream Vera Serif</family>51Testing软件测试网(_/tH9o:ush7sXK
      <family>WenQuanYi Bitmap Song</family>   <!-- added it-->
`!V$K/Z\)L[0      <family>Vera Sans YuanTi</family>                  
7j2jUz$c-S3}{0      <family>Times</family>51Testing软件测试网[#n[,E jE(E#O
      <family>Times New Roman</family>51Testing软件测试网l(CGp5M ?+G
      <family>Nimbus Roman No9 L</family>
d]/C{J;p7~8h1x J8y0      <family>Luxi Serif</family>
9_r'nMwG+?fI0      <family>Kochi Mincho</family>51Testing软件测试网;{ J:u0D$Y2xQ\ T
      <family>AR PL SungtiL GB</family>51Testing软件测试网h0eX${5EjM cy{&M
      <family>AR PL Mingti2L Big5</family>
-G+G i@ Cd7W){0      <family>Baekmuk Batang</family>
O![I"x+t^0ng5u0      <family>FreeSerif</family>
~"G]b4d'q0      <default><family>serif</family></default>51Testing软件测试网;K&K:JbY @V
   </alias>51Testing软件测试网fo\5a)rwF@
<!--
}d"i B%t8z1J0  Sans-serif faces51Testing软件测试网Ctr4u9W%~W
 -->51Testing软件测试网l#qJZ+K3P)Q7M
   <alias>51Testing软件测试网9u}p:n2L9|!HOm
      <family>Bitstream Vera Sans</family>51Testing软件测试网bw%H HP
      <family>WenQuanYi Bitmap Song</family> <!-- added it-->51Testing软件测试网N|#U2lt
      <family>Vera Sans YuanTi</family>51Testing软件测试网 HDnH3Zwg
      <family>WenQuanYi Bitmap Song</family>                        51Testing软件测试网"|'w j;Z0OZ/oT
      <family>Helvetica</family>51Testing软件测试网$x\0n7Upr
      <family>Arial</family>
#V X$~iq"uX&hS:PU0      <family>Verdana</family>51Testing软件测试网,dO*v*Mj/J O\
      <family>Nimbus Sans L</family>
Zap+\.ro/DY3Y o0      <family>Luxi Sans</family>
{0L`1P+GOfi$H T0      <family>Kochi Gothic</family>51Testing软件测试网} Rdg| Pmt
      <family>AR PL KaitiM GB</family>51Testing软件测试网&t`(I gB P
      <family>AR PL KaitiM Big5</family>51Testing软件测试网$?\'\kb
      <family>Baekmuk Dotum</family>
2hS1G2Mr5b T0      <family>SimSun</family>
%RY&s8g(r,hO0      <family>FreeSans</family>51Testing软件测试网|nV6B+Xj
      <default><family>sans-serif</family></default>
i*l D r%R;ol9u;`J0   </alias>
ix)R,p|} m:t0<!--51Testing软件测试网@:y/nm5Fw9f1M{e8c F
  Monospace faces51Testing软件测试网,x*J6Xf.B?^e
 -->51Testing软件测试网E2@hf!j$?
    <alias>
0Z$?9}%@"NG O0      <family>Bitstream Vera Sans Mono</family>51Testing软件测试网|.aL:zR [
      <family>WenQuanYi Bitmap Song</family>  <!-- added it-->
u0Y$l+\8?(Z0dY|0      <family>Vera Sans YuanTi Mono</family>                       
(LE$R)[,y+B#P8q0      <family>Courier</family>51Testing软件测试网c6PXLb'EB
      <family>Courier New</family>
NS d-u*Eq-Fjv0      <family>Andale Mono</family>
s@1n)?%@/Z0      <family>Luxi Mono</family>
b3m"I!J {*Q4v(@ b0      <family>Nimbus Mono L</family>51Testing软件测试网cc0zDD+W6K!Y!M
      <family>SimSun</family>51Testing软件测试网F,E4IY!v6^ d7m?
      <family>FreeMono</family>
u _g[ ?jB'H3t*M%I0      <default><family>monospace</family></default>51Testing软件测试网9e'`] w8Ja K V6yBS
   </alias>51Testing软件测试网9c[4Q-z K
<!--
+NlJN.ocQvPn0  If the font still has no generic name, add sans-serif51Testing软件测试网_.l?|\|2h
 -->51Testing软件测试网8N*g)[:s6x
    <match target="pattern">
e.u]7c;L E0        <test qual="all" name="family" compare="not_eq">
#Z5A I5dU~l0            <string>sans-serif</string>51Testing软件测试网_Ih*vD~#Kodyi
        </test>51Testing软件测试网)BG(?8@&}k
        <test qual="all" name="family" compare="not_eq">
Pa"d6?2x8?;E:b"E0            <string>serif</string>51Testing软件测试网a5IfT+z(m,~d@
        </test>
6yA:AZ8T2Ct0        <test qual="all" name="family" compare="not_eq">
A ADb5e(rT0            <string>monospace</string>51Testing软件测试网"nzu5HH G#x/]
        </test>
f{-G7DPI0        <edit name="family" mode="append_last">51Testing软件测试网5yM3d!d&|L mFz
            <string>sans-serif</string>
BF'|7K;ni@0        </edit>
~ wY5n"E0    </match>
3z^c#c2Z'qG-a0   
5\r%B0}1dJ!OhH0<!--51Testing软件测试网&F;BN#_Ck]@
  Some Asian fonts misadvertise themselves as monospaced when51Testing软件测试网)_4Pk;M}D N
  in fact they are dual-spaced (half and full).  This makes51Testing软件测试网nh;o'T@"s [P
  FreeType very confused as it forces all widths to match.
1NHk ~h4T0  Undo this magic by disabling the width forcing code -->
&YBj xO p&qv%cFJ0    <match target="font">
&fEK!D@5h-T g0        <test name="family"><string>GulimChe</string></test>
!Ecsi#^U.e1V!i0        <edit name="globaladvance"><bool>false</bool></edit>51Testing软件测试网q.Oy5fO$^]
    </match>51Testing软件测试网G8\(~ke A6]-J
   
0M |*T[7H5\0    <match target="font">
-TiZYBb}0        <test name="family"><string>DotumChe</string></test>
w1n4O _ NcQ P0        <edit name="globaladvance"><bool>false</bool></edit>
6V"J4h2p I Q{*e$`0    </match>51Testing软件测试网M9Fh v-px,m(o
51Testing软件测试网 n1wq {V$c
    <match target="font">
v~{r5y0        <test name="family"><string>BatangChe</string></test>51Testing软件测试网!ttu_"~qFG0k-d
        <edit name="globaladvance"><bool>false</bool></edit>
|d|1W O+|/{0    </match>51Testing软件测试网5T5Ff"rE4W)XX
51Testing软件测试网3pT-K _x0g9\g {8I
    <match target="font">
*m M9\#f0P!l r0        <test name="family"><string>GungsuhChe</string></test>51Testing软件测试网&J |4Y+o G0m0B;r
        <edit name="globaladvance"><bool>false</bool></edit>51Testing软件测试网9UE_^ ^i&J
    </match>
%o3?9q$l4\*uZL051Testing软件测试网Ev G0b CT"l;L r
<!--51Testing软件测试网5z%_ xa0V(\7Na8SO
    The Bitstream Vera fonts have GASP entries suggesting that hinting be
.Mf h*YA3iWj7}0    disabled below 8 ppem, but FreeType ignores those, preferring to use51Testing软件测试网-t0rw,H&kQ g
    the data found in the instructed hints.  The initial Vera release
tr H_(asz J%Hq4p0    didn't include the right instructions in the 'prep' table. Fix this
{C9? A,A0    by disabling hinting manually at smaller sizes (< 8ppem)
@ a%VL ~$A0 -->51Testing软件测试网$k0LQ a3L7r1J
   51Testing软件测试网4kL rUr5e\
 51Testing软件测试网Zn sh.M2^)x*q0e
   <match target="font">51Testing软件测试网}$t8v3@|
      <test name="family">
`A J/V*|X0         <string>WenQuanYi Bitmap Song</string>  <!-- edit it-->51Testing软件测试网7zvQ%p,l^$P
      </test>
F?n`qP-X U0      <test name="pixelsize" compare="less">51Testing软件测试网y/Cy?9ivKB'r;J
         <double>7.5</double>
R2|k:QBE Zy4]0      </test>51Testing软件测试网Z&j;WEI@D{`w5F
      <edit name="hinting">
VjXR v0         <bool>false</bool>51Testing软件测试网|5w"b|X%r
      </edit>    51Testing软件测试网-~ pT{:MX*x/~#h9Si jTH
   </match>
w)w^ Aj |0  
rx2v$k8avj*iE0   <match target="font">51Testing软件测试网8}9^3A q-t})JE-O/M
      <test name="family">
B1B8js ?0         <string>WenQuanYi Bitmap Song</string> <!-- edit it-->
^"GagE C4I0      </test>51Testing软件测试网 y"@h6m|.N? }a*M.I
      <test name="pixelsize" compare="less">51Testing软件测试网;T"qm sQv
         <double>7.5</double>51Testing软件测试网&AX1@%AY?ZC*h
      </test>51Testing软件测试网"L^*?'m0cn)NP
      <edit name="hinting">51Testing软件测试网|n)Hzq p&qN
         <bool>false</bool>
(L1K2w U)r e? vS0      </edit>
-^7KI+dg0   </match>
,` Y%^ Ox0  
pt X9^(j0   <match target="font">
8mI!RRh Y0      <test name="family">51Testing软件测试网 W"g'k e#V o?
         <string>WenQuanYi Bitmap Song</string> <!-- edit it-->
/M7Q8AKm^{1C0      </test>
+z\0T"A}y5O M0      <test name="pixelsize" compare="less">
kGQh/G4m0         <double>7.5</double>51Testing软件测试网$N4h yV2rN+k
      </test>51Testing软件测试网]2~4P|Y)P
      <edit name="hinting">51Testing软件测试网Q(Q.u\\3s{h]
         <bool>false</bool>
U'j rX T j6qi%c0      </edit>51Testing软件测试网T]wY z }c,eGKS
   </match>51Testing软件测试网-L] xt'Y^/e2z}
  
m @{ P0d+ij5S|0   
;R pi'RZV,sl6m:f0<!--51Testing软件测试网4y3OM&hnn
  Load local system customization file
m \;z f0HR&@3^0-->
1T/O7G Ls;e0    <include ignore_missing="yes">local.conf</include>
~v,ksQGsC051Testing软件测试网B/rv4V$z:MO)J.u:N
<!--
s@%j.m r)|0\T(d0  Load per-user customization file51Testing软件测试网 xjX KbiO ^
-->51Testing软件测试网vTRY w&f]
    <include ignore_missing="yes">~/.fonts.conf</include>
`DSA%X*aY\0
| y8hT5l)\0<!--
U?0q8|*Hd0  Alias well known font names to available TrueType fonts51Testing软件测试网7F tDU&E6s+E
-->
j9B]N U{0    <alias>
P:Lj1K2~gTH0        <family>Times</family>
&L+zC9I2`!s5_0M6B|0        <accept><family>Times New Roman</family></accept>51Testing软件测试网 X:W@6U?5Z
    </alias>
2Y%f2A8jWQG0    <alias>51Testing软件测试网 l'Y+^hnt7g$C
        <family>Helvetica</family>
` p{E~U^0        <accept><family>Verdana</family></accept>
6gAt$Q;pYQ+H"`s0    </alias>51Testing软件测试网*] ~ky$z(~
    <alias>51Testing软件测试网"r!nHRiK.}
        <family>Arial</family>51Testing软件测试网8Lj-we/O BTkv p
        <accept><family>Verdana</family></accept>
2v7F2o.}%@ B/L.K0    </alias>51Testing软件测试网 u0{*z:mCBn
    <alias>
\!VT h zEU0        <family>Courier</family>51Testing软件测试网 kO5Wj0h.j
        <accept><family>Courier New</family></accept>51Testing软件测试网h2x.?j;|UX6O j o
    </alias>51Testing软件测试网2Q hLop:P9A.p
51Testing软件测试网#m6BmNK
<!--51Testing软件测试网l8Y[u8v
 Check user preference to avoid bitmap fonts and replace51Testing软件测试网u^OLTK/Wg
 bitmap face names with equivalent scalable fonts51Testing软件测试网m8q.ZL0s)|(x9cdi
 -->51Testing软件测试网#J$Kq-A(X)q;bj
51Testing软件测试网%|8H]$`b;O^
    <match target="pattern">
xZ&_ ~`(AP0            <test name="prefer_outline">
@ LFQ"v0                    <bool>true</bool>51Testing软件测试网}Zz7Mr2t-aRm
            </test>51Testing软件测试网 lHBpi9lSY|
            <test name="family">
GUIwzW0                    <string>Helvetica</string>
1K"odQu9XP0            </test>51Testing软件测试网1X @F+k:|F4L$E
            <edit name="family" mode="prepend" binding="same">
ZM!o~pM&Cw DI0                    <string>Arial</string>
)Do'DLoqw0            </edit>51Testing软件测试网.T0g6]Ub$L
    </match>
1ka1a] O-` ?w_/F\051Testing软件测试网"R@ vGl9W
    <match target="pattern">
SG of:mq0            <test name="prefer_outline">51Testing软件测试网q{B,ga,k
                    <bool>true</bool>51Testing软件测试网 BF-a@T3?
            </test>51Testing软件测试网H7U)Bcm \F
            <test name="family">
Phj'w%RS9fp3xU0                    <string>Times</string>
-f$_-{Q2{ Z['M&]0            </test>51Testing软件测试网,YJ4k H#b"IB
            <edit name="family" mode="prepend" binding="same">51Testing软件测试网}Le ^/Z
                    <string>Times New Roman</string>51Testing软件测试网/S;nwBVh d/i
            </edit>
,rPQm$M-lhF h0    </match>
:~y(a/n!js*`0<!--
j1d"OnP3Y0  Provide required aliases for standard names51Testing软件测试网E.?/l4Q,~|!} C
-->
} } ka3t@@_A%["B0   <alias>
,P ~"S$?q0      <family>serif</family>51Testing软件测试网D1zsQ a
      <prefer>51Testing软件测试网,hhc_FQp
         <family>Bitstream Vera Serif</family>51Testing软件测试网'G@)g;e zx V5e
     <family>WenQuanYi Bitmap Song</family>     <!-- added it-->51Testing软件测试网(X^2Z UX/kN
         <family>Vera Sans YuanTi</family>                       51Testing软件测试网p l]3M"\ ~;RU n
         <family>Times New Roman</family>
YSqOPpT*c&[+P0         <family>Nimbus Roman No9 L</family>
uR"lX o&X0         <family>Luxi Serif</family>51Testing软件测试网g*TJ{D/kKF
         <family>Times</family>
5kXYYi0         <family>Frank Ruehl</family>
R3xk;]L]*EjI0A0         <family>Kochi Mincho</family>51Testing软件测试网T YxQXve$X*F,p]
         <family>AR PL SungtiL GB</family>
G%lx~#|*z2Bq0         <family>AR PL Mingti2L Big5</family>51Testing软件测试网0?Bqc1W{S
         <family>Baekmuk Batang</family>51Testing软件测试网*h j)Dk"u{'j$g[
         <family>FreeSerif</family>51Testing软件测试网$O SV4C K8Sz0{ E B
      </prefer>
I5T)W:jT W0   </alias>51Testing软件测试网0@4V$I;z0x&HJ i
   <alias>51Testing软件测试网E e;x-y:Ex
      <family>sans-serif</family>51Testing软件测试网 qKT)D0OU@(C.v
      <prefer>
C6A}-@%_ u/t0         <family>Bitstream Vera Sans</family>
] aA9nT.o!e0         <family>WenQuanYi Bitmap Song</family>     <!-- added it-->51Testing软件测试网R)rjoQ+aZ!v'n
         <family>Vera Sans YuanTi</family>                       
%c8@hvHd0         <family>Verdana</family>
9?)H3Iy%OR_N0         <family>Nimbus Sans L</family>
!lL6@A%a5~~S+[A0         <family>Luxi Sans</family>
+Xu4iY khj-i$H,W0         <family>Arial</family>
#mL#l jT,V0h9_0         <family>Helvetica</family>51Testing软件测试网_j wx*G0@,n#\
         <family>Nachlieli</family>51Testing软件测试网FJY'q,R,gi7yb O1H+p
         <family>Kochi Gothic</family>
I SM-Y b]0         <family>AR PL KaitiM GB</family>
:v-Hu4\*A6S(u0         <family>AR PL KaitiM Big5</family>
Ja!Oh.o0         <family>Baekmuk Dotum</family>51Testing软件测试网e2j^0[ QmB
         <family>SimSun</family>
Y)e XHF`0         <family>FreeSans</family>
WaDM ~OC0v-n0      </prefer>
Tvl{yCJ0   </alias>
Nq v_5?myH^0   <alias>
Pka1X'f0      <family>monospace</family>51Testing软件测试网L6d1Ul(gj3B
      <prefer>
WA,ao7g5Vy[-ap0         <family>Bitstream Vera Sans Mono</family>51Testing软件测试网'X0Z _b2p5f2zQa
     <family>WenQuanYi Bitmap Song</family>     <!-- added it-->
0o}$O f$b4N(\8r0         <family>Vera Sans YuanTi Mono</family>                       51Testing软件测试网R zIJKD
         <family>Andale Mono</family>51Testing软件测试网 L(uDXz\[8e
         <family>Courier New</family>
o$yMy4j*k0         <family>Luxi Mono</family>51Testing软件测试网Z;Y\`%_P$m o.M
         <family>Nimbus Mono L</family>
/M8j&cBF jI0         <family>Miriam Mono</family>51Testing软件测试网6b8sP&O-Qly,ub
         <family>Kochi Gothic</family>51Testing软件测试网 t3Cj@EY
         <family>AR PL KaitiM GB</family>
)t^edhQh0         <family>Baekmuk Dotum</family>
#YK3u%Md0         <family>FreeMono</family>
8Y/I#n5mU0      </prefer>
#t6z8aPax]"U0   </alias>
Wom3u?+B(o`0
\(X m&A [,y*g?2l(yz0<!--
7hk.qV'~/C0Fw0 Artificial oblique for fonts without an italic or oblique version
.].Yd:BB"p+P0 -->
,uSQ*Es9cJ^ ?J8I0 
H&N@/A5n0    <match target="font">51Testing软件测试网q2eY aGT(ei"J B
        <!-- check to see if the font is roman -->
Y(`b!^*gl*ADi0        <test name="slant">
~y+ZKO%M(ur0            <const>roman</const>51Testing软件测试网i*n!l w Q8x/` ~ f
        </test>
5@kU?!bQB6B0        <!-- check to see if the pattern requested non-roman -->
w P/m Db3oU [0        <test target="pattern" name="slant" compare="not_eq">
:T:x6Q0B o:h$Es0            <const>roman</const>51Testing软件测试网](q9M A eF0[
        </test>51Testing软件测试网 w!TXpBp6pe
        <!-- multiply the matrix to slant the font -->
m M+P0f6[A?0        <edit name="matrix" mode="assign">51Testing软件测试网E[x2~XM7T0q s(n
            <times>
wh R;cSj}:|8E0                <name>matrix</name>
T/nv"wT%`9o&_c~0                <matrix><double>1</double><double>0.2</double>51Testing软件测试网H}"y?c
                    <double>0</double><double>1</double>
#Pg&RR[:}(l0                </matrix>
R)pY Sa3MBt0            </times>
A K1_8Fz$^/H3C*l0        </edit>
8ae'{!s!sM{m0        <!-- pretend the font is oblique now -->
X f Wo\ OV zP0        <edit name="slant" mode="assign">51Testing软件测试网*nJi4l/SZK5f^
            <const>oblique</const>
t zS ac^W8E'^p0        </edit>51Testing软件测试网 D e^nI(c'm
    </match>51Testing软件测试网$qc F].cuY

/?6vr_6Gjzk#n0    <config>51Testing软件测试网8H7_x6H6k(Q!MF3_d5J
<!--
G"s"X2N5]"f`a z9]0  These are the default Unicode chars that are expected to be blank51Testing软件测试网K3Q(FOg9K
  in fonts.  All other blank chars are assumed to be broken and51Testing软件测试网 Y(y.~^+W)@(X+n2sf3y+w
  won't appear in the resulting charsets
c%L.gq gZ0 -->51Testing软件测试网&XJ;w j @
        <blank>
V;q_7XjS jP&K0            <int>0x0020</int>    <!-- SPACE -->
7a R3??;S8OA&hN0            <int>0x00a0</int>    <!-- NO-BREAK SPACE -->51Testing软件测试网$x?WA2N.W3D#R
            <int>0x00ad</int>    <!-- SOFT HYPHEN -->
6Gd+OswYW.V0            <int>0x115f</int>    <!-- HANGUL CHOSEONG FILLER -->
9egS$B"}Qr4[0            <int>0x1160</int>    <!-- HANGUL JUNGSEONG FILLER -->
@f{:vs&U0            <int>0x1680</int>    <!-- OGHAM SPACE MARK -->51Testing软件测试网8xX9~as(E
            <int>0x2000</int>    <!-- EN QUAD -->51Testing软件测试网IG+OXd|k m:m({-{
            <int>0x2001</int>    <!-- EM QUAD -->51Testing软件测试网j i%M/D2f0c
            <int>0x2002</int>    <!-- EN SPACE -->51Testing软件测试网"TV0J`%c;s+J;[vlP
            <int>0x2003</int>    <!-- EM SPACE -->
'ph V4yVV'pFE0            <int>0x2004</int>    <!-- THREE-PER-EM SPACE -->51Testing软件测试网l L&} L,Zb
            <int>0x2005</int>    <!-- FOUR-PER-EM SPACE -->51Testing软件测试网t_t[ t|*tS}
            <int>0x2006</int>    <!-- SIX-PER-EM SPACE -->
N^Qb:Y"d3Y0            <int>0x2007</int>    <!-- FIGURE SPACE -->
9K(h+Wy8YB5R3C$TG0            <int>0x2008</int>    <!-- PUNCTUATION SPACE -->51Testing软件测试网$_zx'oPc'Nb
            <int>0x2009</int>    <!-- THIN SPACE -->51Testing软件测试网WjG;@;a)g
            <int>0x200a</int>    <!-- HAIR SPACE -->
iB#t%Ghtw[o0            <int>0x200b</int>    <!-- ZERO WIDTH SPACE -->
cW7c8c*PK1F-w*Y c0            <int>0x200c</int>    <!-- ZERO WIDTH NON-JOINER -->51Testing软件测试网1r da3q'Z xN d/g"b
            <int>0x200d</int>    <!-- ZERO WIDTH JOINER -->
!zGW4LC%Z0            <int>0x200e</int>    <!-- LEFT-TO-RIGHT MARK -->51Testing软件测试网zH5fzoX
            <int>0x200f</int>    <!-- RIGHT-TO-LEFT MARK -->51Testing软件测试网N O6rEMq8O8jV$N
            <int>0x2028</int>    <!-- LINE SEPARATOR -->
:F9Q!}7i"h'j#g']0            <int>0x2029</int>    <!-- PARAGRAPH SEPARATOR -->51Testing软件测试网c giw]5O5Y8~']
            <int>0x202a</int>    <!-- LEFT-TO-RIGHT EMBEDDING -->
WhAK@#aU0            <int>0x202b</int>    <!-- RIGHT-TO-LEFT EMBEDDING -->51Testing软件测试网0TD5OK gLu;f
            <int>0x202c</int>    <!-- POP DIRECTIONAL FORMATTING -->51Testing软件测试网+Bn;V%|g0L
            <int>0x202d</int>    <!-- LEFT-TO-RIGHT OVERRIDE -->51Testing软件测试网MM*nkPJS
            <int>0x202e</int>    <!-- RIGHT-TO-LEFT OVERRIDE -->
Nnp(a2t6c;x2\UDxu0            <int>0x202f</int>    <!-- NARROW NO-BREAK SPACE -->51Testing软件测试网+P#a d:vP6|/RNXN
            <int>0x205f</int>    <!-- MEDIUM MATHEMATICAL SPACE -->51Testing软件测试网S8JDZ9|!S
            <int>0x2060</int>    <!-- WORD JOINER -->
t dX)E[8yg@0            <int>0x2061</int>    <!-- FUNCTION APPLICATION -->51Testing软件测试网m N9~*~-Dt0[
            <int>0x2062</int>    <!-- INVISIBLE TIMES -->51Testing软件测试网r*KSU/u P-Xj7r
            <int>0x2063</int>    <!-- INVISIBLE SEPARATOR -->51Testing软件测试网0~1_CBH:B E A,^D
            <int>0x206A</int>    <!-- INHIBIT SYMMETRIC SWAPPING -->51Testing软件测试网{"xh-ap\"bo
            <int>0x206B</int>    <!-- ACTIVATE SYMMETRIC SWAPPING -->51Testing软件测试网 a#w'dwzc S
            <int>0x206C</int>    <!-- INHIBIT ARABIC FORM SHAPING -->
1x:wxW)A ~"B@!k [)c0            <int>0x206D</int>    <!-- ACTIVATE ARABIC FORM SHAPING -->
_*Im(E5qb9s A^T[Zz0            <int>0x206E</int>    <!-- NATIONAL DIGIT SHAPES -->51Testing软件测试网&vY&c.{f q g&O6J
            <int>0x206F</int>    <!-- NOMINAL DIGIT SHAPES -->51Testing软件测试网n)F.T1v?!n;a'on
            <int>0x3000</int>    <!-- IDEOGRAPHIC SPACE -->51Testing软件测试网;{;k%OFl3K b q
            <int>0x3164</int>    <!-- HANGUL FILLER -->51Testing软件测试网2aqtU}q2y
            <int>0xfeff</int>    <!-- ZERO WIDTH NO-BREAK SPACE -->
/{7wk)S^w0            <int>0xffa0</int>    <!-- HALFWIDTH HANGUL FILLER -->
4}4r3]3w5ck0            <int>0xfff9</int>    <!-- INTERLINEAR ANNOTATION ANCHOR -->51Testing软件测试网jY"f!d,HR
            <int>0xfffa</int>    <!-- INTERLINEAR ANNOTATION SEPARATOR -->
U`AG/E9G0            <int>0xfffb</int>    <!-- INTERLINEAR ANNOTATION TERMINATOR -->
7@b4s})N6F6sO6L;c0        </blank>51Testing软件测试网 ^zW'U z2I5E |
<!--
"F.ou&Hf$t_L0  Rescan configuration every 30 seconds when FcFontSetList is called51Testing软件测试网}|7zvWnT
 -->51Testing软件测试网%Wl!O?p
        <rescan>51Testing软件测试网-a?`'n9]#z
            <int>30</int>
,}3E? ]%v_W0        </rescan>
z"|a&{ ^0gT.A;n0    </config>51Testing软件测试网 vLb'Zn,a:Rq*x6m

z^(Qz2L o`K0</fontconfig>< br>------------------------------------------------------------------- --------------------------------------
P_2W[7|I0接着 gnome菜单    系统──首选项目──字体 如下图设置都选WenQuanYi Bitmap Song字体。 

$mA3y,Sj2f0

4Sp'cn3Fd6IVg0然后注销一下即可看到效果…………

+B2gdX'Y5Y_!HUi051Testing软件测试网Ij4n+{y.X.DO

51Testing软件测试网,P@3^b#vF9d
下面付上如何在gvim(没有安装赶快用apt-get install vim-gnome安装一个吧^^)上使用WenQuanYi Bitmap Song显示
`%FK F)C hY6V0修改/etc/vim/gvimrc文件,下面贴出此文件内容和效果
%_Ez7OZbJ0K\'c0-------------- ----------------------------------------------------------------------------51Testing软件测试网G+Vm3]6ab4C{1A
" Configuration file for gvim51Testing软件测试网x`8iY qkMZ`
" Written for Debian GNU/Linux by W.Akkerman <wakkerma@debian.org>
bb3N#F4~H0
PS N@']f%GH0" Make external commands work through a pipe instead of a pseudo-tty51Testing软件测试网+C.{/Ub6\ I7k|
"set noguipty
~1CGD,_Z\0" Switch syntax highlighting on, when the terminal has colors51Testing软件测试网oHAfN

ooyn R w4w0" Make shift-insert work like in Xterm51Testing软件测试网y8Jkl-D,v"}
map <S-Insert> <MiddleMouse>
2D$]_e]0map! <S-Insert> <MiddleMouse>51Testing软件测试网y;s}-]\
51Testing软件测试网~7O8`;l7[QB0|
" Also switch on highlighting the last used search pattern.51Testing软件测试网]H }FU)cq
if has("syntax") && (&t_Co > 2 || has("gui_running"))51Testing软件测试网,Cg)p+r&S.{
  syntax on
wd`P O(P l0  set hlsearch
a8C(lj~0endif
/E\ iP gV1@051Testing软件测试网:^$[@jDA
" Extensions by i18n teams
3~O,T+~W"Wy KT$xa#E0if filereadable( "/etc/vim/langrc/" . $LANG . ".vim" )51Testing软件测试网 @ p)mP5A F[bv4k
   exe "so " . "/etc/vim/langrc/" . $LANG . ".vim"
h;LK({pV9I0endif
#L} |En-P7z.p0
/z w&_1q,ohq4BR0" You can also specify a different font, overriding the default font and the
NE s:}['{&G"PbK0" one from the hooks above:
1sB U6D7h.rl0ux0 set guifont=WenQuanYi\ Bitmap\ Song\ 10
B]4\2pAow7bK U0------------------------------------------------------------- ------------51Testing软件测试网 _*g pv6E&Kq\6j
主意到最后一行没有这就是重点所在,我们这里使用了转义字符[\ ]<---一个斜杠+一个空格来表示空格。。。。。。。。。。。。。。。。。好了51Testing软件测试网a \E(G V W4c J/]T
51Testing软件测试网&yp'hG Wz8t

over,如有错误之处望指出,谢谢51Testing软件测试网"M$VI#^,x?2\
51Testing软件测试网5q r'T$}Bs ki!y

B.Qf}K R7nHAN0
51Testing软件测试网fg,e(C.]5K#X


TAG: Linux

 

评分:0

我来说两句

日历

« 2024-04-07  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 45688
  • 日志数: 42
  • 图片数: 3
  • 文件数: 1
  • 书签数: 13
  • 建立时间: 2007-01-05
  • 更新时间: 2007-03-03

RSS订阅

Open Toolbar