Removed for miss placement.
[chise/kage.git] / kagecgi / README.en
index 92b99be..df61ccd 100644 (file)
@@ -1,4 +1,6 @@
-KAGE/cgi is a Kanji-glyph generating engine call from httpd server.
+KAGE/cgi is a Kanji-glyph generating engine.
+
+It can use by command prompt and for executable cgi for httpd server.
 
 
 PREREQUISITES
@@ -8,8 +10,6 @@ KAGE/cgi needs following librarys:
 
  - Berkely DB 3
  - libpng
- - glib2.0
- - xlib
 
 
 CONFIGURATION
@@ -18,7 +18,6 @@ CONFIGURATION
 Please edit `Makefile' fit with your environment.
 
 
-
 RUNNING MAKE
 ============
 
@@ -32,23 +31,33 @@ INSTALLING
 
 1) Engine program
 
-After running `make', `kage.cgi' will appear at current directory.
+  # make install
 
-Please copy the file to proper directory.
+  (by default, it will be installed as /usr/local/bin/kage.cgi)
 
-(Configure httpd for enable excuting .cgi files)
+ Also, if you need to use as cgi, copy/make symbolic link to proper directory.
+ (ex. % cp /usr/local/bin/kage.cgi /var/www/cgi-bin/)
+2) Parts database (wget is required)
 
-2) Parts database
+  # make database
 
-Get database file. (URL `http://fonts.jp/kagedb/wiki')
-
-Copy to proper directory describing at `kagecgi.h'(databeseFileName).
+  (by default, it will be installed as /usr/local/share/kagecgi/kagedb) 
 
 
 TEST
 ====
 
-Call engine from a web browser like as `http://hoge.hoge/kage.cgi?u4e00'.
+1) Run from command prompt
+
+ - % kage.cgi u2ff0.u6c35.u6c38 > result.png
+ - % kage.cgi u4e08-k > result.png
+ - % kage.cgi 'u7389&shotai=gothic' > result.png
+ - % kage.cgi 'u4e5f&type=eps' > result.eps
+
+2) Run as cgi program
+
+Call engine by a web browser like as `http://hoge.hoge/cgi-bin/kage.cgi?u4e00'.
 
 Glyph will be appear (`ICHI (one)' : u4e00 in ISO/IEC 10646-1).
 
@@ -58,12 +67,6 @@ Another examples:
  - kage.cgi?u7389&shotai=gothic (generate as Gothic glyph [Default: Mincho])
  - kage.cgi?u4e5f&type=eps (generate as .eps file [Default: .png file])
 
-OR run by command prompt mode:
- - % ./kage.cgi u2ff0.u6c35.u6c38 > result.png
- - % ./kage.cgi u4e08-k > result.png
- - % ./kage.cgi 'u7389&shotai=gothic' > result.png
- - % ./kage.cgi 'u4e5f&type=eps' > result.eps
-
 
 GETTING MORE INFORMATION
 ========================