¿ä°Å ¾öû À¯¿ëÇÑ°Ì´Ï´ç..
http://linux.sarang.net ¿¡¼ ÆÛ¿Ô¾î¿ä.
ÀÚ¹Ù·Î Awt/SwingÇÁ·Î±×·¥À» ÀÛ¼ºÇϽô ºÐµéÀÌ ÇÊ¿ä·Î ÇÏ´Â Çѱۺ¸±â
ÀÛ¼ºÀÚ : ¹ÚÁ¤È£
E-mail : handol0@hitel.net
¸®´ª½º»ó¿¡¼ AWT/SWINGÇÁ·Î±×·¥¿¡¼ ÇÑ±Û º¸±â
============================================
1. ¹é¹¬ ÆùÆ®¸¦ ±¸Çؼ JAVA_HOME/jre/lib/fontsµð·ºÅ丮¿¡ ¾ÐÃàÀ» Ǭ´Ù.
--------------------------------------------------------------------
¿¹Á¦)
baram4x:/usr/local/jdk1.3.0_01/jre/lib/fonts# ls
LucidaBrightDemiBold.ttf LucidaSansOblique.ttf batang.ttf
LucidaBrightDemiItalic.ttf LucidaSansRegular.ttf dotum.ttf
LucidaBrightItalic.ttf LucidaTypewriterBold.ttf fonts.dir
LucidaBrightRegular.ttf LucidaTypewriterBoldOblique.ttf fonts.dir.org
LucidaSansDemiBold.ttf LucidaTypewriterOblique.ttf gulim.ttf
LucidaSansDemiOblique.ttf LucidaTypewriterRegular.ttf hline.ttf
2. fonts.dirÆÄÀÏÀ» ¼öÁ¤ÇÑ´Ù..
-----------------------------
16 <- ¿ø·¡ 12Àε¥, ÆùÆ®ÆÄÀÏÀÇ °¹¼ö¸¦ ³ªÅ¸³½´Ù.
batang.ttf -baekmuk-batang-bold-r-normal--0-0-0-0-m-0-ksc5601.1987-0
dotum.ttf -baekmuk-dotum-medium-r-normal--0-0-0-0-m-0-ksc5601.1987-0
gulim.ttf -baekmuk-gulim-medium-r-normal--0-0-0-0-m-0-ksc5601.1987-0
hline.ttf -baekmuk-headline-medium-r-normal--0-0-0-0-m-0-ksc5601.1987-0
[ÁÖÀÇ»çÇ×] À§¿¡¼ ÆÄÀϸí°ú ÆùÆ®¸í »çÀÌ¿¡´Â ²À °ø¹éÀ¸·Î ó¸®ÇÒ °Í. TABÅ°¸¦ ÀÔ·ÂÇÏ´Â °æ¿ì¿¡´Â
ÆùÆ®¸¦ Á¦´ë·Î ãÀ»¼ö ¾ø´Â °æ¿ì°¡ ¹ß»ýÇÔ.
3. JAVA_HOME/jre/lib/font.properties.ko ÆÄÀÏÀ» ¼öÁ¤ÇÑ´Ù.
--------------------------------------------------------
[¿øº»]
serif.0=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1
serif.1=-b&h-lucidabright-medium-r-normal--*-%d-*-*-p-*-iso8859-1
#replace .1 font line if you have zapf fonts
#serif.1=--zapf dingbats-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific
serif.2=--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific
[¼öÁ¤º»]
serif.0=-baekmuk-gulim-medium-r-normal--*-%d-*-*-m-*-ksc5601.1987-0
serif.1=-baekmuk-gulim-medium-r-normal--*-%d-*-*-m-*-ksc5601.1987-0
serif.2=-baekmuk-gulim-medium-r-normal--*-%d-*-*-m-*-ksc5601.1987-0
À§¿Í °°ÀÌ ¸ðµç ÆùÆ® ÆÄÀÏÀ» ¼öÁ¤ÇϽøé ÇѱÛÀÌ Àß º¸ÀÔ´Ï´Ù...
¹°·Ð À§¿Í °°ÀÌ ÁöÁ¤ÇϽÃÁö ¾Ê°í, ±âÁ¸ÀÇ font.propertiesÆÄÀÏÀ» ±×´ë·Î µÎ½Ã°í,
Font°´Ã¼¿¡¼ ÆùÆ®¸íÀ» ÁöÁ¤ÇϽǼöµµ ÀÖ½À´Ï´Ù.
¿¹) Font _font = new Font("¹é¹¬ ±¼¸²", Font.PLAIN, 14);
ÀÌ»óÀÔ´Ï´Ù...
|