plan9fox/sys/src/cmd/aux/mnihongo
2011-03-30 19:35:09 +03:00
..
mkfile Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mnihongo.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
README Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
tmac.nihongo Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00

mnihongo is a fairly clumsy troff post-processor that 
catches unicode characters that might be japanese,
looks them up in a font file (currently
/lib/font/bit/pelm/unicode.9x24.font) to get the
bits, converts that to postscript, and dumps that
in the output.

Widths are taken from troff font Jp, which has at
best a simple approximation to the truth.

The program itself is normally called implicitly
by loading the troff macro package -mnihongo, which
does a .pi command.