  X truetype Ʈ ϱ ̴ Ͽ

   , (eunjea@kldp.org)
    2000 7 25

    X  ƮŸ Ʈ    ª Դϴ.
  ______________________________________________________________________

  

  1. Ұ
  2. X 
  3. Ʈ (X 3.3.X, 4.0.X )
  4. Ʈ ϱ
     4.1 netscape
     4.2 gtk
     4.3 X  Ŵ
     4.4 

  5. , δ¸

  ______________________________________________________________________

  1.  Ұ

  X   ü, arial  truetype Ʈ ϴ 
     ⿡  ϰ Ͽϴ.  ߰ Ұ̳
     ڿ   ֽñ ٶϴ.

  2.  X 

  XFree86-3.3.X 뿡 freetype Ű http://freetype.org
  <http://freetype.org>  xtt ġ ʿմϴ. http://X-TT.dsl.gr.jp/
  <http://X-TT.dsl.gr.jp/>

  ѱ 鿡 κ ̹ ġ Ǿ ִ  ˰ ֽϴ.

  X 4.0.X  ̹ freetype, xtt Ű  Ƿ, 
  (/etc/X11/XF86Config) ⸸ о̸ ˴ϴ.

  ______________________________________________________________________
  Section "Module"

          Load "xtt"

  EndSection
  ______________________________________________________________________

     Ͽ Load "xtt"  ִ Ȯմϴ.  ̶
  Ұ "freetype"  ÿ о̸ ȵ˴ϴ.

  ߰ ƮŸ԰    ѱۻ뿡  ġ
   ֽϴ.

  /usr/X11R6/lib/X11/locale/ko/XLC_LOCALE  캸ð  
  Ȯմϴ.

  ______________________________________________________________________
  .......
  .......
  #  fs1 class
  fs1   {
     charset  {
        name  KSC5601.1987-0:GL
     }
     font  {
        primary  KSC5601.1987-0:GL
        substitute KSC5601.1987-0:GL # ̺κ ִ Ȯմϴ.
     }
  }
  END XL_FONTSET
  .......
  .......
  ______________________________________________________________________

  3.  Ʈ (X 3.3.X, 4.0.X )

  mkdir /usr/X11R6/lib/X11/fonts/truetype/
  cd /usr/X11R6/lib/X11/fonts/truetype/
  ln -sf /mnt/harde/hwin98/fonts/gulim.ttc .
  ln -sf /mnt/harde/hwin98/fonts/arial.ttf .
  ln -sf /mnt/harde/hwin98/fonts/times.ttf .
  ....
  ....

    丮 Ͽ truetype Ʈ  ְų, 
  Ƽ  Ѵٸ ũ ݴϴ.

   truetype Ʈ  fonts.dir   ִ 
  Ƿ     մϴ.  Ʈ  ִ
  丮 fonts.dir ̶     ϴ.

  14
  eb=y:fn=0:gulim.ttc  -ms-gulim-medium-r-normal--0-0-0-0-c-0-ksc5601.1987-0
  eb=y:fn=0:gulim.ttc  -ms-gulim-medium-o-normal--0-0-0-0-c-0-ksc5601.1987-0
  eb=y:ab=y:gulim.ttc  -ms-gulim-bold-r-normal--0-0-0-0-c-0-ksc5601.1987-0
  eb=y:ab=y:gulim.ttc  -ms-gulim-bold-o-normal--0-0-0-0-c-0-ksc5601.1987-0
  eb=y:fn=2:gulim.ttc  -ms-dotum-medium-r-normal--0-0-0-0-c-0-ksc5601.1987-0
  eb=y:fn=2:gulim.ttc  -ms-dotum-medium-o-normal--0-0-0-0-c-0-ksc5601.1987-0

  arial.ttf -ms-Arial-medium-r-normal--0-0-0-0-p-0-iso8859-1
  ariali.ttf -ms-Arial-medium-i-normal--0-0-0-0-p-0-iso8859-1
  arialbd.ttf -ms-Arial-bold-r-normal--0-0-0-0-p-0-iso8859-1
  arialbi.ttf -ms-Arial-bold-i-normal--0-0-0-0-p-0-iso8859-1
  times.ttf -ms-times-medium-r-normal--0-0-0-0-p-0-iso8859-1

  arial.ttf -ms-Arial-medium-r-normal--0-0-0-0-p-0-koi8-ru
  comic.ttf -ms-Comic-medium-r-normal--0-0-0-0-p-0-iso8859-1
  comicbd.ttf -ms-Comic-bold-r-normal--0-0-0-0-p-0-iso8859-1

  ɼǿ  ڼ  ϰڽϴ. ñϽ е ȣ
   о ʽÿ.  http://www.kr.freebsd.org/~cjh/freetime/x11/xtt/
  <http://www.kr.freebsd.org/~cjh/freetime/x11/xtt/>

    ״ ϼŵ մϴ.  ش Ʈ ؾ
  .

    XF86Config Ͽ ش Ʈ θ ־ ݴϴ.

  Section "Files"
  ........
  ........
  FontPath "/usr/X11R6/lib/X11/fonts/truetype/"
  ........
  ........
  EndSection

    캸 xfs  ϴ ͵ .  ٸ
   ٸ xfs  ̰  εϴ   ϴ.   
   Ϻ Դϴ.

  Section "Files"
      RgbPath "/usr/X11R6/lib/X11/rgb"
     FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
     FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
     FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
     FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
     FontPath "/usr/X11R6/lib/X11/fonts/misc/"
     FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
     FontPath "/usr/X11R6/lib/X11/fonts/truetype/"
     FontPath "/usr/X11R6/lib/X11/fonts/ttfonts/"
     FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
     FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
     FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
     FontPath "/usr/X11R6/lib/X11/fonts/PEX/"
     FontPath "/usr/share/fonts/default/Type1"
  EndSection

  X  ٽ մϴ.

  xfontsel   fndry  ms fmly gulim  غϴ.  ̶
  ü ̸   غ ϴ.   ش Ʈ
  ̸ Ÿ ʰų ڰ  ǥõ ʴ´ٸ ̱ ó
  ٽ  캸 ;-)

  4.  Ʈ ϱ

  4.1.  netscape

    Ʈ  캾ϴ.

  For the Encoding: Korean(ks c 5601-1987)
  Variable Width Font: Gulim (Ms)
  size 0 صӴϴ. (ڿ  Ʈ ũ   ϰڽϴ.)
  Allow Scaling  enable  ݴϴ.

   Ʈ   arial  ϴ.
  For the Encoding: Western(iso-8859-1)
  Variable Width Font: Arial (Ms)
   size 0, Allow Scaling  enable .

  ok   netscape ٽ Ͽ http://kldp.org
  <http://kldp.org>  ѹ ѷϴ ;-)

   ũⰡ ʹ ũų ۴ٱ? ٲ ݽô.   home 丮
  ִ  /.Xdefaults   ߰ Ѵ,

  ______________________________________________________________________
  Netscape*documentFonts.defaultFont*ks_c_5601-1987.prop: ms-gulim-160-scale
  Netscape*documentFonts.defaultFont*iso-8859-1.prop:  ms-arial-160-scale
  ______________________________________________________________________

  xrdb -load  /.Xdefaults ݴϴ.

   ٽ netscape   Ͽ  ũ⸦    
  Ʈũ մϴ.  .Xdefaults ־ Ҵ ڸ ٲ㰡 
   ݺϸ ǰ?

          netscape ü arial ƮŸ Ʈ  

  4.2.  gtk

    gtkrc   ϺԴϴ.  ġ ¿  gtkrc 
  ġ ִ  ٸϴ.   /usr/share/gtkrc Ǵ
  /usr/local/etc/gtk/gtkrc Դϴ.

  ______________________________________________________________________
  style "default"
  {
     fontset = "-adobe-helvetica-bold-r-*-*-15-*-*-*-*-*-iso8859-1,\
               -ms-gulim-medium-o-normal--0-140-0-0-c-0-ksc5601.1987-0"
  }
  ______________________________________________________________________

       Ʈ  ü  ־ϴ.
  ׸ gnumeric  Դϴ.

                                 gnumeric
  4.3.  X  Ŵ

    Ű¡Ǿ ִ X  Ŵ i18n ɼ 
  Ű¡ Ǿ ֽϴ. ѱ  ǥõǷ   ʿѵ
    Afterstep ϹǷ ҽ ޾ƴ ./configure --enable-
  i18n  ְ ؼ Դϴ.

   ѱƮ   look  Font ׸   
  Ʈ ڿ ѱ Ʈ ָ߰ ǰڽϴ.

  ______________________________________________________________________
  Font -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*,
  -ms-gulim-medium-o-normal--0-120-0-0-c-0-ksc5601.1987-0
  ______________________________________________________________________

  ٸ  Ŵ鵵    ޴ ѱ ǥҼ
  ֽϴ.  X  Ŵ ѱ 뿡  
  http://kldp.org/~mindgame/unix/hangul/
  <http://kldp.org/~mindgame/unix/hangul/>  ãƺǼ ֽϴ.

  4.4.  

  ҿ Ʈ    Ʈ  ְų

  hanterm -hfn -ms-gulim-medium-o-normal--0-190-0-0-c-0-ksc5601.1987-0
  -fn *-normal-*-c-100-iso8859-1

  ׻  Ű .Xdefault 

  ______________________________________________________________________
  Hanterm*hangulFont: -ms-gulim-medium-o-normal--0-190-0-0-c-0-ksc5601.1987-0
  Hanterm*Font: 8x13bold
  ______________________________________________________________________

       xrdb -load  /.Xdefaults  
  ŵϴ.   Ը °  Ʈ ѱ Ʈ ũ⸦
  ϰ ٲپ ݴϴ.

         ҿ ü Ͽ slrn  Ų Դϴ.

  5.  , δ¸

      󸶳  ɱ ϴ ǹ    
  ʳ׿ :-(

     ߰, ؼ    ڽϴ.

   츮 ˰ 𸣰  ѱ 뿡  ô
   е ʴϴ. ׺е鲲  ϴٴ  ϰ ͳ׿.

