On 18/12/08 14:01, Markus Heidelberg wrote:
> Tony Mechelynck, 18.12.2008:
>> On 17/12/08 18:27, Markus Heidelberg wrote:
>> [...]
>>> Without a foldcolumn, there is also no hint, whether some text belongs
>>> to an open fold or not.
>> I think that's the decisive argument. Something prettier might be found
>> though; maybe a squared plus or minus sign&x229E;&x229F; or circled
>> &x2295;&x2296; (plus for a closed fold that can be opened; minus for an
>> open fold that can be closed). This would look more similar to what is
>> used in other software for stuff that can be folded in or out.
>
> Given that anything else in the HTML output (also the 'number' option)
> pretty much reflects the appearance of Vim's window, maybe the
> foldcolumn should also look the same as in Vim?
>
> 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. 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.
> Also, Konqueror displays the squares, but Firefox and Opera get it
> right.
That proves you've got at least one font with the appropriate glyphs. I
don't know about Opera, but Firefox (like my gvim) uses GTK2, Pango, and
the like (as shown in about:buildconfig ) so it will "borrow" glyphs the
same way. KDE programs (like Konqueror), OTOH, use Qt to interface with
the screen, and I don't know how /that/ works. You might try to compare
the font settings of your various browsers.
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.
>
> Markus
Best regards,
Tony.
--
Futility Factor: No experiment is ever a complete failure - it can always
serve as a negative example.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---