bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doubled backspaces for bold/underline with CJK in no-SGR mode


From: Werner LEMBERG
Subject: Re: doubled backspaces for bold/underline with CJK in no-SGR mode
Date: Sun, 09 Jan 2011 15:34:02 +0100 (CET)

> With groff 1.21 and GROFF_NO_SGR=1, 'man man' in the ja_JP.UTF-8 locale
> starts off looking like this in less:
> 
> MAN(1)                        Manual pager utils                        MAN(1)
> 
> ^H前
>        man - オンラインリファレンスマニュアルのインターフェース

Thanks for finding this!  I've missed to test no-sgr mode.

> Given that backspacing over half a character is never a particularly
> sensible thing for a pager to do, I would suggest that we should
> assume that pagers will backspace over a character at a time, as
> less seems to do, and emit a number of backspaces corresponding to
> the number of characters.  Does this make sense, or am I missing
> something?

I second your analysis.  Can you provide a patch?


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]