B / Y / U / S
HOME À¥ È£½ºÆà µµ¸ÞÀÎ ¸Å´º¾ó °í°´Áö¿ø ¼³Á¤Á¤º¸ °èÁ¤½Åû 2024-12-28 Saturday 
À¥ È£½ºÆÃ
# °øÁö »çÇ×
# ÀÚÁÖ ¹¯´Â Áú¹®
# Áú¹®°ú ´äº¯
# °¡ÀÔ ¹®ÀÇ
Ä¿¹Â´ÏƼ
# ÀÚÀ¯°Ô½ÃÆÇ
# ¸®´ª½ºÆÁ
# ¾ÆÀÌÅ¥ Å×½ºÆ®
# ³»È¨ ¼Ò°³
# °Ö·¯¸®
# ÀÚ·á½Ç

  ¸®´ª½ºÆÁ  Go Unix Power Tools Online Book Go Bash Guide
Read No. 137 article 2002-04-22 00:32:37
NickName   Tina
Subject   X-Window¿¡ »õ·Î¿î ÆùÆ® ¼³Ä¡Çϱ⠱ǹý.
º¸Åë ÆùÆ®´Â ¾ÐÃàÇؼ­ ÆùÆ®°¡ ¼³Ä¡µÇÀÖ´Â µð·ºÅ丮³ª ÀڱⰡ ¿øÇÏ´Â µð·ºÅ丮¿¡ 
À§Ä¡½ÃÅ°´Â°ÍÀÌ »ó·ÊÀÌ´Ù. ±× À̸§Àº *.pcf.gz or *.pcf.Z ÀÇ Çü½ÄÀÏ °ÍÀÌ´Ù. ¸¸ÀÏ ¾ÐÃàÀ» 
¾ÊµÇ¾î ÀÖ´Ù¸é ¿ë·®À» »ý°¢Çؼ­ ¾ÐÃàÇØÁÖÀÚ. rgothic12.pcf È­ÀÏÀ» ¿¹·Î ¼³¸íÇÏÀÚ¸é Àú°ÍÀ» 
½©¿¡¼­ gzip rgothic12.pcf ¶ó°í Çϸé rgothic12.pcf.gz ·Î ¾ÐÃàÀÌ µÇ¾î º¸°üµÇ¾îÁö¸ç 
ÆùÆ®»ç¿ë¿¡ ÀüÇô ¹®Á¦°¡ ¾ø´Ù. 

 ±×·³ ÀÌÁ¦ºÎÅÍ ÆùÆ®¸¦ ¼³Ä¡Çغ¸ÀÚ. »õ·Î¿î ÆùÆ®¸¦ ¾ò°Ô µÇ¸é ¿ì¼± ÆùÆ®ÀÇ À§Ä¡°¡ ¾îµòÁö 
±Ã±ÝÇÒ °ÍÀÌ´Ù. 
$ cat /etc/XF86Config | grep font ¸¦ ÇØÁֽøé À§Ä¡°¡ ÁÂ¾Ç ³ª¿É´Ï´Ù. 
»õ·Î¿î µð·ºÀ» ¸¸µé¾î¼­ °ü¸®»ó È¿À²À» ¾òÀ» ¼ö µµ ÀÖÁö¸¸ ÀÌ¹Ì Æо²°¡ °É·Á ÀÖ´Â 
µð·ºÅ丮¿¡ ¼³Ä¡Çϴ°͵µ ±¦ÂúÀº ¹æ¹ýÀÌ´Ù. 

 1. ¿ì¼± ÀÌ¹Ì ¼³Ä¡µÇ¾î ÀÖ´Â µð·ºÅ丮¿¡ ¼³Ä¡Çϱ⠱ǹý. 
/usr/X11R6/lib/X11/fonts/local µð·ºÅ丮¿¡ ¼³Ä¡ÇÏ·Á¸é »õ·Î ¾òÀº ÆùÆ®¸¦ Àú À§Ä¡·Î 
¿Å°ÜÁÖ°í Àú À§Ä¡·Î µé¾î°¡¼­(cd /usr/X11R6/lib/X11/fonts/local) ¾Æ·¡¿Í °°ÀÌ ¸í·ÉÀ» 
¼öÇàÇÏÀÚ. 
$ mkfontdir . 
$ xset fp rehash 
ÀÚ ÀÌÁ¦ ÆùÆ®ÀÇ ¼³Ä¡´Â ³¡³µ´Ù. xlsfonts ¸¦ ½ÇÇàÇÏ¿© ¼³Ä¡µÈ ÆùÆ®°¡ ¿¢½º¿¡ Àû¿ëµÇ¾ú´ÂÁö 
È®ÀÎÇغ¸±æ ¹Ù¶õ´Ù. 

 2. »õ·Î¿î µð·ºÅ丮¸¦ ¸¸µé¾î¼­ ¼³Ä¡Çϱâ. 

 /usr/X11R6/lib/X11/fonts ¿¡ myfont ¶ó´Â »õ·Î¿î µð·ºÀ» ¸¸µé¾î¼­ ±× ¾È¿¡ ÆùÆ®¸¦ Ç®¾î 
³Ö¾ú´Ù°í ÇÏÀÚ. »õ·Î¿î µð·ºÅ丮À̹ǷΠ¿¢½ºÀÇ ¼³Á¤È­ÀÏ°ú Æо²¿¡ »õ·Î¿î µð·ºÅ丮¿¡ 
ÆùÆ®°¡ ¼³Ä¡ µÇÀִ°ÍÀ» ¾Ë·ÁÁÖ¾î¾ß ÇÑ´Ù. ´ÙÀ½°ú °°ÀÌ ÇÏÀÚ. 
$ vi /etc/XF86Config 
ÇÑÆäÀÌÁö Á¤µµ ³»·Á°¡¸é ¾Æ·¡¿Í °°Àº ³»¿ëÀ» º¼ ¼ö ÀÖÀ» °ÍÀÌ´Ù. 
Section "Files" 
RgbPath "/usr/X11R6/lib/X11/rgb" 
FontPath "/usr/X11R6/lib/X11/fonts/local" 
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" 
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" 
FontPath "/usr/X11R6/lib/X11/fonts/100dpi: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/75dpi" 
FontPath "/usr/X11R6/lib/X11/fonts/100dpi" 
EndSection 
ÀÌ°ÍÀÌ ¹Ù·Î ÆùÆ®°¡ ¼³Ä¡µÇÀÖ´Â °÷ÀÇ À§Ä¡ÀÌ´Ù. 
FontPath "/usr/X11R6/lib/X11/fonts/100dpi" 
EndSection 
ÀÌ »çÀÌ¿¡ »õ·Î¿î ÆùÆ®ÀÇ µð·ºÅ丮¸¦ ½áÁÖÀÚ. 
Section "Files" 
RgbPath "/usr/X11R6/lib/X11/rgb" 
. 
. 
. 
. 
FontPath "/usr/X11R6/lib/X11/fonts/75dpi" 
FontPath "/usr/X11R6/lib/X11/fonts/100dpi" 
FontPath "/usr/X11R6/lib/X11/fonts/myfont" 
EndSection 

 ÀÌÁ¦ ÆùÆ®ÀÇ À§Ä¡¸¦ ¿¢½º¿¡ ÁöÁ¤Çß´Ù. 
±×·³ ÆùÆ®¸¦ µî·ÏÇϱâ·Î ÇÏÀÚ. 
$ mkfontdir /usr/X11R6/lib/X11/fonts/myfont 

 À̹ø¿£ ¹Ù·Î ¾µ ¼ö ÀÖµµ·Ï ½©¿¡¼­ ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇÏÀÚ. 
$ xset fp /usr/X11R6/lib/X11/fonts/myfont 

 ´Ù µÇ¾ú´Ù. ÀÌÁ¦ µî·ÏµÇ¾ú´ÂÁö xlsfonts ¸¦ ½ÇÇàÇÏ¿© È®ÀÎÇغ¸¶ó. 

 sun font -> ftp.oops.org
Regist Addr [ 192.168.0.2 ] ¸ñ·Ïº¸±â À­±Û ¾Æ·§±Û
Á¤±ÔÇ¥Çö½Ä [ »ó¼¼ °Ë»ö ]
Page Loading [ 0.03 Sec ] SQL Time [ 0 Sec ]

Copyleft 1999-2024 by JSBoard Open Project
Theme Designed by IDOO And follow GPL2

°³ÀÎÁ¤º¸ Ãë±Þ¹æħ ÀÌ¿ë ¾à°ü »çÀÌÆ® ¸Ê ¾îµå¹Î °ü¸®