
                          XFree86  Mini HOWTO
                                       
: Doug Holland, [1]meldroc@frii.com
: Hal Burgiss, [2]hburgiss@bellsouth.net
: Yu-Chia Chang, [3]joezhang@ms10.hinet.net

   v1.5.1, 1 Aug. 2000. : 24-31 Aug. 2000
     _________________________________________________________________
   
   θƳªĶ X Window ͡ XFree86 ͵ļ
   ɣŷ(fonts server)TrueType ͣ Netscape ص
   ȡ
     _________________________________________________________________
   
1. 

     * 1.1 
     * 1.2 Change log
     * 1.3 °
     * 1.4 Copyright
     * 1.5 л
       
2. X Server 趨

     * 2.1 趨 FontPath
     * 2.2 X server ѡ (command line options)
       
3. TrueType  ( Windows е)

     * 3.1 ȡ TrueType 
     * 3.2 ŷ
     * 3.3 xfsft
     * 3.4 fonts.alias 
       
4. XFree86 4.x

5. Ӧóʽ

     * 5.1 KDE
     * 5.2 Netscape
       
6. ͽβ

     * 6.1 ¼
     * 6.2 
     _________________________________________________________________
   
1. 

   ұ봦һУһ͸ X Ԥͺ趨 (
   רָ [4]XFree86 X ҲȽϺ)ЩʽԤʹù̶
   (fixed width fonts)ʵϿɱ(variable width fonts)Ϊʵ
   ЩʽʹС˼Աϵ͡ XFree86 ͸
   áȷл㾫µ courier ͣ Times  Helvetica ֻ
   Ǽ򵥵ĵ֣ŵʱͲ״
   
    HOWTO ˵εʽ趨ΰװ壬
   Դ X Window ͵ۺӿɶԵķǽɵ
   XF86Config е FontPath startx  xdm (Ƶͼε¼棩
    X server ѡ(command line options)µͣװ
   TrueType ŷͣʹ K Desktop Environment 1.1 Ĺ
   Ӧóʽ趨趨÷ KDE Ӧóʽɫܹ
   KDE һ¡
   
   ӭۣ޺ [5]meldroc@frii.com 
   [6]hburgiss@bellsouth.net 絽ߡ
   
   밴κεĽ͸ӭдŸҡҵ緽ʽ
   [7]joezhang@ms10.hinet.net
   
1.1 

   һЩУ"#" ͨǱʾֻóʹִУ "$" ʾ
   һʹ߾ͿִС
   
   У/usr/local/share/fonts/ttfonts  TrueType ͵Ŀ¼
   һλãҲԱ
   
   "xfs" ָ Redhat 6.x а xfsĳһ棬һָ
   XFree86 xfs кܴĳ롣
   
   "Netscape" ָ׵ Netscape ʽ: Communicator, Navigator,
   Messenger ȡMozilla ͵趨ͬġ
   
1.2 Change log

     * 0.1: Feb. 21, 1999: һι
     * 0.11: Feb. 27, 1999:  copyright ҵȨ
     * 0.12: Jun. 10, 1999: Ԯ
     * 0.20: Sep. 14, 1999: Ϊ Redhat ʹ߼й xfs һڡл
       Hal Burgiss Ĺס
     * 1.0: Nov. 23, 1999: תΪ SGML ʽ Linux Document
       ProjectԮĲƳ
     * 1.5: July 25, 2000: й fonts.alias, XFree86 4.x  xfsft 
       ½ڣһЩ޸ĺ
       
1.3 °

   1.5 ˹ xfsft, fonts.alias  XFree86 4.x ½ڡ֮⣬
   Ҳһµ½ڣǹһЩͼ¼д xfs ǽڡһЩ
   ޸ĺ
   
    1.51 Ул Kristin Aanestad ԱļĿ顣
   
   ļ° [8]http://feenix.eyep.net/ldp/fdu/index.html ҵ
   
1.4 Copyright

   Copyright 1999 by Doug Holland.
   
   밴: Ϊԭ⣬ⲿݲ (ʵ͵)
   
   Unless otherwise stated, Linux HOWTO documents are copyrighted by
   their respective authors. Linux HOWTO documents may be reproduced and
   in whole or in part, in any medium physical or electronic, long as
   this copyright notice is retained on all copies. Commercial is allowed
   and encouraged; however, the author would to be notified of any such
   distributions.
   
   All translations, derivative works, or aggregate works incorporating
   Linux HOWTO documents must be covered under this copyright notice. is,
   you may not produce a derivative work from a HOWTO and impose
   restrictions on its distribution. Exceptions to these rules be granted
   under certain conditions; please contact the Linux coordinator for
   more information.
   
   In short, we wish to promote dissemination of this information through
   many channels as possible. However, we do wish to retain copyright the
   HOWTO documents, and would very much like to be notified of any to
   redistribute the HOWTOs, this one in particular! Web page are free to
   link to this HOWTO without restriction, though the would appreciate an
   email informing him of this, just so he can his ego by knowing who
   else reads and links to this document.
   
   Many of the terms mentioned in this document are trade names. Unless
   stated, all trademarks are property of their respective owners.
   
1.5 л

   ļ Doug Holland ׫д
   Email: [9]meldroc@frii.com
   WWW: [10]http://www.frii.com/~meldroc/
   
    Hal Burgiss 
   Email: [11]hburgiss@bellsouth.net
   WWW: [12]http://feenix.eyep.net/
   
   رл
     * [13]XFree86 Project ķչ߷׳ǵʱ;֮
       Juliusz Chroboczek  xfsft XFree86 4.x  TrueType ʵ
       ׶Ρ
     * л Kristin Aanestad  xfs, TrueType, Netscape ر
       fonts.alias ½ڵĹס [14]Some Linux for Beginners 
        Kristin ϡ
     *  [15]comp.os.linux.x ǣҸտʼоЩʱ
       Ԯ֡
     * һбΪܵ Linux Ⱥ
     * Microsoft  Apple: ṩͣҵ档
       
2. X Server 趨

   һЩ׾Ϳ X ָõĲ:
   
2.1 趨 FontPath

   Ҫ͵⣬ȵÿ XF86Config (ͨ
   /usr/X11/lib/X11/XF86Config  /etc/X11/XF86Config)㻹û³Ļ
    жҪĲݾ FontPath֮ǰȼ X 
   趨өĻ趨ȴ趨ͷʹȷөĻĸƵ
   (refresh rate)ʹáΧѾ赽 (85Hz ܺã75Hz ͨ60
   Hz ܲ)
   
   ˳ֱֵ༭༭ XF86Configڵͷ File ǽڣӦ
   ῴĶ:
   
FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"

   ⲿ XFree86 3.x  4.x ӦͬơFontPath  X 
   ȥʾϻõ͡е˳ǺҪģһ X Ӧóʽ
    X ҪһЩ֣X server ͨƫòʹõ͡Ȼȥ
   FontPathʹõһ X client Ҫ͡ע⣬Redhat 6.x 
   xfs һַʽ趨 FontPathο 3.2.2 ˽ xfs
   
   Ԥ谲װͨ 75dpi ͷ 100dpi ǰ档һ̨߽ȵʾ
   ʾǳС֡ΣһҪõķǽ 75dpi 
   100dpi  FontPath Ե
   
FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath        "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/"

   Ȼָƫʹòŵĵ֡ʹ Netscape ʹ
   ϴʾĳʽ㽫ᷢЩͻ־״ѿ
   Ҫ misc100dpi  75dpi  :unscaledҪ
   ҲͬʱʹźͲŵֻ֣Ҫŵֵ
   FontPath ǰ棬 X ˵ܵĻʹòŵ֡
   
FontPath        "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
FontPath        "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath        "/usr/X11R6/lib/X11/fonts/misc"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"

   Щıᣬ XǲѾȽƯ?
   
2.2 X server ѡ (command line options)

   һҪǵ X server ѡҪ -dpi ָ
   ʾĽÿӢ㡣ֽܶϵͳʹø߽ȵʾ
   Ҫ 100dpi
   
    console ʾ X
   
 $ startx -dpi 100

   ǲ xdm ͼε¼棬Ҫ༭
   /usr/X11/lib/X11/xdm/Xservers  ( /etc/X11/xdm/Xservers)
   Xserver Сҵĵһ:
   
 :0 local /usr/X11R6/bin/X -dpi 100 -gamma 1.6

    X  Xserver  manpage ҵѶ
   
3. TrueType  ( Windows е)

   Ϊ Redmond Ⱥһǳ۶ݣ
   Windows ϶ TrueType ͵֧ԮȻǴԴ MacOS е
   TrueType еõ⡣ Window 9x  Windows ں Arial
   Times New Roman Courier NewԼ HelveticaTimes
   CourierTrueType ŵģڷŴʱܺÿҲ
   õĵ(hint)СʱȻɶ Windows Ӧóʽͺ
    TrueType ͡ȱ Windows CD ȥ΢õЩ
   ͡
   
   ҵǣXFree86 3.x ûڽ֧Ԯ TrueTypeԼ롣Ȼ
   XFree86 4.x ڽ (ο 4 )ʾ֧Ԯ TrueType ŷ
   ͽᱻװ㲢ڸҵ distribution з־
   TrueType ܵ͡ԭڲûʵ license еľ
   
   
3.1 ȡ TrueType 

   ȴ͡ڸ MS Windows  TrueType Ӧöá
   ִӦóʽҲԼ͡MacOS Ͳʹ
   ѾƬ CD ȥ΢һЩѵ TrueType Ϳ (
   ο 6.2 ڵ)
   
   Ϊʹ TrueType ͣЩͱܹŷȡʾǱ
   һһֱ (mount) ĵϵͳС˫ҵϵͳ (dual boot
   system) ϣҲһ Windows ָȻЩҲԿ
   Linux Сȱɳʹ:
   
 # su -
 # mkdir -p /usr/local/share/fonts/ttfonts

   лµĿ¼:
   
 # cd /usr/local/share/fonts/ttfonts

   ȻὫͼĿ¼Ǵ Windows ϵͳп
   
 # cp /mnt/<path_to_fonts>/*ttf  .

   Ǵ [16]Mircosoft ءЩԽѹ zip  Linux
   ½ѹرʾ 'Windows 3.1' ĵ Linux  Linux zip 
   
   
 # ls *exe | xargs -n 1 unzip -L

   '-L' ѡὫתΪСд xfsft  Redhat  xfs ǱҪġע
   ڵ Linux zip ʽܴ 32 λԪ Win9x ѹ
    Microsoft վϷ 16 bit  Arial, Courier 
   Times-Roman [17] ذ MS TrueType ͵
   WebFonts RPMѾ㹻͸ Netscape ·ʹ
   
   
    X server  FontPath мµ TrueType Ŀ¼˳ֵ
   ֱ༭ʵļ:
   
FontPath        "/usr/local/share/fonts/ttfonts"
FontPath        "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
FontPath        "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath        "/usr/X11R6/lib/X11/fonts/misc"
FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"

3.2 ŷ

   ŷʹ: xfsttxfsft Redhat  xfsft ޸Ķ
    xfsȻЩֿ񣬵ȴǲͬ׼һ
   ׼ӦѾκ Linux distributionҲѾװ
   
   
   ǰŷ·ṩ͡͵ԴԴһ̨ϣ
    client Ҫʱȡķչ¹ܣԻ
   TrueType ͡(XFree86 4.x ѾܣֻҪṩ
   TrueType ֧ԮĻҪŷ)
   
  xfstt
  
   һŷ xfsttϾпǵ TrueType ͡
   
  װ
  
   xfstt ǳװװ趨δװĻվ tarball 
    CDµİ汾
   [18]http://metalab.unc.edu/pub/Linux/X11/fonts/
   
    tarball ᣬ⿪:
   
 $ tar -zxvf Xfstt-*tgz

   ȻͰװINSTALL м򵥵˵ʵǲûʲԽֻ
   Ҫ xfstt Ŀ¼£ָ:
   
 # make
 # make install

   ָ xfstt:
   
 # xfstt --sync              #  xfstt Ͽ
 # xfstt &                # ڱִ xfstt

   xfstt ӦҪ X server һִ
   /etc/rc.d/rc.local ʵʼмһСȻ:
   
 $ xset +fp unix/:7100       # ֪ X й xfstt ͵ȥ

    XF86Config мָ֪ X йŷ
   FontPath λúиıʱִ xfstt --sync
   
   FontPath "unix/:7101"
   
  Ԥ͵ĴС
  
    TrueType Ե൱Сָа
   
    X server м -dpi (ο 3 )
   
   ʹ --res  xfstt ԤĽȡָ
   
 # xfstt --res 120

  Redhat  xfs
  
   ͬ Redhat Linux 6.0 һ㣬ܹ Redhat ϵ distribution (
   Mandrake ) Ѿһر xfs  X serversRedhat
    xfs  xfsft ЩǼܹ FreeType Font
   libraryRedhat  xfs ṩ xfstt ƵĹܡֻܴ TrueType
    Type 1 ͣҲԶԸԭ X ͡
   
   ʹüܹ Redhat  distributionxfs ӦѾװˡûУ
    XFree86-xfs*rpm СҪȷԤִеķ񣬿 ntsysv
   :
   
 # chkconfig --add xfs

    xfs ͻÿһοʱ
   
  趨 xfs  FontPath
  
    Redhat Ԥ谲װУxfs Ǿ Unix Domain Socket ṩ͡Ǳ
    X server ȥ xfs ͡ /etc/X11/XF86Config е
   FontPath һҪ:
   
FontPath   "unix/:-1"

   Ԥˡһ xfs ȥ listen  socketҲԼ
    FontPathǱ X server  xfsװµ
   Redhat 6.x ӦþѾ趨ˣǴӾɵİ汾Լ
   ޸ġ
   
   xfs  /etc/X11/fs/config дԼ FontPath͵ĵط
    XF86Config У X server  FontPath 档ֱ
   µ· chkfontpath :
   
 # chkfontpath --add /usr/local/share/fonts/ttfonts

    FontPath ִ chkfontpath ǰҪȴڡ
   /etc/X11/fs/config زݿӦ:
   
catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
            /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
            /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
            /usr/X11R6/lib/X11/fonts/Type1,
            /usr/X11R6/lib/X11/fonts/Speedo,
            /usr/X11R6/lib/X11/fonts/misc,
            /usr/X11R6/lib/X11/fonts/100dpi,
            /usr/X11R6/lib/X11/fonts/75dpi,
            /usr/local/share/fonts/ttfonts

  ׼
  
   ʹ TrueType ǰһЩҪxfs ҪһЩ鰴չ
   ȣеСдڶﲻпհסȻᣬǻҪ
   һЩС
   
   ȳΪʹߣȻᵽ TrueType ͵Ŀ¼:
   
 # su -
 # cd /usr/local/share/fonts/ttfonts

   Сдʹ script еתΪСд:
   
 #!/bin/sh
 #
 ## -------- convert upper to lower case ---------

 ls * | while read f
  do
    if [ -f $f ]; then
      if [ "$f" != "`echo \"$f\" | tr A-Z a-z`" ]; then
       #Note that 'This' will overwrite 'this'!
       mv -iv "$f" "`echo \"$f\" | tr A-Z a-z`"
      fi
    fi
  done

 ## eof

   ע --  (backquotes) Ҫ! ҲеĿհƳ
   TrueType ʵװᣬҪ fonts.dir  fonts.scale 
   :
   
 # ttmkfdir -o fonts.scale
 # mkfontdir

    TrueType Ŀ¼Ӧ fonts.dir  fonts.scale 
   ttmkfdir  Freetype  RPM  mkfontdir ǰִСЩ
   ÿζرҪ֤ȷ˵Ҳǿյ:
   
 $ ls -l fonts.*
  -rw-r--r--  1 root   root   11657 Aug 17 10:31 fonts.dir
  -rw-r--r--  1 root   root   11657 Aug 17 10:31 fonts.scale

   ⣬ ttmkfdir м - m ѡвȷ
   Ԫ趨һ֣ 50  100 (ttmkfdir -m 50) ֵ
   һ:
   
 $ less  fonts.dir
  114
  webdings.ttf  -microsoft-Webdings-medium-r-normal--0-0-0-0-p-0-microsoft-symb
ol
  verdanaz.ttf  -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-ascii-0
  verdanaz.ttf  -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-fcd8859-15
  verdanaz.ttf  -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-iso8859-15
  verdanaz.ttf  -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-iso8859-9
  verdanaz.ttf  -microsoft-Verdana-bold-i-normal--0-0-0-0-p-0-iso8859-1
 [...]

    xfs ( XFree86 4.x )  X server  FontPath:
   
 # /etc/rc.d/init.d/xfs restart
 $ xset +fp /usr/local/share/fonts/ttfonts
 $ xset fp rehash

   Ƴµʱִͷβxset +fp ֻ
   Ŀ¼ʱִС
   
   ӦþûˡԼ X ʹõ:
   
$ xlsfonts | less

    xfontsel  gfontsel 顣 xlsfonts пԿ X 
   ʹã֮Ȼûг֣ Ctrl-Alt-BS  X
   
3.3 xfsft

   [19]xfsft  Juliusz Chroboczek д TrueType xfsft Ǽ
    Mark Leisher д FreeType font libraryһ
   XFree86 xfs ټغʽ޲ -- xfs + ftRedhat  xfs 
    xfsft ټһЩСС Free86 4.x ҲͬΪ Juliusz д
    freetype ģ(font module) XFree86 4.x  TrueType 
   еһ
   
   Ҫ xfsft  xfsft ⣬ٻҪһЩ XFree86 ԭʼԲ
   ʺ಻ǿ׳ˡ趨 xfsft ˵Ѿ tarball У
   Ҳϸֱӡ xfsft ҳ () һЩִ
   ᡣ
   
   ע fonts.scale  fonts.dir  xfsftfonts.scale 
    ttmkfdir ʽδ xfsft [20]
    Linux վץRedhat  Freetype  RPM ʽ
   
   ҲҪһ趨Ǹ:
   

-----------------------------------------------------

clone-self = off
use-syslog = off

client-limit = 20

catalogue = /usr/local/share/font/ttfonts

error-file = /home/jec/fonts/xfs.errors

# in decipoints
default-point-size = 120

# x,y
default-resolutions = 100,100,75,75

-----------------------------------------------------

   Ȼִ xfsft:
   
# xfs -port 7100 -config /path/to/your/config/file &

    X server  FontPath м xfsft:
   
$ xset +fp tcp/localhost:7100

   һ˳Ļ XF86Config м FontPath
   
3.4 fonts.alias 

   fonts.alias һԵδ͵趨ͬ fonts.scale 
   fonts.dir һ㣬fonts.alias ҲͷͬһĿ¼¡ȻǱ
   ҪģеĻȷĳЩܷ⡣һժ Redhat ϵͳ
    /usr/X11R6/lib/X11/fonts/misc/fonts.alias һе:
   
 fixed    -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1

    fixed ǻ(alias)ÿ fixed ʱʵõǵ
   еͶ塣̫С? ֻҪͶ弴 (: Redhat У
   Ҫ)ͬԭӦõеͣ TrueType ֡ʵ
   ϣû TrueTypeɽ Type 1 ƵͻΪ
   TrueType
   
   ĳЩ޷ƴ fonts.scale ṩϵӦóʽУfonts.alias 
   Ե൱Ҫľ Netscapeû fonts.aliasᷢ
   Netscape ֻʾ 0  12 ֡Ҳ Preferences ָ
   һֵ scalable font ѡNetscape ޷趨
   ᷳ! Ҫȡһ fonts.scale :
   
 arial.ttf   -monotype-Arial-medium-r-normal--0-0-0-0-p-0-ascii-0
 arial.ttf   -monotype-Arial-medium-r-normal--0-0-0-0-p-0-fcd8859-15
 arial.ttf   -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-15
 arial.ttf   -monotype-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-1

   ΪЩǿŵģԲûԤĵ Arial ˵Ǳ
   Լ fonts.alias :
   

 -monotype-Arial-medium-r-normal--6-60-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--9-90-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--7-70-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--9-90-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--8-80-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--10-100-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--9-90-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--11-110-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--10-100-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--12-120-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--11-110-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--12-120-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--12-120-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--12-120-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--13-130-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--13-130-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--14-140-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--14-140-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--15-150-0-0-p-0-iso8859-1 \
             -monotype-Arial-medium-r-normal--15-150-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--18-180-0-0-p-0-iso8859-1 \
            -monotype-Arial-medium-r-normal--18-180-75-75-p-0-iso8859-1

 -monotype-Arial-medium-r-normal--24-240-0-0-p-0-iso8859-1 \
            -monotype-Arial-medium-r-normal--24-240-75-75-p-0-iso8859-1

   (עǽԭһедӿɶ)ʵӦ÷ͬһ
   УһϵĿհ֣мû "\" š֮ͻ
   Netscape ܵú˳Ҳǰ漸һк͵ڶеĵ
   ͬһĵһ'6'ڵڶȴΪ'9' 9 ֡Ϊ
   ˽ Netscape ɱСֶĵġϲãȺ
   
   
   ֶ sed  awk script [21] һ
   ⵵ص Kristin Aanestad վϡҲһ
   ظԶ fonts.alias  python scriptл KristinŬ
   ͼһڡ
   
4. XFree86 4.x

   [22]XFree86 4.0 ֱṩ˶ TrueType ֧ԮһЩ¹ܡܸĽ
   ֧ԮǼܹ Juliusz Chroboczek  xfsft xfsft ǼܹԴ
   Mark Leisher  FreeType font library XFree86 4.x 趨
   xfsft  Redhat ޸ĵ xfs
   
   FontPath һֱ XF86Config  Redhat xfs ʹߣֻҪ
   FontPath  /etc/X11/fs/config  XF86Config ɡֻҪ
   TrueType ֧ԮҪ xfs ˡ㻹Ҫṩ· client ͣ
   Խ xfs رա
   
 Section "Files"
  FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath "/usr/X11R6/lib/X11/fonts/misc"
  FontPath "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath "/usr/share/fonts/default/Type1"
  FontPath "/usr/local/share/fonts/ttfonts"
  FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
  FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
 EndSection

   Ϊʹ TrueType ֣㻹 "Module" ǽҪָ X server Ҫʹ
   һģ:
   
 Section "Module"
  Load  "freetype"
  Load  "speedo"
  Load  "type1"
 EndSection

   ͬ xfsft  Redhat  xfs㻹ÿһ TrueType Ŀ¼²
   fonts.scale  fonts.dir  [23]ttmkfdir ڲ fonts.scale ʱ
   áοǰ xfs ǽȡøϸϺӡ
   
   xtt һ֧Ԯ (ideographics, Oriental)  TrueType ģ
   ֶʹãͬһʱֻʹһ֡
   
5. Ӧóʽ

5.1 KDE

   KDE  Linux  X ﷢õ֮һṩһ
   һµʹ߽棬һܹӴ Linux
   [24]http://www.kde.org/. ҵϸϡΪʲһ?
   Ϊ KDE 1.1 иɫܹʽͺɫڵ KDE 
   һ£ KDE Ӧóʽ
   
  ڷ KDE ӦóʽӦ KDE ͺɫ
  
   ܼ򵥡ֻҪ KDE Ŀ(Control Center) Desktop 
   styleиѡ "Apply fonts and colors to non-KDE apps"(
   ɫӦõ KDE Ӧóʽ)ѡ OK! ´㿪
    X ӦóʽǾͻ KDE Ӧóʽ㣬ʹͬɫ
   ͡Щϲɫ㲻ϲĻҲԽص
   
5.2 Netscape

   ! Netscape  Linux һҪӦóʽǶ
   ҪҲʹֵر𻨵ʱоӰװᣬNetscape
   ͳǸո۵ -- о״ѿ֣̫С
   һԱ֮˵Ϊʲڿƪµԭ?
   
   ϣʱѾǰĽ顣ЩаTrueType ͼ
   ǱģҲҪһ TrueType ŷҳָʹõ
   (family) Arialͨ Linux ʹȴûСȻǸ
   ƣЩ򵥵 TrueType ֽǿ˷Щӵ
   ơMicrosoft -- ޷ȴҲٲ (can't live with 'em, can't
   live without 'em)
   
   Ѿʹ TrueType ˣ Netscape ѡѡ Edit ->
   Preferences -> FontsӴֱ Variable Width Font ѡӦ
   ÿԿ TrueType ͡ѡһϲĵԤ衣Ҳѡȡ
   Allow Scaling õ͵ֻ 0  12 㣬Լ
   ҪĵȻѡ OKNetscape ȱǵЩ趨
   ÿ Netscape ʱһΣ㽫 fonts.alias 趨òſ
   ⡣οfonts.alias һڡ
   
   Ҳ ~/.Xdefaults (ϵͳҲ ~/.Xresources) 趨:
   
 Netscape*DocumentFonts.sizeIncrement: 10
 Netscape*documentFonts.xResolution*iso-8859-1: 120
 Netscape*documentFonts.yResolution*iso-8859-1: 120

    Netscape ʹòͬ 'basefont''sizeIncrement' ÿһĴС:
   
 <basefont size=7>

   ˵Ԥ '20'൱ʡıֵ᲻ Netscape 
   ͡x  y ĽȴԺ 'dpi' ͬںġΧУκεֶ
   ʹáЩʵ顣
   
   ִ:
   
 $ xrdb -load ~/.Xdefaults

   ( .Xresources)Ȼ Netscape趨ı䡣
   Netscape.ad  (ӦóʽԤֵ)Ӧð Netscape ׼С
   
   ķܽ Netscape Сֵ⣬ǰ fonts.alias ǽ
   ַʽϸ趨
   
   Mozilla 趨Ӧôͬᷢ Mozilla  X дĽ
   ã忴ȽϺá
   
6. ͽβ

6.1 ¼

   ҵ Linux вûһͳһʹϵͳÿһʽ
   ʹ TrueType, Type 1 Ȥ͡ÿһӦóʽҲ
   Լ趨ʽԼԡ
   
   󲿷ͼνӦóʽӦöʹ TrueType  Type 1 ͡Ȼ
   Linux  WordPerfect ȴ޷ʹ TrueType(ȡĸ
    WordPerfect )ֱ༭ն˻ĳʽҪ̶
   Զ TrueType ŵ޷úô
   
   Ȼû۵ Type 1 Ҳṩ TrueType ͵ĺ
   Ѿװ˲١ҵ Type 1  TrueType һ·ϵ
   ׼ȴܺʣӡԲο
   [25]ghostscript ȡĸѶ
   
   ֽ XFree86 ֧Ԯֱữ(Anti-aliasing)
   
   ȻԤ͵ xfs ŷǼûʲӦóʽõ
   
   
6.2 

   [26]Video Timing HOWTOйөĻ趨
   
   [27]Font HOWTO춰װͺһЩӦóʽ StarOffice,
   Applixware, Wordperfect, Ghostscript, TeX/LaTeX ͼɡ
   
   [28]TrueType HOWTOӡһЩӦóʽļɡ
   
   [29]xfsft HomepageX  TrueType ֧Ԯ XFree86 4.x ģ
   Redhat  xfs ԴվһЩͺ TrueType ᡣ
   
   [30]Some Linux for Beginnersܰվйͺ Linux Ŀ
   ۹ⲢҸΪϸ
   
   [31]X-TrueType Homepage TrueType ŷģĺͺ
   ܷ㡣
   
   [32]NetscapeһЩʹСļɡ
   
   Using Corel Wordperfect 8 for Linux  Rod Smith  [33]Wordperfect
   for Linux -- Fonts and Printersй Wordperfect ʹ
   TrueType кܰϡ
   
   [34]XFree86 Project˻޿ɼĹһɱּͼ
   滷 [35]XFree86 4.x Щ͵ϡ
   
   [36]Microsoft Web Fonts뻢ѨǻѵҮûwin32
   ϵͳ⿪ץʾ Win3.1 һ Linux ½⿪ (ǰ)
   
   
   [37]Web Fonts RPM package MS ·ʹ͡
   
   Hewlett Packard -- Garamond, Bodoni, Dark Courier, Euro Sign  Ozzie
   Black  [38]HP FontSmart TrueType Fonts Linux  unzip ⿪
   
   
   [39]Freeware Connection -- Free Fonts Sites һѵվᡣ
   
   [40]Bitstream's Geometric SlabserifTrueType ͡
   
   һά Redhat  xfs [41]help and troubleshooting pageһ
    MS TrueType ͣfonts.scale  fonts.dir  RPM ׼

References

   1. mailto:meldroc@frii.com
   2. mailto:hburgiss@bellsouth.net
   3. mailto:joezhang@ms10.hinet.net
   4. http://www.xfree.org/
   5. mailto:meldroc@frii.com
   6. mailto:hburgiss@bellsouth.net
   7. mailto:joezhang@ms10.hinet.net
   8. http://feenix.eyep.net/ldp/fdu/index.html
   9. mailto:meldroc@frii.com
  10. http://www.frii.com/~meldroc/
  11. mailto:hburgiss@bellsouth.net
  12. http://feenix.eyep.net/
  13. http://www.xfree.org/
  14. http://home.c2i.net/dark/linux.html
  15. news:comp.os.linux.x
  16. http://www.microsoft.com/typography/fontpack/default.htm
  17. http://rpmfind.net/linux/RPM/contrib/noarch/noarch/webfonts-1-3.noarch.html
  18. http://metalab.unc.edu/pub/Linux/X11/fonts/
  19. http://www.dcs.ed.ac.uk/home/jec/programs/xfsft/
  20. http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz
  21. http://home.c2i.net/dark/linux.html#ttf
  22. http://www.xfree86.org/4.0/
  23. http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz
  24. http://www.kde.org/
  25. http://www.ghostscript.com/
  26. http://linuxdoc.org/HOWTO/XFree86-Video-Timing-HOWTO.html
  27. http://www.linuxdoc.org/HOWTO/Font-HOWTO.html
  28. http://www.moisty.org/~brion/linux/TrueType-HOWTO.html
  29. http://www.dcs.ed.ac.uk/home/jec/programs/xfsft/
  30. http://home.c2i.net/dark/linux.html
  31. http://X-TT.dsl.gr.jp/
  32. http://help.netscape.com/kb/consumer/19960513-54.html
  33. http://www.rodsbooks.com/wpfonts/
  34. http://www.xfree86.org/
  35. http://www.xfree86.org/4.0/fonts.html
  36. http://www.microsoft.com/typography/fontpack/default.htm
  37. http://rpmfind.net/linux/RPM/contrib/noarch/noarch/webfonts-1-3.noarch.html
  38. http://www.fontsmart.com/fonts.htm
  39. http://www.freewareconnection.com/fonts.html
  40. http://www.will-harris.com/fonts/freefonts.htm
  41. http://feenix.eyep.net/xstuff/xfs.html
