[w3m-dev 04370] Re: w3m's bugs from bugs.debian.org

[email protected] Thu, 5 Aug 2010 00:53:12 +0900
Newsgroups gmane.comp.web.w3m.devel
Message-ID <[email protected]>
On Wed, Aug 04, 2010 at 10:55:34PM +0900, Hiroyuki Ito wrote:
> graphic_char の扱いを修正しました。
> 
> 結局 debian の 110_no-graph-restriction.patch と同じになりましたが、
> メッセージを少し変えています。

以下のようにテストしましたが、おおよそ問題ないのではないかと思います。
ありがとうございました。

----------------------------------------------------------------------
% cat test.html
<ul> <li> 1 <ul> <li> 2 <ul> <li> 3 </li> </ul> </li> </ul> </li> </ul>
<table border><tr><td>a</td><td>b</td><td>c</td></tr></table>
%
 
----------------------------------------------------------------------
dump なし, UTF-8, east_asian_width=0

% w3m -config /dev/null -o graphic_char=0 -o east_asian_width=0 test.html
- リスト: graphic, 罫線: graphic(ズレ有,仕様?)

% w3m -config /dev/null -o graphic_char=1 -o east_asian_width=0 test.html
- リスト: graphic, 罫線: graphic(ズレ無)

% w3m -config /dev/null -o graphic_char=2 -o east_asian_width=0 test.html
- リスト: ASCII, 罫線: ASCII

----------------------------------------------------------------------
dump なし, UTF-8, east_asian_width=1

% w3m -config /dev/null -o graphic_char=0 -o east_asian_width=1 test.html
- リスト: graphic, 罫線: graphic(ズレ無)

% w3m -config /dev/null -o graphic_char=1 -o east_asian_width=1 test.html
- リスト: ASCII, 罫線: graphic(ズレ無)

% w3m -config /dev/null -o graphic_char=2 -o east_asian_width=1 test.html
- リスト: ASCII, 罫線: ASCII

----------------------------------------------------------------------
dump なし, EUC-JP, east_asian_width=0

% w3m -config /dev/null -o graphic_char=0 -o east_asian_width=0 test.html
- リスト: graphic, 罫線: graphic(ズレ無)

% w3m -config /dev/null -o graphic_char=1 -o east_asian_width=0 test.html
- リスト: ASCII, 罫線: graphic(ズレ無)

% w3m -config /dev/null -o graphic_char=2 -o east_asian_width=0 test.html
- リスト: ASCII, 罫線: ASCII

----------------------------------------------------------------------
dump なし, EUC-JP, east_asian_width=1

% w3m -config /dev/null -o graphic_char=0 -o east_asian_width=1 test.html
- リスト: graphic, 罫線: graphic(ズレ無)

% w3m -config /dev/null -o graphic_char=1 -o east_asian_width=1 test.html
- リスト: ASCII, 罫線: graphic(ズレ無)

% w3m -config /dev/null -o graphic_char=2 -o east_asian_width=1 test.html
- リスト: ASCII, 罫線: ASCII

----------------------------------------------------------------------
dump あり, UTF-8, east_asian_width=0

% w3m -config /dev/null -dump -o graphic_char=0 -o east_asian_width=0 test.html
- リスト: graphic, 罫線: graphic(ズレ有,仕様?)

% w3m -config /dev/null -dump -o graphic_char=1 -o east_asian_width=0 test.html
- リスト: graphic, 罫線: graphic(ズレ有,仕様?)

% w3m -config /dev/null -dump -o graphic_char=2 -o east_asian_width=0 test.html
- リスト: ASCII, 罫線: ASCII

----------------------------------------------------------------------
dump あり, UTF-8, east_asian_width=1

% w3m -config /dev/null -dump -o graphic_char=0 -o east_asian_width=1 test.html
- リスト: graphic, 罫線: graphic(ズレ無)

% w3m -config /dev/null -dump -o graphic_char=1 -o east_asian_width=1 test.html
- リスト: ASCII, 罫線: graphic(ズレ無)

% w3m -config /dev/null -dump -o graphic_char=2 -o east_asian_width=1 test.html
- リスト: ASCII, 罫線: ASCII

----------------------------------------------------------------------
dump あり, EUC-JP, east_asian_width=0

% w3m -config /dev/null -dump -o graphic_char=0 -o east_asian_width=0 test.html
- リスト: graphic, 罫線: graphic(ズレ無)

% w3m -config /dev/null -dump -o graphic_char=1 -o east_asian_width=0 test.html
- リスト: graphic, 罫線: graphic(ズレ無)

% w3m -config /dev/null -dump -o graphic_char=2 -o east_asian_width=0 test.html
- リスト: ASCII, 罫線: ASCII

----------------------------------------------------------------------
dump あり, EUC-JP, east_asian_width=1

% w3m -config /dev/null -dump -o graphic_char=0 -o east_asian_width=1 test.html
- リスト: graphic, 罫線: graphic(ズレ無)

% w3m -config /dev/null -dump -o graphic_char=1 -o east_asian_width=1 test.html
- リスト: graphic, 罫線: graphic(ズレ無)

% w3m -config /dev/null -dump -o graphic_char=2 -o east_asian_width=1 test.html
- リスト: ASCII, 罫線: ASCII

-- 
Regards,
	dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E