On 24/06/13 11:33, John Little wrote:
On Monday, June 24, 2013 4:53:30 PM UTC+12, Bee wrote:
set guifont with commas FAILS on Linux
In principle, it's not Linux, but the GUI. That's why it's mentioned near the
top of the :version output. In practice, today* most would use the GTK2-GNOME
build, as I do, and ...
I see your problem; if the first font in guifont is invalid, I get what appears to be
Sans in the size the first font, which isn't even a monospace font and so looks awful.
Experimenting, GTK seems to try and guess the best font to use; if I set guifont=mono\
8,Symbola\ Semi-Condensed\ 8, where "mono" is not valid, I get Monospace 8.
* GTK3 is looming. I don't like some of the design decisions of GTK3, but more
importantly the Gnome 3 attitude (they know best, and are contemptuous of those
who disagree) rankles. I keep vowing to try out vim-qt.
Regards, John Little
In gvim with GTK2, you should specify a font which you know is
installed, and which looks OK for *most* of your text. If occasionally
you use a character (a Unicode codepoint, if 'encoding' is set to UTF8)
for which your chosen font has no glyph, the Pango / Cairo / etc. system
which is part of the GTK2 GUI will (for that character only) use a
different font (if possible, a similar one) which has the glyph. It may
look a little different than it would have if your chosen font had had a
glyph for that character, but at least it won't be a hollow box or an
inverse-video question mark.
In other Vim GUI flavours, gvim uses "the first valid font in the list"
— for ALL your text. Too bad for you if you happen to use a character
not in the font: you'll get some placeholder glyph then, usually a
hollow box.
Best regards,
Tony.
--
Birth, n.:
The first and direst of all disasters.
-- Ambrose Bierce, "The Devil's Dictionary"
--
--
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/groups/opt_out.