Saluton Lech :)

Lech Lorens <[email protected]> dixit:
> Combining characters are not displayed correctly in gvim. They are
> displayed one character too early.

Let's try using digraphs on my console Vim under Linux:

Škoda, wieś and więc. The special chars are U+0160 U+015B and U+0119,
all of them non-composing :(

And now let's try using gucharmap and selecting the composing
variations:

Škoda --> That's an "S" and a combining caron (U+030C)
wieś  --> That's an "s" and a combining acute (U+0301)
wie̜j  --> That's an "e" and a combining half ring (U+031C)

All of them display correctly in my terminal (gnome-terminal) using my
self-built Vim (7.2.228) under Ubuntu.

> The problem seems related to fonts, since I do get it if I:
>
> set guifont=Andale\ Mono\ 11
> set guifont=DejaVu\ Sans\ Mono\ 11
> set guifont=LucidaTypewriter\ 14
>
> Problem disappears if I e.g.
> set guifont=TlwgTypewriter\ 12

>From this information I would say that you're using Vim under Gnome,
probably. I'm using "DejaVu Sans Mono 11" in my gnome-terminal, but I
haven't tested under the GUI Vim. In fact, I stopped using GVim because
problems like these: bad font rendering, composing character problems
and very slow redrawing.

> I don't feel competent enough to decide whether this is Vim's fault. I
> would be grateful for comments from someone wiser.

I've tested using gedit and it draws all the characters correctly using
the same font than in my gnome-terminal, DejaVu Sans Mono 11. So this
doesn't seem to be a problem in the font rendering engine, but I can't
say more about it. It *looks* like a GVim problem, though, but I'm not
sure.

Could you please tell us a bit more about your environment, just in
case?

-- 
Raúl "DervishD" Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui