JDK
1. JDK 1.1, 1.2¿¡¼ ÇÑ±Û ¸Þ½ÃÁö Ãâ·Â
°Ô½Ã¹° ÂüÁ¶ : JDK1.1,
JDK 1.2 ÇÑ±Û º¸¿ÏÆÇ (ºñ°ø½Ä)[±è´öÅÂ]
AWT
JFC(½ºÀ®)
JNI(ÀÚ¹Ù ³×ÀÌƼºê ÀÎÅÍÆäÀ̽º)
¼ºí¸´
2. ÆûÀÇ ÇѱÛÀ» ¼ºí¸´¿¡¼ ¹Þ±â
3. À¯´ÏÄÚµå·Î µÈ ÆÄÀÏ À̸§À» ´Ù¿î·ÎµåÇϱâ
JDBC
2. ¿À·¯Å¬ JDBC ÇÑ±Û ¹®Á¦
3. mSQL-JDBC(mSQLÀº miniSQLÀ» ¶æÇÕ´Ï´Ù.)
4. MySQL JDBC driver ÇÑ±Û ¹®Á¦
Table. URL Parameters ¿î¿µÃ¼Á¦
2. AIX¿¡¼ ÇÑ±Û ÀÔÃâ·Â
ÀÚ¹Ù Ç÷¯±×ÀÎ
¹®ÀÚ¼Â, ÀÎÄÚµù, ·ÎĶ
2. KSC5601¿¡ ¾ø´Â ÇÑ±Û ¹®ÀÚ Ã³¸®
3. ¹®ÀÚ ¹üÀ§ °Ë»ç
4. ½Ã°£ Ç¥½Ã
5. ÇÑ±Û ÀÚ¸ðÀ½ ºÐÇØ
URL ÀÎÄÚµù/µðÄÚµù
À¥ ºê¶ó¿ìÀú
2. ³Ý½ºÄÉÀÌÇÁ¿Í ÇѱÛ
3. ÀͽºÇ÷η¯¿Í ÇѱÛ
X/Motif(À¯´Ð½º GUI ȯ°æ)
2. À¯´Ð½º¿¡¼ ÇÑ±Û µð½ºÇ÷¹ÀÌÇϱâ
3. ¿ø°ÝÁö X ¼¹ö¿¡¼ ½ÇÇàÇÑ ¼Ö¶ó¸®½º ÀÚ¹Ù ÇÁ·Î±×·¥ÀÇ ÇÑ±Û ±Û²Ã ¼³Á¤ ±¹³» ÀÚ¹Ù&ÇÑ±Û »çÀÌÆ®
1. JDK 1.0 ¹öÀüÀÇ TextField, TextArea¿¡¼ ÇÑ±Û ÀԷ±⠱¸Çö
»çÀÌÆ® ÂüÁ¶ : ÇѱÛ
À©µµ¿ì 95¿¡¼ ÇÑ±Û ÀԷ±⠱¸Çö[ÀÓ±¹ÁÖ],
1. ½ºÀ® ÄÄÆ÷³ÍÆ®(JTextArea, JTextField)¿¡¼ ÇÑ±Û ÀÔÃâ·Â
½ºÀ® 1.0.2 ¹öÀü+JDK 1.1.6 ¹öÀü¿¡¼´Â ÇÑ±Û ÀÔÃâ·ÂÀÌ ¸ðµÎ
°¡´ÉÇÕ´Ï´Ù. (À©µµ¿ì 95/NT¿¡¼ Å×½ºÆ®)
½ºÀ® 1.0.2 ¹öÀü+JDK 1.1.5 ¹öÀü¿¡¼´Â ÇÑ±Û Ãâ·Â¸¸ °¡´ÉÇÏ´Ù°í
ÇÕ´Ï´Ù.
ÀÌÀü ¹öÀü¿¡¼´Â ÇÑ±Û ÀÔ·ÂÀÌ ¾ÈµÇ°í Ãâ·Â¿¡µµ ÀϺΠ¹®Á¦°¡
ÀÖ¾ú½À´Ï´Ù.
ÀÌÀü ¹öÀü¿¡¼ ÇÑ±Û ÀÔÃâ·ÂÇÏ·Á¸é ´ÙÀ½ °Ô½Ã¹°À» ÂüÁ¶Çϼ¼¿ä
: JTextField,
JTextArea¿¡¼ ÇÑ±Û ÀԷ¹æ¹ý[±è´öÅÂ]
1. JNI »ç¿ë ¶§ÀÇ ÇÑ±Û Ã³¸®
»çÀÌÆ® ÂüÁ¶: ³×ÀÌƼºê
ÀÎÅÍÆäÀ̽º ÇÁ·Î±×·¡¹Ö¿¡¼ÀÇ ´Ù±¹¾î(ÇѱÛ) ó¸®[±è´öÅÂ]
1. ¼ºí¸´¿¡¼ ÇÑ±Û Ã³¸® ¹®Á¦
¼Ò½º ÂüÁ¶ : ºê¶ó¿ìÀú¿¡
µû¶ó, ¶Ç tomcat, apache-tomcat ¿¬µ¿ µî ¼ºí¸´ ÄÁÅ×ÀÌ³Ê È¯°æ¿¡ µû¶ó UTF8,
native encoding µîÀ¸·Î ¼¯¿©¼ ³Ñ¾î¿À´Â url parameter¸¦ Á¦´ë·Î Çؼ®ÇÏ´Â
¿¹Á¦ ¼ºí¸´ ÄÚµå[À±°æ±¸]
°Ô½Ã¹° ÂüÁ¶ : ¼ºí¸´ÀÇ
ÇÑ±Û ÄÚµå ó¸® °úÁ¤[±è´öÅÂ], JSDK
1.1 ȣȯ ȯ°æ¿¡¼ÀÇ ¼ºí¸´ ÇÑ±Û Ã³¸® ¹æ¹ý[±è´öÅÂ]
»çÀÌÆ® ÂüÁ¶ : HURLDecoder
¼Ò½º¿Í ±×¸²À¸·Î ¼³¸íÇÑ »ç¿ë¹ý[°½Åµ¿]
»çÀÌÆ® ÂüÁ¶ : Problem
in downloading a pdf file having Japanese characters in the name of
the file
¿ä¾àÇÏÀÚ¸é ´ÙÀ½°ú °°ÀÌ URL encoding°ú QP ÀÎÄÚµù°ú °ÅÀÇ À¯»çÇÑ (RFC2047 ÂüÁ¶.Á¤È®ÇÏ°Ô
ÀÏÄ¡ÇÏÁö´Â ¾Ê´Â´Ù) ÀÎÄÚµùÀ» Áßø »ç¿ëÇÏ¿© À¯´ÏÄÚµå ÆÄÀÏ À̸§À»
Content-DispositionÀ» ÅëÇÏ¿© downloadÇϵµ·Ï ÁöÁ¤ÇÒ ¼ö ÀÖ´Ù. ¾Æ¸¶,
ÀÎÅÍ³Ý ÀͽºÇ÷η¯ 5.5 À̻󿡼 µ¿ÀÛÇÒ °ÍÀÌ´Ù. ÀÌ·¸°Ô ÇÒ °æ¿ì¿¡ ¾î´À
Á¤µµ ÀÌ»óÀÇ ±ä ÆÄÀÏ À̸§¿¡ ´ëÇؼ´Â ÀÎÅÍ³Ý ÀͽºÇ÷η¯ÀÌ ÀνÄÇÏ´Â Çì´õ ±æÀÌ
Á¦ÇÑ¿¡ ÀÇÇØ Á¦´ë·Î µ¿ÀÛÇÏÁö ¾Ê´Â´Ù.
response.setContentType("application/octet-stream;");
String header = "=?UTF-8?Q?attachment; filename=" + java.net.URLEncoder.encode(fileName, "UTF-8") + ";?=";
response.setHeader("Content-Disposition", header);
1. JDBC¿¡¼ÀÇ ÇÑ±Û ¹®Á¦
°Ô½Ã¹° ÂüÁ¶ : µ¥ÀÌŸº£À̽º¿¡¼ÀÇ
ÇÑ±Û Ã³¸®¹æ¹ý[±è´öÅÂ], µ¥ÀÌÅͺ£À̽º
ÇÑ±Û ¹®Á¦ ÇØ°áÃ¥ÀÇ ¹ö±× ±³Á¤[±è´öÅÂ], JDBC
ÅëÇÕ ÇÑ±Û ÇØ°áÃ¥[±è´öÅÂ]
»çÀÌÆ® ÂüÁ¶: JDBC¿¡¼ÀÇ ÇÑ±Û ¹× ´Ù±¹¾î ó¸®[±è´öÅÂ]
°Ô½Ã¹° ÂüÁ¶ : ¿À¶óŬ
OCI µå¶óÀ̹ö, Thin µå¶óÀ̹ö 7.3.4ÀÇ À¯´ÏÄÚµå 1.2 ÇÑ±Û ¹®Á¦ ¹× ÇØ°áÃ¥[±è´öÅÂ],
JDBC¿¡¼
ÇѱÛó¸® ¹®Á¦(¿À¶óŬ)[¿À¿µ¼®], ¿À¶óŬ
JDBC¿¡¼ÀÇ Çѱ۹®Á¦ ±Øº¹À» À§ÇÏ¿©[³ª°æ±Ç]
»çÀÌÆ® ÂüÁ¶ : ÀÚ¹Ù(¿À¶óŬ)
JDBC¿¡¼ ÇѱÛ󸮿¡ ´ëÇÑ Á¤¸®[³ª°æ±Ç]
°Ô½Ã¹° ÂüÁ¶ : mSQL-JDBCÀÇ
JDK 1.1 Áö¿ø ÇÑ±Û Select, Update ¿¹Á¦[À±°æ±¸]
MM.MySQL JDBC µå¶óÀ̹ö¸¦ »ç¿ëÇÒ ¶§ ÇѱÛÀ»
ÀÔÃâ·ÂÇÏ·Á¸é MySQL ÀÚü´Â À¯´ÏÄڵ带 Áö¿øÇÏÁö ¾Ê°í ISO8859-1 ¹®Àڼ¸¸ Áö¿øÇϹǷΠJDBC
µå¶óÀ̹ö¿¡¼ º¯È¯À» Çϰųª StringÀ» Ç×»ó 8859_1 ¹®ÀÚ¿·Î º¯È¯Çؼ
insert³ª update¸¦ ÇØ¾ß ÇÕ´Ï´Ù.
´ÙÀ½ url¿¡¼´Â MM.MySQL¿¡¼ »ç¿ëÇÒ ¼ö ÀÖ´Â connection url º¯¼ö¸¦ º¼ ¼ö
ÀÖ½À´Ï´Ù.
Documentation for MM.MySQL
Áï, urlÀ» ÁÙ ¶§
Name
Use
Default Value
user
The user to connect as
none
password
The password to use when connecting
none
autoReconnect
should the driver attempt to re-connect if the connection dies? (true/false)
false
maxReconnects
if autoReconnect is enabled, how many times should the driver attemt to reconnect?
3
initialTimeout
if autoReconnect is enabled, the initial time to wait between re-connects (seconds)
2
maxRows
The maximum number of rows to return (0 means return all rows)
0
useUnicode
should the driver use Unicode character encodings when handling strings? (true/false)
false
characterEncoding
if useUnicode is true, what character encoding should the driver use when dealing with strings?
none
jdbc:mysql://host/dbname?useUnicode=true&characterEncoding=EUC-KR
¿Í °°Àº ¹æ½ÄÀ¸·Î ÁÖ°Ô µÇ¸é StringÀ» ÀÔ·ÂÇϱâ À§ÇØ º°µµÀÇ ¹®ÀÚ¿ º¯È¯À»
Äڵ忡¼ ÇÏÁö ¾Ê¾Æµµ µË´Ï´Ù.
¹°·Ð ÀÌ ¹æ¹ýÀ» »ç¿ëÇÏÁö ¾ÊÀ» °æ¿ì Á÷Á¢ ISO8859-1 ¹®ÀÚ¼ÂÀ¸·Î ÀÎÄÚµùÀ» º¯È¯ÇÏ¸é µË´Ï´Ù. (ÀÌ ¹æ¹ýÀº ¸Å¹ø ¹®ÀÚ¿À» ÀÔ·ÂÇÒ ÇÊ¿ä°¡ ÀÖÀ» ¶§¸¶´Ù ÀÌ ¸Þ¼Òµå¸¦ È£ÃâÇØ¾ß ÇϹǷΠÄڵ尡 ÁöÀúºÐÇØÁö¸ç ¹ø°Å·Ó½À´Ï´Ù.)
String convert8859_1(String data) {
try {
data = new String(data.getBytes("EUC_KR"), "8859_1");
} catch (UnsupportedEncodingException e) {
System.err.println("unsupported encoding error");
}
return data;
}
1. ¸®´ª½º¿¡¼ ÇÑ±Û ÀÔÃâ·Â
°Ô½Ã¹° ÂüÁ¶ : Linux
JDBC¿¡¼ ÇÑ±Û ÀÔÃâ·Â ¼º°ø[Àü´öÂù], À¯´Ð½º¿¡¼
Çö´ë ÇÑ±Û 11,172ÀÚ Ãâ·Â ¹æ¹ý ¹× ¿¾ ÇÑ±Û Ãâ·Â ¹æ¹ý, ±âŸ ¹®Á¦Á¡[±è´öÅÂ]
°Ô½Ã¹° ÂüÁ¶ : AIX
4.2ÀÇ JDK 1.1.4¿¡¼ ÇÑ±Û ¹®Á¦ ¿øÀÎ ¹× ÇØ°áÃ¥[±è´öÅÂ]
1. ÀÚ¹Ù Ç÷¯±×ÀÎÀÇ ÇÑ±Û ¹®Á¦
°Ô½Ã¹° ÂüÁ¶ : ÀÚ¹Ù
Ç÷¯±×ÀÎ 1.1ÀÇ ÇÑ±Û °ü·Ã ¹®Á¦Á¡°ú ÇØ°áÃ¥[±è´öÅÂ]
1. À¯´ÏÄÚµå¿Í ÀÎÄÚµù
°Ô½Ã¹° ÂüÁ¶ : À¯´ÏÄÚµå¿Í
UTF-8, ±×¸®°í ÀÚ¹Ù...[±è´öÅÂ], À¯´ÏÄÚµå,
¹®ÀÚ ¼¼Æ®, ÀÎÄÚµùÀÇ °³³ä, ÀÚ¹ÙÀÇ ÀÎÄÚµù °³³ä.[±è´öÅÂ], ÀÚ¹Ù
ÇÁ·Î±×·¥ÀÇ ¹®ÀÚ ÄÚµå º¯È¯ °úÁ¤[±è´öÅÂ], JDK
1.1, 1.2ÀÇ ÇÑ±Û °ü·Ã ÀÎÄÚµù[±è´öÅÂ]
»çÀÌÆ® ÂüÁ¶ : Java¿¡¼
KSC5601ÀÇ ¹®Á¦¿Í ÇØ°áÃ¥[±èÇÊÈ£]
°Ô½Ã¹° ÂüÁ¶ : ¾î¶²
¹®ÀÚ°¡ ÇѱÛÀÎÁö ¿µ¹®ÀÎÁö ÆǺ°Çϱâ[À±°æ±¸]
°Ô½Ã¹° ÂüÁ¶ : Çѱ¹
·ÎĶ·Î ½Ã°£ Ç¥½ÃÇϱâ[À±°æ±¸]
°Ô½Ã¹° ÂüÁ¶ : ÇѱÛ
½ºÆ®¸µÀ» ºÐÇØÇÏ´Â ¹æ¹ý[¹Ú¹Î±Ô]
1. URL µðÄÚµùÇϱâ
¼Ò½º ÂüÁ¶ : ºê¶ó¿ìÀú¿¡
µû¶ó, ¶Ç tomcat, apache-tomcat ¿¬µ¿ µî ¼ºí¸´ ÄÁÅ×ÀÌ³Ê È¯°æ¿¡ µû¶ó UTF8,
native encoding µîÀ¸·Î ¼¯¿©¼ ³Ñ¾î¿À´Â url parameter¸¦ Á¦´ë·Î Çؼ®ÇÏ´Â
¿¹Á¦ ¼ºí¸´ ÄÚµå[À±°æ±¸]
°Ô½Ã¹° ÂüÁ¶ : encodeµÈ urlÀ» decodeÇϱâ[¹ÚÁø¿ì]
2. URL encode¿¡ ´ëÇØ
°Ô½Ã¹° ÂüÁ¶ : url encode¿¡ ´ëÇØ [¹ÚÁø¿ì]
1. À¯´ÏÄÚµå Ãâ·Â
°Ô½Ã¹° ÂüÁ¶ : ÀͽºÇ÷η¯
¹× ³Ý½ºÄÉÀÌÇÁ¿¡¼ÀÇ À¯´ÏÄÚµå, UTF8 Ãâ·Â °¡´É...[±è´öÅÂ]
°Ô½Ã¹° ÂüÁ¶ : ³Ý½ºÄÉÀÌÇÁ
4.x¿Í JDK 1.1 ÆÐÄ¡ ½Ã ÇÑ±Û ¹®Á¦[±è´öÅÂ], ³Ý½ºÄÉÀÌÇÁ4ÀÇ
JDK1.1 ÆÐÄ¡ ¿©ºÎ¿¡ ¹«°üÇÑ ÇÑ±Û »ç¿ë ¹æ¹ý[±èÇÊÈ£]
°Ô½Ã¹° ÂüÁ¶ : ÀͽºÇ÷η¯ÀÇ
<APPLET> ÅÂ±× ¹ö±×[À±°æ±¸]
1. JDK 1.2¿¡¼ À̹ÌÁö ÆÄÀÏÀ̳ª ½ºÀ® µîÀÌ º¸ÀÌÁö ¾Ê´Â ¹®Á¦
JDK 1.2ÀÇ ±¸Çö »óÀÇ ¹ö±×·Î ÀÎÇØ JDK 1.2,JDK 1.2.1-1 µîÀÇ ¹öÀü¿¡¼´Â ¿ø°ÝÁöÀÇ X ¼¹ö(X Å͹̳ÎÀ̳ª Exceed, Xwin32 µîÀÇ PC¿ë X¼¹ö)¿¡¼ GUI ȯ°æÀÇ ÀÚ¹Ù ÇÁ·Î±×·¥À» ½ÇÇà½ÃÅ°¸é À̹ÌÁö³ª ½ºÀ® ¼ÂÀ» ºÒ·¯¿ÀÁö ¸øÇϰųª ¾ÆÁÖ ´À¸®°Ô ºÒ·¯¿À´Â ¹®Á¦Á¡ÀÌ ÀÖ½À´Ï´Ù.
JDK 1.2.1-2 ¹öÀüºÎÅÍ´Â ÀÌ ¹ö±×°¡ ¼öÁ¤µÇ¾úÀ¸¹Ç·Î ÀÌÈÄ ¹öÀüÀ» »ç¿ëÇϽñ⠹ٶø´Ï´Ù.
ÀÚ¹Ù GUI ÇÁ·Î±×·¥À» À¯´Ð½º ȯ°æ¿¡¼ ½ÇÇàÇÒ ¶§ ÇѱÛÀÌ Á¦´ë·Î µð½ºÇ÷¹À̵ÇÁö ¾ÊÀ¸¸é ´ÙÀ½ ¸î °¡Áö ȯ°æÀ» °Ë»çÇØ¾ß ÇÕ´Ï´Ù.
(1) ¸ÕÀú ·ÎĶ ȯ°æº¯¼ö°¡ ¸Â´ÂÁö È®ÀÎÇغÁ¾ß ÇÕ´Ï´Ù.
À¯´Ð½º ȯ°æ¿¡¼ °¢ ±¹°¡¿Í ¾ð¾î¸¦ Ç¥ÇöÇÏ´Â ·ÎĶ ȯ°æº¯¼ö´Â º¸Åë LANG°ú LC_ALLÀε¥ ´ëÇѹα¹-ÇѱÛÀ» ³ªÅ¸³»´Â °ªÀº ¿î¿µÃ¼Á¦¿¡ µû¶ó Á¶±Ý¾¿ ´Ù¸¨´Ï´Ù.
¿¹¸¦ µé¾î ¼Ö¶ó¸®½º´Â LANG=ko, LC_ALL=koreanÀ¸·Î ¼³Á¤Çϸç, ¸®´ª½º, µðÁöÅÐ À¯´Ð½º µîÀº LANG=ko, LC_ALL=ko_KR·Î ¼³Á¤ÇÕ´Ï´Ù.
¼Ð¿¡¼ locale -a ¸í·ÉÀ» »ç¿ëÇϸé ÇØ´ç ½Ã½ºÅÛ¿¡¼ »ç¿ë °¡´ÉÇÑ ¸ðµç ·ÎĶ °ªµéÀ» º¼ ¼ö ÀÖ½À´Ï´Ù.
(2) font.properties.ko°¡ Á¦´ë·Î ¼³Á¤µÇ¾ú´ÂÁö È®ÀÎÇÕ´Ï´Ù.
ÀÏ´Ü ·ÎĶÀÌ Á¦´ë·Î ¼³Á¤µÇ¸é ÀÚ¹Ù GUI ÇÁ·Î±×·¥Àº font.properties°¡ ¾Æ´Ñ font.properties.ko ÆÄÀÏ¿¡¼ ±Û²Ã ¼³Á¤À» ÀоîµéÀÔ´Ï´Ù. (JDK 1.2¿¡¼´Â font.properties.ko ÆÄÀÏÀº $JAVA_HOME/jre/lib µð·ºÅ丮¿¡ ÀÖ½À´Ï´Ù.)
ÁöÁ¤µÈ ±Û²ÃµéÀÌ ÇØ´ç X¼¹ö¿¡ ¼³Ä¡µÇ¾î ÀÖ¾î¾ß ±Û²Ã ¿¡·¯°¡ ¹ß»ýÇÏÁö ¾Ê½À´Ï´Ù.
±Û²Ã ¿¡·¯°¡ ¹ß»ýÇÒ °æ¿ì X¼¹ö¿¡ ÇØ´ç ±Û²ÃÀ» ±¸Çؼ ¼³Ä¡ÇÏ´Â ¹æ¹ý°ú ÀÌ¹Ì ¼³Ä¡µÇ¾î ÀÖ´Â ±Û²ÃÀ» »ç¿ëÇϵµ·Ï font.properties.ko ÆÄÀÏÀ» º¯°æÇÏ´Â µÎ °¡Áö ¹æ¹ýÀ» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
¼Ö¶ó¸®½º 2.6ÀÇ °æ¿ì ¿î¿µ üÁ¦ ÆÐÄ¡¸¦ ¼³Ä¡ÇÏÁö ¾ÊÀ¸¸é ÇÑ±Û ±Û²ÃÀ» Á¦´ë·Î µð½ºÇ÷¹ÀÌÇÏÁö ¸øÇÏ´Â ¹ö±×°¡ ÀÖ½À´Ï´Ù. JDK ÃֽŠ¹öÀüÀ» ´Ù¿î·ÎµåÇÏ¿© »çÀÌÆ®ÀÇ INSTALL ¹æ¹ýÀ» Àß Àо°í OS ÆÐÄ¡¸¦ ¼³Ä¡ÇϽñ⠹ٶø´Ï´Ù.
TTF ÆÄÀÏÀÌ ÀÖÀ¸¸é ÀÚ¹Ù VM¿¡ Á÷Á¢ Ãß°¡Çؼ »ç¿ëÇÒ ¼öµµ ÀÖ½À´Ï´Ù.
$JAVA_HOME/jre/lib/fonts µð·ºÅ丮¿¡ Ãß°¡ÇÒ ttf ÆÄÀÏÀ» ³ÖÀº ÈÄ °°Àº µð·ºÅ丮ÀÇ fonts.dir ÆÄÀÏÀ» ÆíÁýÇؼ µî·ÏÇØÁÖ´Â ¹æ¹ýÀ» »ç¿ëÇÏ¸é µË´Ï´Ù.
¿¹¸¦ µé¾î ÆÄÀÏ À̸§ÀÌ symbol.ttfÀ̶ó¸é ´ÙÀ½°ú °°ÀÌ Àû´çÈ÷ ¿ä±¸ÇÏ´Â Æ÷¸Ë¿¡ ¸ÂÃß¾îÁÖ¸é µË´Ï´Ù. °¡º¯Æø ±Û²ÃÀ̹ǷΠ¹Ýµå½Ã ŸÀÔÀ» p·Î Àû¾î¾ß ÇÏ°í ³ª¸ÓÁö ±Û²Ã Å©±â µî¿¡ °ü·ÃµÈ Á¤º¸´Â 0À¸·Î ÁöÁ¤ÇØÁشٴ Á¡°ú ¸¶Áö¸·ÀÇ ±Û²ÃÀÇ ÀÎÄÚµù Á¤º¸¸¦ Á¦´ë·Î Àû¾îÁà¾ß ÇÏ´Â Á¡À» Á¦¿ÜÇÏ¸é ½±°Ô ÇÒ ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù.
symbol.ttf -urw-symbol-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
ÇÑ±Û ±Û²ÃÀÎ °æ¿ì¶ó¸é ´ÙÀ½ ¹æ¹ýÀ¸·Î fonts.dir ÆÄÀÏÀ» °íÄ¡°í ¹°·Ð font.properties.ko¿¡¼µµ ÀÌ ±Û²ÃÀ» ¾²µµ·Ï ¼öÁ¤ÇØÁÖ¸é µÉ °Í °°±º¿ä.
gulim.ttf -hanyang-gulim-medium-r-normal-0-0-0-0-0-p-0-ksc5601.1987-0
(3) ÀÎÄÚµùÀ» Á¦´ë·Î ÁöÁ¤Çؼ ÄÄÆÄÀϵǾú´ÂÁö È®ÀÎÇÕ´Ï´Ù.
ÇÑ±Û À©µµ¿ì¿¡¼´Â ¿î¿µ üÁ¦ÀÇ font association ¶§¹®¿¡ ÀÎÄÚµùÀÌ À߸øµÈ String °ªµéµµ Çѱ۷Πµð½ºÇ÷¹ÀÌµÉ ¼ö ÀÖ½À´Ï´Ù.
À¯´Ð½º ½Ã½ºÅÛÀÇ GUI ȯ°æ¿¡¼¸¸ ÇѱÛÀÌ 1¹ÙÀÌÆ®·Î µÈ ±úÁø ±ÛÀÚµé·Î µð½ºÇ÷¹À̵ȴٸé ÄÄÆÄÀÏÇÒ ¶§ -encoding EUC_KR ¿É¼ÇÀ» Á༠´Ù½Ã ÄÄÆÄÀÏÇغ¸½Ã±â ¹Ù¶ø´Ï´Ù.
¼Ö¶ó¸®½º 2.6¿¡¼ JDK 1.2.1-3À¸·Î Å×½ºÆ®ÇÑ °á°ú ·ÎÄà ±×·¡ÇÈ ÄܼÖÀÌ ¾Æ´Ñ ¿ø°ÝÁö X ¼¹ö¿¡¼´Â font.properties.ko ÆÄÀÏÀÇ ±Û²ÃµéÀ» ÀÚ¹Ù°¡ µð½ºÇ÷¹ÀÌÇÏÁö ¸øÇÕ´Ï´Ù.
ÀÌ ¿øÀÎÀº ¼Ö¶ó¸®½º native·Î ±¸ÇöµÈ ÀÚ¹ÙÀÇ °æ¿ì °¡º¯ Å©±â(scalable) ±Û²Ã¸¸À» Àоî¿Í¼ µð½ºÇ÷¹ÀÌÇϱ⠶§¹®ÀÔ´Ï´Ù.(¹ö±× ¸®Æ÷Æ®µÇ¾î ÀÖ½À´Ï´Ù. http://developer.java.sun.com/developer/bugParade/bugs/4254107.html)
´Ù¸¥ À¯´Ð½º ½Ã½ºÅÛ(¿¹¸¦ µé¾î Digital UnixÀÇ JDK 1.2.1-2ÀÇ °æ¿ì)¿¡¼´Â ÀÏ¹Ý pcf ±Û²ÃÀ» Á¦´ë·Î µð½ºÇ÷¹ÀÌÇϹǷΠ¼Ö¶ó¸®½ºÀÇ ·¹ÆÛ·±½º ±¸Çö ¹öÀü¿¡¼´Â ÀÌ·± ¹®Á¦°¡ ¾øÀ» °Í °°½À´Ï´Ù.
¹®Á¦´Â scalable ÇÑ±Û ±Û²ÃÀÌ CID, F3, TTF µîÀÇ Æ÷¸ËÀ» °¡Áö°í ÀÖ¾î ¼Ö¶ó¸®½º 2.6¿¡ ¼³Ä¡µÈ X ÆùÆ® ¼¹ö(xfs)°¡ ÀÌµé ±Û²Ã Çü½ÄÀ» Áö¿øÇÏÁö ¾Ê´Â´Ù´Â µ¥ ÀÖ½À´Ï´Ù.
(¼Ö¶ó¸®½º 7¿¡¼´Â Å×½ºÆ®Çغ¸Áö ¸øÇß½À´Ï´Ù. Å×½ºÆ®Çغ¸½Å ºÐ ¾Ë·ÁÁÖ½Ã¸é °í¸¿°Ú½À´Ï´Ù. ¼Ö¶ó¸®½º 2.6ÀÇ °æ¿ì xfsÀÇ È¯°æ ¼³Á¤ ÆÄÀÏÀº /usr/openwin/lib/X11/fontserver.cfgÀÔ´Ï´Ù. ·ÎÄà ±×·¡ÇÈ Äֿܼ¡¼ xset -q¸¦ ½ÇÇàÇÏ¿© font path¸¦ ±¸ÇÑ ´ÙÀ½ ÀÌ path¸¦ fontserver.cfgÀÇ catalogue¿¡ Àû¿ëÇÏ¿© Å×½ºÆ®Çغ¸¸é µÉ °Í °°½À´Ï´Ù.)
ÇØ°áÃ¥Àº ÇÑ±Û scalable ±Û²ÃÀ» ¿ø°ÝÁö¿¡¼ »ç¿ëÇÒ ¼ö ÀÖ°Ô ÇÏ´Â °ÍÀÔ´Ï´Ù. µÎ °¡Áö ¹æ¹ýÀ» »ç¿ëÇغýÀ´Ï´Ù.
(¤¡) Æ®·çŸÀÔ ÆùÆ® ¼¹ö¸¦ »ç¿ëÇÏ´Â ¹æ¹ýÀÔ´Ï´Ù. ÇÑ±Û Æ®·çŸÀÔ ±Û²ÃÀ» »ç¿ëÇÒ ¼ö ÀÖ´Â XTT¸¦ ±¸Çؼ ¼³Ä¡ÇÑ ÈÄ X ¼¹öÀÇ font path¿¡ µî·ÏÇÏ´Â °ÍÀÔ´Ï´Ù.
¹°·Ð font.properties.ko ÆÄÀÏÀ» ÀÌ¿¡ ¸Â°Ô ¼öÁ¤ÇØ¾ß ÇÕ´Ï´Ù.
(¤¤) Exceed¿Í °°Àº PC¿ë X¼¹öµéÀº À©µµ¿ìÀÇ Æ®·çŸÀÔ ±Û²ÃÀ» »ç¿ëÇÏ´Â ±â´ÉÀÌ ÀÖ½À´Ï´Ù. ÀÌ°ÍÀ» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
ExceedÀÇ °æ¿ì¿¡´Â Create Pseudo Font¶ó´Â ¸Þ´º°¡ ÀÖ¾î¼ Æ®·çŸÀÔ ±Û²ÃÀ» µî·ÏÇÒ ¼ö ÀÖ½À´Ï´Ù. ¹°·Ð ÀÚµ¿À¸·Î scalable ±Û²Ã·Î µî·ÏµË´Ï´Ù.
ÀÌ°ÍÀ» Make Alias ÇÏ¿© ½ÇÁ¦ font.properties.ko¿¡ ÁöÁ¤µÈ ±Û²Ã·Î ¹Ù²ãÁÖ¸é µË´Ï´Ù. Alias¸¦ ÁÙ ¶§ ÁÖÀÇÇÒ Á¡Àº scalable ±Û²ÃÀ̹ǷΠ°¢ »çÀÌÁî ¹× Æø µîÀ» 0À¸·Î ÁöÁ¤ÇØ¾ß ÇÑ´Ù´Â Á¡ÀÔ´Ï´Ù.
¿¹¸¦ µé¾î ±âº» font.properties.ko¿¡ ÁöÁ¤µÈ ÇÑ±Û ±Û²ÃÀº ´ÙÀ½ µÎ °¡ÁöÀÔ´Ï´Ù.
-hanyang-cid myeongjo-medium-r-normal-*-*-%d-*-*-m-*-ksc5601.1987-0
-hanyang-cid roundgothic-medium-r-normal-*-*-%d-*-*-m-*-ksc5601.1987-0
cid myeongjo·Î alias¸¦ ÁÖ·Á¸é ´ÙÀ½°ú °°ÀÌ ÁöÁ¤ÇÕ´Ï´Ù. *¿Í %d¸¦ ¸ðµÎ 0À¸·Î ¹Ù²Û´Ù°í »ý°¢ÇÏ¸é µË´Ï´Ù.
-hanyang-cid myeongjo-medium-r-normal-0-0-0-0-0-m-0-ksc5601.1987-0
¸¶Âù°¡Áö·Î cid roundgothicµµ ÀÌ·¸°Ô ÁöÁ¤ÇÏ¸é µË´Ï´Ù. À©µµ¿ìÀÇ ¹ÙÅÁ°ú ±¼¸²À» °¢°¢ cid myeongjo¿Í cid roundgothic·Î ¸ÅÇÎÇϴϱî Àß µÇ´õ±º¿ä.
½ÇÁ¦·Î´Â ¹ÙÅÁ°ú ±¼¸²ÀÌ ksc5601.1987-1 ÀÎÄÚµùÀ¸·Î µî·ÏµÇ´Âµ¥ ksc5601.1987-0 ÀÎÄÚµù ±Û²Ã·Î alias¸¦ Àâ¾Æµµ Àß µÇ´õ±º¿ä. Àú´Â ÀÎÄÚµù¿¡ ¹®¿ÜÇÑÀ̶ó¼ ÂÁ... ¾î·µç °á·ÐÀº µÇ´õ±º¿ä.
[ÀÚ¹Ù
¹¯°í ´äÇϱ⠰ԽÃÆÇ]À¸·Î...
Yoon Kyung Koo <yoonforh at yahoo dot com>
Last modified: Sat Dec 11 23:28:39 +0900 2004