· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
Linuxdoc Sgml/X-True Type-KLDP

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 ÀÇ ¸ð½ÀÀÔ´Ï´Ù.

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/ ¿¡¼­ ã¾Æº¸½Ç¼ö ÀÖ½À´Ï´Ù.

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 ÇØÁØÈÄ ÇÑÅÒÀ» ½ÇÇà½Ãŵ´Ï´Ù. º»ÀÎÀÇ ÀÔ¸À¿¡ ¸Â°Ô ¿µ¹® ÆùÆ®¿Í ÇÑ±Û ÆùÆ®ÀÇ Å©±â¸¦ Àû´çÇÏ°Ô ¹Ù²Ù¾î ÁÝ´Ï´Ù.

5. Âü°í, ¸Î´Â¸»

½á³õ°í º¸´Ï ÀÌ ±ÛÀÌ ¾ó¸¶³ª µµ¿òÀÌ µÉ±î ÇÏ´Â Àǹ®ÀÌ µé Á¤µµ·Î ¸¾¿¡ µéÁö ¾Ê³×¿ä :-(

ÇÏÁö¸¸ ¾ÕÀ¸·Î ´õ Ãß°¡,¼öÁ¤ Çؼ­ ´õ ³ªÀº ¹®¼­·Î ¸¸µé°Ú½À´Ï´Ù.

¸¶Áö¸·À¸·Î ¿ì¸®°¡ ¾Ë°Ô ¸ð¸£°Ô ¸®´ª½º¿¡¼­ÀÇ ÇÑ±Û »ç¿ë¿¡ ÈûÀ» ¾²½Ã´Â ¸¹Àº ºÐµéÀÌ °è½Ê´Ï´Ù. ±×ºÐµé²² Áø½ÉÀ¸·Î °¨»çÇÏ´Ù´Â ¸»À» ÇÏ°í ½Í³×¿ä.



X truetype ÆùÆ® »ç¿ëÇÏ±â ¹Ì´Ï ÇÏ¿ìÅõ

X truetype ÆùÆ® »ç¿ëÇÏ±â ¹Ì´Ï ÇÏ¿ìÅõ

ÀÓ ÀºÀç, ( eunjea@kldp.org)

¸¶Áö¸· ¼öÁ¤ÀÏ 2000³â 7¿ù 25ÀÏ
º» ¹®¼­´Â X ¿¡¼­ Æ®·çŸÀÔ ÆùÆ® »ç¿ë ¹æ¹ý¿¡ °üÇÑ ÂªÀº ±ÛÀÔ´Ï´Ù.

1. ¼Ò°³

X ¿¡¼­ ¿øµµ±×ÀÇ ±¼¸²Ã¼, arial µîÀÇ truetype ÆùÆ®¸¦ »ç¿ëÇÏ´Â ¹æ¹ý¿¡ ´ëÇØ Áú¹®ÀÌ ¸¹ÀÌ ¿À±â¿¡ ¾ÆÁÖ °£´ÜÇÏ°Ô Á¤¸®ÇÏ¿´½À´Ï´Ù. Ãß°¡ ÇÒ°ÍÀ̳ª ¼öÁ¤ »çÇ×ÀÌ ÀÖÀ¸¸é ÇÊÀÚ¿¡°Ô ¾ðÁ¦ µçÁö ¿¬¶ôÁֽñ⠹ٶø´Ï´Ù.

2. X ¼­¹ö

XFree86-3.3.X ´ë¿¡¼­´Â freetype ÆÐÅ°Áö http://freetype.org ¿Í xtt ÆÐÄ¡°¡ ÇÊ¿äÇÕ´Ï´Ù. 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/

À§ÀÇ ¼³Á¤ ±×´ë·Î »ç¿ëÇϼŵµ ¹«¹æÇÕ´Ï´Ù. ¹°·Ð ÇØ´ç ÆùÆ®µéÀÌ Á¸ÀçÇØ¾ß °ÚÁÒ.

ÀÌÁ¦ º»ÀÎÀÇ 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 ¸¦ Çѹø µÑ·¯º¾´Ï´Ù ;-)

±ÛÀÚ Å©±â°¡ ³Ê¹« Å©°Å³ª ÀÛ´Ù±¸¿ä? ¹Ù²ã ÁݽôÙ. º»ÀÎÀÇ 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 Æ®·çŸÀÔ ÆùÆ®¸¦ »ç¿ëÇÑ ¿¹ gnumeric ÇÑÅÒ¿¡¼­ ±¼¸²Ã¼¸¦ »ç¿ëÇÏ¿© slrn À» ½ÇÇà½ÃŲ ¸ð½ÀÀÔ´Ï´Ù.
ID
Password
Join
Don't be overly suspicious where it's not warranted.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-07-24 11:42:20
Processing time 0.0024 sec