Replace to original source for polygon drawing.
[chise/kage.git] / kagecgi / README.en
1 KAGE/cgi is a Kanji-glyph generating engine.
2
3 It can use by command prompt and for executable cgi for httpd server.
4
5
6 PREREQUISITES
7 =============
8
9 KAGE/cgi needs following librarys:
10
11  - Berkely DB 3
12  - libpng
13  - glib2.0
14
15
16 CONFIGURATION
17 =============
18
19 Please edit `Makefile' fit with your environment.
20
21
22
23 RUNNING MAKE
24 ============
25
26 Run the program `make' as follows:
27
28   % make
29
30
31 INSTALLING
32 ==========
33
34 1) Engine program
35
36   # make install
37
38   (by default, it will be installed as /usr/local/bin/kage.cgi)
39
40  Also, if you need to use as cgi, copy/make symbolic link to proper directory.
41  (ex. % cp /usr/local/bin/kage.cgi /var/www/cgi-bin/)
42  
43 2) Parts database (wget is required)
44
45   # make database
46
47   (by default, it will be installed as /usr/local/share/kagecgi/kagedb) 
48
49
50 TEST
51 ====
52
53 1) Run from command prompt
54
55  - % kage.cgi u2ff0.u6c35.u6c38 > result.png
56  - % kage.cgi u4e08-k > result.png
57  - % kage.cgi 'u7389&shotai=gothic' > result.png
58  - % kage.cgi 'u4e5f&type=eps' > result.eps
59
60 2) Run as cgi program
61
62 Call engine by a web browser like as `http://hoge.hoge/cgi-bin/kage.cgi?u4e00'.
63
64 Glyph will be appear (`ICHI (one)' : u4e00 in ISO/IEC 10646-1).
65
66 Another examples:
67  - kage.cgi?u2ff0.u6c35.u6c38 (combination of parts)
68  - kage.cgi?u4e08-k (fix a glyph design to K-Source of ISO/IEC 10646-1 [Default: J-Source])
69  - kage.cgi?u7389&shotai=gothic (generate as Gothic glyph [Default: Mincho])
70  - kage.cgi?u4e5f&type=eps (generate as .eps file [Default: .png file])
71
72
73 GETTING MORE INFORMATION
74 ========================
75
76 Please visit http://fonts.jp/ for further information.
77
78 (Currently, only Japanese language site are avalable)