[PATCH] Fixed CJK fullwidth issue

View: New views
2 Messages — Rating Filter:   Alert me  

[PATCH] Fixed CJK fullwidth issue

by MATSUU Takuto-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

This patch fixes CJK fullwidth issue.

it depends on UnicodeWidth module.
http://mothy.org/hacks/unicodewidth/

Regards,
matsuu
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fullwidth-sample.txt
Url: http://lists.metaperl.com/pipermail/asciidoc-discuss/attachments/20071126/8da4b08e/attachment.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asciidoc-fullwidth.patch
Type: application/octet-stream
Size: 1158 bytes
Desc: not available
Url : http://lists.metaperl.com/pipermail/asciidoc-discuss/attachments/20071126/8da4b08e/attachment.obj 


Re: [PATCH] Fixed CJK fullwidth issue

by Stuart Rackham :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks very much for the patch MATSUU, I've not added it, but only
because it depends on a non-standard Python module and I want AsciiDoc
to only to require a standard Python installation.

The problem goes away if you use the 'one line title' syntax -- for example:

= �れ�タイトル�� =

instead of:

�れ�タイトル��
==================


MATSUU Takuto wrote:

> Hi.
>
> This patch fixes CJK fullwidth issue.
>
> it depends on UnicodeWidth module.
> http://mothy.org/hacks/unicodewidth/
>
> Regards,
> matsuu
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> asciidoc-discuss mailing list
> asciidoc-discuss@...
> http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Cheers, Stuart
--
Stuart Rackham

_______________________________________________
asciidoc-discuss mailing list
asciidoc-discuss@...
http://lists.metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss