[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTML rendering
From: |
Katsumi Yamaoka |
Subject: |
Re: HTML rendering |
Date: |
Mon, 06 Jul 2015 13:37:19 +0900 |
User-agent: |
Gnus/5.130014 (真 Gnus v0.14) Emacs/25.0.50 (i686-pc-cygwin) |
On Mon, 06 Jul 2015 05:38:08 +0300, Eli Zaretskii wrote:
> But then how to explain that only 1 character was overflowing the line
> length? If your explanation were correct, you'd have half the
> characters spilled to the next line.
If you meant one Japanese character overflowing, simply move it
to the next line like the fill functions do, except for KINSOKU
characters.
FYI:
・Japanese text doesn't use space to separate words normally.
・Japanese text may be folded even at the middle of a word.
・KINSOKU processing is required. cf. international/kinsoku.el
Eg, the characters "。", "、", "ッ", "ゃ", "ゅ", "ょ", "ー",
etc. should not be placed at the bol. If fill-column is 6 or 7,
"あいうえお" will be filled into "あいう\nえお", but
"イーマックス" will be filled into "イーマッ\nクス".
(I've added those rules to shr.el years ago.)
Re: HTML rendering, Michael Heerdegen, 2015/07/06