m17nライブラリ は C 言語用の多言語文書処理ライブラリです。
自由公開ソフトウェアです。
GNU/Linux と Unix のアプリケーションやライブラリから利用できます。
アプリケーションやライブラリのさまざまな側面で、多言語化を実現し ます。
"m17n" とは "multilingualization" の省略形です。
m17n ライブラリは多言語を扱うため、以下の機能を提供します。
M-text: 多言語テキスト用のデータ構造。基本的には文字列であるが、 テキストプロパティと呼ばれる属性が付いており、C の文字列の代わりになる よう設計されている。m17n ライブラリで最も重要なオブジェクト。
M-text を作ったり取り扱ったりするための関数。
M-text と既存のフォーマットでコード化された文字列との間の変換を行 う関数。
巨大な文字空間。 Unicode 文字すべてとそれ以上の数の非 Unicode 文 字を含むことができる。
文字テーブル: 文字毎の情報を効率的に保持するデータ構造。
M-text をウィンドウシステム上で入力/表示する関数。
<m17n.h> をプログラムに include し、-lm17n で m17n ライブラリ とリンクしてください。 はじめに を参照。
m17n ライブラリは以下の外部ライブラリを利用しています。必須ではありま せんが、m17n ライブラリの幾つかの関数はこれらに依存しています。
m17n-db -- http://www.m17n.org/m17n-lib-ja/download/m17n-db-1.5.0.tar.gz
m17n ライブラリに種々の情報を提供します。
libxml2 -- http://xmlsoft.org/
関数 mtext_serialize() と mtext_deserialize() が使います。 libxml2 が利用できない時には、これらの関数は NULL を返します。
fribidi -- http://fribidi.sourceforge.net/
BIDI 処理に使います。利用できない時は、m17n ライブラリの表示エン ジンは Arabic やHebrew などのスクリプトを正しく処理できません。
freetype -- http://www.freetype.org/
ローカルフォントの処理に使います。
fontconfig -- http://nexp.cs.pdx.edu/fontconfig/
Xft と共に、ローカルフォントの検索に使います。
xft -- http://freedesktop.org/Software/Xft
fontconfig と共に X サーバの XRender 拡張を利用してテキストをロー カルフォントで表示するために使います。
GD テキストをローカルフォントで bitmap/pixmap 上に表示するのに使いま す。
libotf -- http://www.m17n.org/libotf/
freetype と共に OpenType フォントの処理に使います。
anthy -- http://anthy.sourceforge.jp/
日本語入力メソッド ja-anthy.mim が使います。
wordcut -- http://thaiwordseg.sourceforge.net/
プログラム例 example/linebreak.c 中でタイ語の語の境界を見つけるた めに使っています。
独立行政法人 産業技術総合研究所
情報技術研究部門
グローバル IT セキュリティグループ
Web: http://www.m17n.org/m17n-lib-ja/
バグレポート: m17n-lib-bug-XXXX@m17n.org (XXXXの部分には現在の年(西暦)を4桁で入れてください。)
メイリングリスト: http://www.m17n.org/m17n-lib-ja/mailinglist.htm
Special thanks to:
Dimitri van Heesch <dimitri@stack.nl>
Author of Doxygen <http://www.stack.nl/~dimitri/doxygen/>. Without this tool, it would have been impossible to create this documentation.
Information-technology Promotion Agency (IPA), Japan
Writing this documentation was partially funded by Information-technology Promotion Agency (IPA) <http://www.ipa.go.jp/about/english/index.html> in fiscal year 2001.
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Section, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the appendix entitled "GNU Free Documentation License".