mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-03 22:23:24 +00:00
c90bb39b08
the letters "B" and "C". And some Chinese symbols as well.
18 lines
619 B
Plaintext
18 lines
619 B
Plaintext
bg5ps is a Python script that generates Postscript from a 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
|