  TrueType for XFree86 mini-HOWTO

  Ying Zhang, yzhang@sfu.ca
  2/21/1999
  ű: , postbop@hymail.hanyang.ac.kr
  ű䳯: 1999 3 4

    X 󿡼 ƮŸ ۲ ϴ   Ͽ
  ϰ ִ.   ٽ    ǳʶٸ ȴ.
  ______________________________________________________________________

  

  1.  
  2.   
  3. 
  4. ʿ ͵
  5. ġ
  6. ۲ 丮 
     6.1  Ƽǿ ϴ ۲ ̿ϱ
     6.2  ƮŸ ۲ ġϱ

  7. ۲ 丮 
  8. XFSFT XF86Config ϱ
     8.1 xfsft.conf
     8.2 XF86Config

  9. ƮŸ ۲  ϱ
  10. X ϱ
  11. ٸ ۲ ϱ
  12. ˷ 

  ______________________________________________________________________

  1.   

  ڿ ̸Ϸ    ֽ  е鲲  縦
  帰.    е   ݿ ̴.

  2.    

  ڴ  Ͽ  ϴ   Ȯ  
  . ⼭ ϴ ͵ ⺻  ý  
  Ͽ ٰѴ. ڴ  ý  Ǵ ƹ
  å   Ƿ ̷  ˰   
  å߸ Ѵ.

  ׷ ϴ, ,  Ǵ    yzhang@suf.ca
  <mailto:yzhang@sfu.ca> ̸  ٶ.

   Ͽ  ̳  postbop@hymail.hanyang.ac.kr
  <mailto:postbop@hymail.hanyang.ac.kr> ̸  ٶ.

  3.  

  ڴ X  Ǵ ۲  ѵ    ׻ Ҹ
   ־. X ۲ ƮŸ ۲ð   ߴ.
  XFree86  Ϸ Ҽ ۲õ ڰ  
  ۲ÿ ϸ  ̴. Ե,  FreeType Ʈ
  <http://www.freetype.org/>  XFSFT ġ
  <http://www.dcs.ed.ac.uk/home/jec/programs/xfsft> . ̰͵
   ؼ ڼ ٷ ʰڴ.  ִ е 
  湮ϱ ٶ.

   ũž ǻʹ   98 Ʈ  
   ƮŸ ۲  98 Ƽǿ Ǿ ִ. ڰ ϰ
     ۲õ X   ְ ϴ ̴. ڴ

       o    5.2 (Ŀ 2.2.1)

       o  XFree86 3.3.3

    ִ.  ȯ ٸٸ    ȯ濡
  ˸° ϱ ٶ.

  4.  ʿ ͵

   ʿ ͵   ´. ڴ   
  α׷ ġϱ ؼ RPM Ѵ.  ̹ X  ġ
  ϰ ִٰ Ѵ. Ʒ  α׷  ֽ(
   ۼ )̸ ̰͵ rpmfind.net  ߴ.

       o  XFree86 3.3.3 (  , 3.3.3 ڰ
           ִ Matrox G200 ̹ ȴ.)

       o  freetype-1.2-1.i386.rpm

       o  freetype-devel-1.2-1.i386.rpm

       o  xfsft-1.0.3-1.i386.rpm

       o  ttmkfdir.tar.gz (Ǵ
          http://www.darmstadt.gmd.de/~pommnitz/xfsft.html
          <http://www.darmstadt.gmd.de/~pommnitz/xfsft.html>  湮Ѵ)

       o   ƮŸ ۲ 

   ȭϵ ϴµ  Ҹ  Jim Wadell Alaska Linux
  User Group ū 縦 帰.   ȭϵ
  ftp.aklug.org/pub/contributions/TrueType <ftp://ftp.aklug.org/pub/con
  tributions/TrueType>   ִ.

  5.  ġ

  RPM  ġϱⰡ ſ ٴ ̴. ġϱ ؼ ݵ
  root Ǿ Ѵ. root ǰ   ٿε ȭϵ ִ
  丮 ̵    ġѴ.

       $ rpm -Uvh freetype-1.2-i386.rpm
       $ rpm -Uvh freetype-devel-1.2-i386.rpm
       $ rpm -Uvh xfsft-1.0.3-1.i386.rpm

   ttmkfdir  ġؾ Ѵ.

       $ mkdir ttmkfdir
       $ cd ttmkfdir
       $ tar -zxf ../ttmkfdir
       $ make FREETYPE_BASE=/usr

   ttmkfdir ȭ . ̰ /usr/local/bin Ǵ
   ְ   Ѵ. ̰͵ ߿ fonts.dir
  fonts.scale   ʿϴ.

  6.  ۲ 丮 

   ƮŸ ۲(ttf)  丮  Ѵ. ⼭
  е ù °  ϰ ȴ.  Ƽǿ ִ ۲
  ̿ ΰ  ΰ ؾ Ѵ.

  6.1.   Ƽǿ ϴ ۲ ̿ϱ

  ڴ ƮŸ ۲õ  Ƽǿ ϰ ִ. 
  Ƽ /mnt/c Ʈ  ۲ /mnt/c/windows/font
  ִ. ڴ /usr/share/fonts/truetype ¥ ƮŸ ۲ 丮
  Ű ɺ ũ .

       $ mkdir /usr/share/fonts
       $ ln -s /mnt/c/windows/fonts /usr/share/fonts/truetype

  6.2.   ƮŸ ۲ ġϱ

    Ƽǿ    ʰų, ۲õ 
  ϰ  丮 ϳ  ϴ ƮŸ ۲õ
  ִ´.

       $ mkdir /usr/share/fonts
       $ mkdir /usr/share/fonts/truetype

  7.  ۲ 丮 

  ۲ 丮 ۲ ־ fonts.dir fonts.scale ȭ
   Ѵ. ̰͵  ϴ  ñϸ xfsft Ű
     о ٶ.

  ƮŸ ۲ 丮 ̵ϰ  ttmkfdir Ѵ(ð 
  ɸ).

       $ cd /usr/share/fonts/truetype
       $ /usr/local/bin/ttmkfdir > fonts.scale
       $ mkfontdir

  8.  XFSFT XF86Config ϱ

    .   ȭ /usr/etc/xfsft.conf
  /usr/X11/XF86Config ؾ Ѵ.

  8.1.  xfsft.conf

  catalogue  /usr/share/fonts/truetype ϰ  ۲ 丮
  ּó Ѵ.  Ʒ   ̴.

  clone-self = off
  client-limit = 20

  catalogue = /usr/X11R6/lib/X11/fonts/Type1,
              /usr/X11R6/lib/X11/fonts/misc,
              /usr/X11R6/lib/X11/fonts/Speedo,
              /usr/X11R6/lib/X11/fonts/75dpi,
              /usr/share/fonts/truetype,
  #            /usr/X11R6/lib/X11/fonts/100dpi

  use-syslog = off
  error-file = /var/log/xfsft-errors.log

  default-point-size = 120
  default-resolutions = 100,100,75,75

  8.2.  XF86Config

  XFSFT ƮŸ ۲ûӸ ƴ϶ ٸ ۲õ鵵 óش. 
  xfsft.conf ۲ н Ǿ  XF86Config  ʿ䰡
  . X  ƮŸ ۲    ְ  ٸ ָ ȴ.
  ⿡  XF86Config õ  ִ.  ۾  
  (ù°) ϰ    ּó Ͽ.

       FontPath   "tcp/localhost:7100"
       #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"

  [ : tcp/localhost:7100   ٶ.   
  ȣƮ 󿡼 ư      ̴. ǻ
   ۲ü   ְ(ȣƮ monty Ѵ) ٸ
   X  ۲  TCP/monty:7100 Ű   ִ. ٸ
  X   XFree86 Ǵ  ƴϸ  X  ϴ.
  (NCD X ͹̳ Ǵ Ÿ ..). ̰  ٸ  
  ۲  ϴ  ġ ʴ´ٸ  ȣ ġ ؾ 
  ǹѴ. 7100 Ʈ(Ǵ  ۲  ۵ϴ Ʈ) 
   Ŷ źϴ    ִ.]

   . غ.

  9.  ƮŸ ۲  ϱ

  ƮŸ ۲  RPM ġߴٸ ٷ Ų.

       $ /etc/rc.d/init.d/xfsft start

  ̰ ñ /usr/X11R6/bin/xfsft -port 7100 -config
  /usr/etc/xfsft.conf  ϴ Ͱ . Ȥ RPM ġ
  ʾҴٸ ̰ rc.local Ǵ   ũƮ 
  ִ´.  ޽  ̴.   X 
  ().

  10.  X ϱ

   startx ġ X  ۵Ǵ  ˰ ִ. ޽
    ̸,  ۲   ִ!   .
  ݽ ϰ ۲ Times New Roman Ǵ Arial ٲ۴.
    Ҵ  ۲  Courier New  .
  GIMP ο ۲õ Բ .

  X  ϱ⸦ ġ ʴ´ٸ  Ѵ.

       $ xset +fp tcp/localhost:7100

  ̷ , ۲  ٽ 鵵 α׷ Ѵ.

  11.  ٸ ۲ ϱ

   ¥ ۲õ   ִ.

       o  Microsoft's Free TrueType Fonts
          <http://www.microsoft.com/typography/fontpack/>

       o  Acid Fonts <http://www.acidcool.com/>

       o  The Font Ring <http://www.webring.org/cgi-
          bin/webring?ring=fontring&list>

  12.  ˷ 

  ڰ ϴ ߿    .

       o  StarWriter 5.0 (Star Office  μ)  ƮŸ ۲
            . StarOffice  κп  
          StarWriter  ȴ.

       o  ݽ ƮŸ ۲ default fixed Ǵ variable font
            Allow Scaling Ŭ ؾѴ.  ƮŸ ۲ 
          0  12.0   ũۿ   .

