Monday, May 28, 2012

Re: set guifont=*

On 28/05/12 14:16, qfwfq wrote:
> Hi,
>
> I installed vim on my unix system but when i try to run gvim it gives me the
> warning:
>
> Warning: Missing charsets in String to FontSet conversion
>
> I tried:
>
> set guifont=*
>
> but no font can be used apart from the ugly one that is loaded by default.
> I installed vim with the --enable-gui option on but nothing changes.
>
> Thanks for the answers.
>
> --
> View this message in context: http://vim.1045645.n5.nabble.com/set-guifont-tp5708608.html
> Sent from the Vim - General mailing list archive at Nabble.com.
>


Well, maybe Vim cannot find the installed fonts, or maybe (for GUI
flavours other than GTK2) your "ugly default" font is the only one whose
Properties include monospace.

Which GUI flavour you got can be found from somewhere near the top of
the :version output: for instance, in gvim I see

[...]
Huge version with GTK2-GNOME GUI. Features included (+) or not (-):
[...]

Of course, the :set guifont= command will only change the font if you
are running in GUI mode (gvim, or vim -g, or after issuing the :gui
command successfully). In console mode, a GUI-enabled Vim will accept
the command and remember the operand, but the console font can only be
changed by the console terminal (xterm etc.), or, for some consoles, not
at all.


Best regards,
Tony.
--
Back up my hard drive? I can't find the reverse switch!

--
You received this message from the "vim_use" 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

No comments: