X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=README;h=c9e6412e8de3e7b2aac01d68aa4700dc29f5e626;hb=2392433cd86e4d0f8a0eeb75e016a700c57efa21;hp=02e391562dfa054482f50b27f8114ec9a2ea1fa0;hpb=cf937095d19188bc0d7ded3041f21127f7056b38;p=m17n%2Fm17n-pango.git diff --git a/README b/README index 02e3915..c9e6412 100644 --- a/README +++ b/README @@ -35,78 +35,22 @@ Type the followings on the command line. % make install The default installation path is "/usr/local". -Thus, this loadable module is installed in /usr/local/lib/m17n-pango/1.4.0/modules - m17n-core.h, m17n.h, m17n-gui.h, m17n-err.h, m17n-X.h -These library files are installed in /usr/local/lib: - libm17n-core.{a,so*,la} - libm17n.{a,so*,la} - libm17n-gui.{a,so*,la} - libm17n-X.{a,so*,la} - libm17n-gd.{a,so*,la} - libimx-anthy.{a,so*,la}, - libimx-ispell.{a,so*,la}, -This shell script is installed in /usr/local/bin: - m17n-config -These sample programs are installed in /usr/local/bin too: - m17n-conv, m17n-date, m17n-view, m17n-dump, m17n-edit - -If you don't need GUI libraries (libm17n-gui.so and etc.), you can -instruct the `configure' script not to build them as below: - - % ./configure --without-gui - -This file under `example' sub-directory is a Japanese resource file -for m17n-edit. It is not installed but useful in Japanese locale. Copy -it to your home directory (or, for instance, -/usr/X11R6/lib/X11/ja/app-defaults) and rename it to "M17NEdit" if you -want to see labels in Japanese: - M17NEdit.ja - -These text files under `example' sub-directory are not installed but -useful for testing the rendering engine of the m17n library: - HELLO.utf8 HELLO.xml HELLO-ja.utf8 HELLO-ja.xml HELLO.html -XXX.xml are generated from XXX.utf8 by attaching text property -`language' and serializing. Please read also INSTALL for the generic installation instructions. -(2) DATABASE +(2) USAGE -The m17n library utilizes the m17n database available at: - http://www.m17n.org/m17n-lib/m17n-db -Without this database, the m17n library loses half its value. Please -install it (Ver.1.3.3 or the later is required) too before you try the -above sample programs or develop a program that uses the m17n library. +If you want to use this pango module (shaper engine), do something +like this: +% PANGO_RC_FILE=/usr/local/lib/m17n-pango/1.4.0/modules/pangorc gedit -(3) DOCUMENTATION +To check if this module is surely being used, do this: -This page has a link to full documentation of the m17n library: - http://www.m17n.org/m17n-lib - -Actually, the documentation was generated by Doxygen using comments in -the source files. There are English and Japanese comments in -parallel. - - -(4) USAGE - -The library provides three levels of APIs, CORE, SHELL, and GUI. For -CORE API, include , for SHELL API, include , and -for GUI API, include . See the documentation above, or -the manual of m17nIntro(3) for more detail. - -The shell script "m17n-config" helps compiling and linking of a -program that uses the m17n library. For instance this compiles PROG.c -that uses SHELL API and builds executable PROG. - - % gcc -o PROG `m17n-config --cflags` `m17n-config --libs` PROG.c - -This compiles PROX.c that uses GUI API and builds executable PROX. - - % gcc -o PROX `m17n-config GUI --cflags` `m17n-config GUI --libs` PROX.c +% MDEBUG_FONT=1 PANGO_RC_FILE=/usr/local/lib/m17n-pango/1.4.0/modules/pangorc gedit +Then, the information about which font is being used is printed. ---------------------------------------------------------------------- Copyright information