summaryrefslogtreecommitdiff
path: root/chinese/bg5ps/pkg-descr
blob: 771d73d82a1238fdee9ddc5cfeba0c10f8140f8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
bg5ps is a Python script that generates Postscript from Chinese Big5 encoded
file. You have to specify the TTF font path (default: ~/.bg5ps.conf).

bg5ps -fp fontpath -fn fontname
      -o [1|0] -e [1|0]
      -s size -ls linespacing -cs charspacing
      -tm topMargin -bm bottomMargin -lm leftMargin -rm rightMargin
      -if inputfile -of outputfile
      -cp configFilePath
Size, linespacing, charspacing, and margins are numbers in unit of pt=1/72 in.

bg5ps -h: print this help
or
cat big5text | bg5ps options > outputfile

Example:
bg5ps -fn kai -o 1 -e 0 -s 15 -ls 10 -cs 2 -tm 72 -bm 72 -if test -of test.ps