man: turn on troff -mnihongo if JP font is used
This specifically fixes % man -P ktrans We dont have font widths for kanji in our troff font files, so we can use aux/mnihongo to render the character using libdraw, and grab the bitmap from there. It's not pretty, but aux/mnihongo exists so lets at least use it. This also updates /sys/man/1/ktrans to specify the Jp font to comply with aux/mnihongo.
This commit is contained in:
parent
566c512106
commit
c539d64d22
2 changed files with 10 additions and 5 deletions
|
@ -86,8 +86,10 @@ or run it with a sub-rio on a window like:
|
|||
.SH EXAMPLES
|
||||
If you want to make the Japanese text as below:
|
||||
|
||||
.ft Jp
|
||||
私は毎日35分以上歩いて、 更に10分電車に乗って学校に通います。
|
||||
健康の維持にも役だっていますが、 なかなかたのしいものです。
|
||||
.ft
|
||||
|
||||
your keyboard typing stream should be:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue