Strange display of acute accent in a complex character

34 views
Skip to first unread message

Yuri Vic

unread,
Jan 29, 2015, 3:50:13 PM1/29/15
to vim...@googlegroups.com
I have the UTF8 representation of this character: Ϊ́    (ce 99 cc 88 cc 81)
It apparently consists of 3 Unicode codepoints: U+0399 U+0308 U+0301

This character shows in vim as 2 separate caret positions. But when cursor is on the first position, the second one (an accent) completely disappears. This is what attracted my attention as weird, and possibly a bug.

This 3-codepoint character is an uppercase representation of this Greek letter ΐ (ce 90)

7.4.560

Yuri

Bram Moolenaar

unread,
Jan 29, 2015, 5:17:02 PM1/29/15
to Yuri Vic, vim...@googlegroups.com
It should be one character cell. And it does in an Xterm and in gvim
(with GTk). What system / terminal do you use?

--
hundred-and-one symptoms of being an internet addict:
144. You eagerly await the update of the "Cool Site of the Day."

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Yuri

unread,
Jan 29, 2015, 5:25:57 PM1/29/15
to vim...@googlegroups.com, Yuri Vic
On 01/29/2015 14:16, Bram Moolenaar wrote:
> It should be one character cell. And it does in an Xterm and in gvim
> (with GTk). What system / terminal do you use?

kde4, konsole-4.14.2, FreeBSD-10
vim in terminal mode.

Yuri

Yuri

unread,
Jan 29, 2015, 6:53:08 PM1/29/15
to vim...@googlegroups.com
On 01/29/2015 14:16, Bram Moolenaar wrote:
> It should be one character cell. And it does in an Xterm and in gvim
> (with GTk). What system / terminal do you use?

After closer examination I now see that the letter itself occupies only
one cell, but the above-mentioned accent is placed on the following
space character. Same happens with any other character when it follows:
an accent from that 3-codepoint character overlaps with it.

Yuri

John Little

unread,
Jan 30, 2015, 4:52:14 AM1/30/15
to vim...@googlegroups.com
On Friday, January 30, 2015 at 9:50:13 AM UTC+13, Yuri Vic wrote:
> I have the UTF8 representation of this character: Ϊ́    (ce 99 cc 88 cc 81)

> kde4, konsole-4.14.2, FreeBSD-10

FWIW, I have konsole 4.13.3, and the accent is being drawn above the diaeresis, outside the character cell, up into the line above, whether in vim or not. Vim won't work well with that. The font has an effect, using Courier New lets the character display correctly in konsole, but not always well in vim in that console, it depends which line was drawn last.

To display the character properly with vim, I imagine you'd need a font that draws it all inside the character cell.

Regards, John Little
Reply all
Reply to author
Forward
0 new messages