Change BDB version from 1 to 3.
[chise/kage.git] / kagecgi / README.en
1 KAGE/cgi is a Kanji-glyph generating engine call from httpd server.
2
3
4 PREREQUISITES
5 =============
6
7 KAGE/cgi needs following librarys:
8
9  - Berkely DB 3
10  - libpng
11  - glib2.0
12  - xlib
13
14
15 CONFIGURATION
16 =============
17
18 Please edit `Makefile' fit with your environment.
19
20
21
22 RUNNING MAKE
23 ============
24
25 Run the program `make' as follows:
26
27   % make
28
29
30 INSTALLING
31 ==========
32
33 1) Engine program
34
35 After running `make', `kage.cgi' will appear at current directory.
36
37 Please copy the file to proper directory.
38
39 (Configure httpd for enable excuting .cgi files)
40
41 2) Parts database
42
43 Get database file. (URL `http://fonts.jp/kagedb/wiki')
44
45 Copy to proper directory describing at `kagecgi.h'(databeseFileName).
46
47
48 TEST
49 ====
50
51 Call engine from a web browser like as `http://hoge.hoge/kage.cgi?u4e00'.
52
53 Glyph will be appear (`ICHI (one)' : u4e00 in ISO/IEC 10646-1).
54
55 Another examples:
56  - kage.cgi?u2ff0.u6c35.u6c38 (combination of parts)
57  - kage.cgi?u4e08-k (fix a glyph design to K-Source of ISO/IEC 10646-1 [Default: J-Source])
58  - kage.cgi?u7389&shotai=gothic (generate as Gothic glyph [Default: Mincho])
59  - kage.cgi?u4e5f&type=eps (generate as .eps file [Default: .png file])
60
61 OR run by command prompt mode:
62  - % ./kage.cgi u2ff0.u6c35.u6c38 > result.png
63  - % ./kage.cgi u4e08-k > result.png
64  - % ./kage.cgi 'u7389&shotai=gothic' > result.png
65  - % ./kage.cgi 'u4e5f&type=eps' > result.eps
66
67
68 GETTING MORE INFORMATION
69 ========================
70
71 Please visit http://fonts.jp/ for further information.
72
73 (Currently, only Japanese language site are avalable)