Tony Mechelynck, 19.12.2008:
> 
> On 18/12/08 14:01, Markus Heidelberg wrote:
> > When typing ^Vu and the codes above in terminal Vim, I always get these
> > squares, i.e. the characters cannot be displayed, in vim -g it works. Is
> > this a font issue?
> 
> I think so, yes. I'm using gvim with GTK2 GUI so glyphs not found in my 
> 'guifont' ("Bitstream Vera Sans Mono 8") are borrowed from other 
> installed fonts.

Which fonts contain glyphs like the circled plus?
I tested switching fonts in gvim: the circled plus (0x2295) has two
different appearances. It looks the same with all tested monospace/sans
fonts and it looks the same with all tested serif fonts.

> In Console Vim you're dependent on the terminal for the 
> font, and a non-Unicode terminal can't display the above "special" 
> characters anyway.

It is Unicode-aware, I can display Japanese characters for example. Only
a few languages (dz,gu,km,ne,pa) from the
/usr/share/applications/*.desktop files can't be displayed, whether
opened with vim, gvim, kate, cat.

> > Also, Konqueror displays the squares, but Firefox and Opera get it
> > right.
> 
> Here too, I see the correct glyphs in SeaMonkey 2.0a3pre (based on the 
> same Gecko rendering engine as Firefox 3.1b3pre), but not in Konqueror 
> 3.5.10.

I just tested using Vim in Xterm, there the circled square is displayed
correctly, in Konsole it's wrong. Seems to be related to KDE/Qt.

Markus


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

Raspunde prin e-mail lui