diff options
author | Jacob Moody <moody@posixcafe.org> | 2022-07-09 03:43:33 +0000 |
---|---|---|
committer | Jacob Moody <moody@posixcafe.org> | 2022-07-09 03:43:33 +0000 |
commit | c539d64d22a0fdef1bd044a6e28e02a6bcfd0adf (patch) | |
tree | a5db18545d696b85703f21cf00e382a1230fbcf6 /sys/man/1 | |
parent | 566c5121064c4872fd9b21bfa37b1f997d779f18 (diff) |
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.
Diffstat (limited to 'sys/man/1')
-rw-r--r-- | sys/man/1/ktrans | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/man/1/ktrans b/sys/man/1/ktrans index 2b1cd7e84..6e3ba6af1 100644 --- a/sys/man/1/ktrans +++ b/sys/man/1/ktrans @@ -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: |