On Wed, Sep 7, 2016 at 4:40 PM, Eric Pruitt <[email protected]> wrote:
> On Wed, Sep 07, 2016 at 09:04:27AM +0200, Tony Mechelynck wrote:
>> This is not broken Unicode support. According to
>> http://www.unicode.org/Public/UCD/latest/ucd/EastAsianWidth.txt (the
>> latest version of the "width" database, currently at version 9.0.0),
>> codepoint U+26A1 HIGH VOLTAGE SIGN has width "W" (wide). The possible
>> values are N (neutral), Na (narrow), W (wide), H (halfwidth), F
>> (fullwidth) and A (ambiguous).
>>
>> If that character was previously regarded by Vim as occupying only one
>> character cell, then making CJK-wide fixes a bug rather than creating
>> a regression.
>
> I think fonts get updated a lot less frequently than the Unicode
> standard. In this case, the voltage symbol in my terminal emulator's
> font is single-width, but this problem could be mitigated by painting a
> correctly colored empty cell one space to the right before printing the
> character in the left cell. This would resolved the graphical
> glitchiness shown in my image.
>
> This is what happens now:
>
> - Draw double-width symbol in cell X
>
> What I'm proposing is:
>
> - Draw blank cell in X + 1
> - Backtrack and draw allegedly double-width character in cell X
>
> Eric
IMHO the proper fix for this would be to select a better ("less
buggy", "more modern") font face in your terminal emulator's settings.
Best regards,
Tony.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.