*** empty log message ***
[m17n/m17n-docs.git] / mainpage.txt
1 /* -*- coding: euc-jp; -*- */
2 /***en @mainpage The m17n Library Documentation */
3 /***ja @mainpage m17n ¥é¥¤¥Ö¥é¥ê */
4
5 /***en @section what What is the m17n library? 
6
7 The @e m17n @e library is a multilingual text processing library for
8 the C language.
9
10 <ul>
11
12 <li> It is a free and open source software.
13
14 <li> It is for any GNU/Linux and Unix applications/libraries.
15
16 <li> It realizes multilingualization of many aspects of
17 applications/libraries.
18
19 </ul> 
20
21 The word "m17n" is an abbreviation of "multilingualization".
22
23 The m17n library provides following facilities to handle
24 multilingual text.
25
26 <ul>
27
28 <li> @e M-text: A data structure for a multilingual text.  It is
29 basically a string but with attributes called text property, and
30 is designed to substitute for the C string.  It is the most important
31 object of the m17n library.
32
33 <li> Functions for creating and processing M-texts.
34
35 <li> Functions for converting M-texts from/to strings encoded in
36 various existing formats.
37
38 <li> A huge character space, which contains all the Unicode
39 characters and more non-Unicode characters.
40
41 <li> @e Chartable: A data structure that contains per-character
42 information efficiently.
43
44 <li> Functions for inputting and displaying M-texts on a window
45 system.
46
47 </ul>
48 */
49 /***ja @section what m17n ¥é¥¤¥Ö¥é¥ê¤È¤Ï? 
50
51 @e m17n¥é¥¤¥Ö¥é¥ê ¤Ï C ¸À¸ìÍѤο¸À¸ìʸ½ñ½èÍý¥é¥¤¥Ö¥é¥ê¤Ç¤¹¡£
52
53 <ul>
54
55 <li> ¼«Í³¸ø³«¥½¥Õ¥È¥¦¥§¥¢¤Ç¤¹¡£
56
57 <li> GNU/Linux ¤È Unix ¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ä¥é¥¤¥Ö¥é¥ê¤«¤éÍøÍѤǤ­¤Þ¤¹¡£
58
59 <li> ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ä¥é¥¤¥Ö¥é¥ê¤Î¤µ¤Þ¤¶¤Þ¤Ê¦Ì̤ǡ¢Â¿¸À¸ì²½¤ò¼Â¸½¤·
60 ¤Þ¤¹¡£
61
62 </ul> 
63
64 "m17n" ¤È¤Ï "multilingualization" ¤Î¾Êά·Á¤Ç¤¹¡£
65
66 m17n ¥é¥¤¥Ö¥é¥ê¤Ï¿¸À¸ì¤ò°·¤¦¤¿¤á¡¢°Ê²¼¤Îµ¡Ç½¤òÄ󶡤·¤Þ¤¹¡£
67
68 <ul>
69
70 <li> @e M-text: Â¿¸À¸ì¥Æ¥­¥¹¥ÈÍѤΥǡ¼¥¿¹½Â¤¡£´ðËÜŪ¤Ë¤Ïʸ»úÎó¤Ç¤¢¤ë¤¬¡¢
71 ¥Æ¥­¥¹¥È¥×¥í¥Ñ¥Æ¥£¤È¸Æ¤Ð¤ì¤ë°À­¤¬ÉÕ¤¤¤Æ¤ª¤ê¡¢C ¤Îʸ»úÎó¤ÎÂå¤ï¤ê¤Ë¤Ê¤ë
72 ¤è¤¦À߷פµ¤ì¤Æ¤¤¤ë¡£m17n ¥é¥¤¥Ö¥é¥ê¤ÇºÇ¤â½ÅÍפʥª¥Ö¥¸¥§¥¯¥È¡£
73
74 <li> M-text ¤òºî¤Ã¤¿¤ê¼è¤ê°·¤Ã¤¿¤ê¤¹¤ë¤¿¤á¤Î´Ø¿ô¡£
75
76 <li> M-text ¤È´û¸¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¥³¡¼¥É²½¤µ¤ì¤¿Ê¸»úÎó¤È¤Î´Ö¤ÎÊÑ´¹¤ò¹Ô
77 ¤¦´Ø¿ô¡£
78
79 <li> µðÂç¤Êʸ»ú¶õ´Ö¡£ Unicode Ê¸»ú¤¹¤Ù¤Æ¤È¤½¤ì°Ê¾å¤Î¿ô¤ÎÈó Unicode Ê¸
80 »ú¤ò´Þ¤à¤³¤È¤¬¤Ç¤­¤ë¡£
81
82 <li> @e Ê¸»ú¥Æ¡¼¥Ö¥ë: Ê¸»úËè¤Î¾ðÊó¤ò¸úΨŪ¤ËÊÝ»ý¤¹¤ë¥Ç¡¼¥¿¹½Â¤¡£
83
84 <li>  M-text ¤ò¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à¾å¤ÇÆþÎÏ¡¿É½¼¨¤¹¤ë´Ø¿ô¡£
85
86 </ul>
87 */
88 /***en @section usage How to use it? 
89
90 Simply include <m17n.h> in your program, and link it with the m17n
91 library by -lm17n.  See @ref m17nIntro @latexonly
92 (P.\pageref{group__m17nIntro}) @endlatexonly for the detail.  */
93
94 /***ja @section usage ÍøÍÑÊýË¡ 
95
96 <m17n.h> ¤ò¥×¥í¥°¥é¥à¤Ë include ¤·¡¢-lm17n ¤Ç m17n ¥é¥¤¥Ö¥é¥ê¤È¥ê¥ó¥¯
97 ¤·¤Æ¤¯¤À¤µ¤¤¡£ @ref m17nIntro ¤ò»²¾È¡£@latexonly
98 (P.\pageref{group__m17nIntro}) @endlatexonly  */
99
100 /***en @section extralib External libraries and data 
101
102 The m17n library utilizes these external libraries.  They are not
103 mandatory but several functions of the m17n library depend on them.
104
105 <ul>
106 <li> m17n-db -- http://www.m17n.org/m17n-lib/download/m17n-db-1.1.tar.gz
107
108      Used by @ref m17nShell and @ref m17nGUI.
109
110 <li> libxml2 -- http://xmlsoft.org/
111
112      Used by the functions mtext_serialize () and mtext_deserialize ().
113      Those functions return NULL when libxml2 is not available,
114
115 <li> fribidi -- http://fribidi.sourceforge.net/
116
117      Used for BIDI processing.  If it is not available, the rendering
118      engine of the m17n library can't handle such script as Arabic and
119      Hebrew correctly.
120
121 <li> freetype -- http://www.freetype.org/
122
123      Used for handling local fonts.
124
125 <li> fontconfig -- http://nexp.cs.pdx.edu/fontconfig/
126
127      Used for handling local fonts supported by the freetype library.
128
129 <li> fontconfig -- http://freedesktop.org/Software/fontconfig
130
131      Used for finding local fonts in combination with Xft.
132
133 <li> xft -- http://freedesktop.org/Software/Xft
134
135      Used for drawing text with local fonts by X Render Extension of X
136      server in combination with fontconfig.
137
138 <li> GD
139
140      Used for rendering text with local fonts on bitmap/pixmap.
141
142 <li> libotf  -- http://www.m17n.org/libotf/
143
144      Used for handling OpenTypee fonts in combination with freetype
145      and Xft.
146
147 <li> anthy -- http://anthy.sourceforge.jp/
148
149      Used for the Japanese input method ja-anthy.mim.
150
151 <li> wordcut -- http://thaiwordseg.sourceforge.net/
152
153      Used for finding Thai word boundary in the example program
154      example/linebreak.c.
155
156 </ul>
157
158 */
159 /***ja @section extralib ³°Éô¥é¥¤¥Ö¥é¥ê¡¿¥Ç¡¼¥¿ 
160
161 m17n ¥é¥¤¥Ö¥é¥ê¤Ï°Ê²¼¤Î³°Éô¥é¥¤¥Ö¥é¥ê¤òÍøÍѤ·¤Æ¤¤¤Þ¤¹¡£É¬¿Ü¤Ç¤Ï¤¢¤ê¤Þ
162 ¤»¤ó¤¬¡¢m17n ¥é¥¤¥Ö¥é¥ê¤Î´ö¤Ä¤«¤Î´Ø¿ô¤Ï¤³¤ì¤é¤Ë°Í¸¤·¤Æ¤¤¤Þ¤¹¡£
163
164 <ul>
165 <li> m17n-db -- http://www.m17n.org/m17n-lib/download/m17n-db-1.0.tar.gz
166
167      @ref m17nShell ¤È @ref m17nGUI ¤¬»È¤¤¤Þ¤¹¡£
168
169 <li> libxml2 -- http://xmlsoft.org/
170
171      ´Ø¿ô mtext_serialize () ¤È mtext_deserialize () ¤¬»È¤¤¤Þ¤¹¡£
172      libxml2 ¤¬ÍøÍѤǤ­¤Ê¤¤»þ¤Ë¤Ï¡¢¤³¤ì¤é¤Î´Ø¿ô¤Ï NULL ¤òÊÖ¤·¤Þ¤¹¡£
173
174
175 <li> fribidi -- http://fribidi.sourceforge.net/
176
177      BIDI ½èÍý¤Ë»È¤¤¤Þ¤¹¡£ÍøÍѤǤ­¤Ê¤¤»þ¤Ï¡¢m17n ¥é¥¤¥Ö¥é¥ê¤Îɽ¼¨¥¨¥ó
178      ¥¸¥ó¤Ï Arabic ¤äHebrew ¤Ê¤É¤Î¥¹¥¯¥ê¥×¥È¤òÀµ¤·¤¯½èÍý¤Ç¤­¤Þ¤»¤ó¡£
179
180 <li> freetype -- http://www.freetype.org/
181
182      ¥í¡¼¥«¥ë¥Õ¥©¥ó¥È¤Î½èÍý¤Ë»È¤¤¤Þ¤¹¡£
183
184 <li> fontconfig -- http://nexp.cs.pdx.edu/fontconfig/
185
186      Xft ¤È¶¦¤Ë¡¢¥í¡¼¥«¥ë¥Õ¥©¥ó¥È¤Î¸¡º÷¤Ë»È¤¤¤Þ¤¹¡£
187
188 <li> xft -- http://freedesktop.org/Software/Xft
189
190      fontconfig ¤È¶¦¤Ë X ¥µ¡¼¥Ð¤Î XRender ³ÈÄ¥¤òÍøÍѤ·¤Æ¥Æ¥­¥¹¥È¤ò¥í¡¼
191      ¥«¥ë¥Õ¥©¥ó¥È¤Çɽ¼¨¤¹¤ë¤¿¤á¤Ë»È¤¤¤Þ¤¹¡£
192
193 <li> GD
194      ¥Æ¥­¥¹¥È¤ò¥í¡¼¥«¥ë¥Õ¥©¥ó¥È¤Ç bitmap/pixmal ¾å¤Ëɽ¼¨¤¹¤ë¤Î¤Ë»È¤¤¤Þ
195      ¤¹¡£
196
197 <li> libotf  -- http://www.m17n.org/libotf/
198
199      freetype ¤È¶¦¤Ë OpenType ¥Õ¥©¥ó¥È¤Î½èÍý¤Ë»È¤¤¤Þ¤¹¡£
200
201 <li> anthy -- http://anthy.sourceforge.jp/
202
203      ÆüËܸìÆþÎϥ᥽¥Ã¥É ja-anthy.mim ¤¬»È¤¤¤Þ¤¹¡£
204
205 <li> wordcut -- http://thaiwordseg.sourceforge.net/
206
207      ¥×¥í¥°¥é¥àÎã example/linebreak.c Ãæ¤Ç¥¿¥¤¸ì¤Î¸ì¤Î¶­³¦¤ò¸«¤Ä¤±¤ë¤¿
208      ¤á¤Ë»È¤Ã¤Æ¤¤¤Þ¤¹¡£
209
210 </ul>
211 */
212
213 /***en @section contact Contact us: 
214
215 Global IT Security Group\n
216 National Information Technology Research Institute\n
217 Institute of Advanced Industrial Science and Technology
218
219 Web: http://www.m17n.org/m17n-lib/
220
221 Bug report: m17n-lib-bug@m17n.org
222
223 Subscribe the mailing list 
224 @li (English): http://www.m17n.org/m17n-lib/m17n-lib-archive/index.html
225 @li (Japanese): http://www.m17n.org/m17n-lib/m17n-lib-ja-archive/index.html
226 */
227 /***ja @section contact Ï¢ÍíÀè:
228
229 ÆÈΩ¹ÔÀ¯Ë¡¿Í »º¶Èµ»½ÑÁí¹ç¸¦µæ½ê\n
230 ¾ðÊó½èÍý¸¦µæÉôÌç\n
231 ¥°¥í¡¼¥Ð¥ë IT ¥»¥­¥å¥ê¥Æ¥£¥°¥ë¡¼¥×
232
233 Web: http://www.m17n.org/m17n-lib/
234
235 ¥Ð¥°¥ì¥Ý¡¼¥È: m17n-lib-bug@m17n.org
236
237 ¥á¥¤¥ê¥ó¥°¥ê¥¹¥È¹ØÆÉ (±Ñ¸ì): http://www.m17n.org/m17n-lib/m17n-lib-archive/index.html
238
239 ¥á¥¤¥ê¥ó¥°¥ê¥¹¥È¹ØÆÉ (ÆüËܸì): http://www.m17n.org/m17n-lib/m17n-lib-ja-archive/index.html
240 */
241 /***en @section ack Acknowledgements */
242 /***ja @section ack ¼Õ¼­ */
243 /***
244 Special thanks to:
245
246 <ul>
247
248 <li> Dimitri van Heesch <dimitri@stack.nl>
249
250 Author of Doxygen <http://www.stack.nl/~dimitri/doxygen/>.  Without
251 this tool, it would have been impossible to create this documentation.
252
253 <li> Information-technology Promotion Agency (IPA), Japan
254
255 Writing this documentation was partially funded by
256 Information-technology Promotion Agency (IPA)
257 <http://www.ipa.go.jp/about/english/index.html> in fiscal year 2001.
258
259 </ul>
260 */
261
262 /*** 
263 @htmlonly
264 <hr>
265 Copyright (C) 2001 Information-technology Promotion Agency (IPA)<p>
266 Copyright (C) 2001-2004
267   National Institute of Advanced Industrial Science and Technology (AIST)<p>
268
269 Permission is granted to copy, distribute and/or modify this document
270 under the terms of the GNU Free Documentation License, Version 1.2 or
271 any later version published by the Free Software Foundation; with no
272 Invariant Section, Front-Cover Texts "The m17n library documentation",
273 and no Back-Cover Texts.  A copy of the license is included in the
274 appendix entitled "GNU Free Documentation License".
275 @endhtmlonly
276 */