I did some research and know that VIM 7.3 is complied with GTK2 and
VIM 7.2 is compiled with GTK.
But I still can not figure out what went wrong.
Can somebody help me with this? Any tips are appreciated.
Thank you very much in advance.
I see something similar when I set guifont to a non-existing font name.
Does ":set guifont=Monospace" or choosing some font through "Edit >
Select font..." menu solve your problem?
> gVIM 7.2 screenshot: http://i.imgur.com/wyHdw.jpg
>
> I did some research and know that VIM 7.3 is complied with GTK2 and
> VIM 7.2 is compiled with GTK.
Perhaps the difference could be that some fonts aren't recognized in
different gtk version. Which font are you using?
it appears the color schemes, while similar, are different --
notice the blue literals in one and the yellow in the other
sc
If you want gvim to use a good-looking font (and "good-looking" in
_your_ eyes), you should set the 'guifont' option in your vimrc. Beware
that this option's allowable values vary from one GUI flavour to the
next, and in particular between GTK1 (which falls under "other X11" in
the wiki page linked below) and GTK2.
See http://vim.wikia.com/wiki/Setting_the_font_in_the_GUI
Best regards,
Tony.
--
I'm going to Iowa for an award. Then I'm appearing at Carnegie Hall,
it's sold out. Then I'm sailing to France to be honored by the French
government -- I'd give it all up for one erection.
-- Groucho Marx
Your bad font looks like a proportional font used in vim. Vim with
GTK can use proportional fonts but they look like that. I suggest you
experiment with changing the font, and if you still have trouble tell
us which font it is.
Regards, John
On Dec 11, 10:57 pm, Ivan Krasilnikov <inf...@gmail.com> wrote:
On Dec 11, 11:05 pm, sc <tooth...@swbell.net> wrote:
> On Mon, Dec 12, 2011 at 05:57:36AM +0100, Ivan Krasilnikov wrote:
On Dec 11, 11:05 pm, Tony Mechelynck <antoine.mechely...@gmail.com>
wrote:
> On 12/12/11 05:42, Jerry wrote:
>
> > I recently compiled a VIM 7.3 under Unix. I am using all default
> > options.
> > When opening GVIM, I found that the font rendering is really crappy.
> > It is entirely unacceptable when compared with VIM 7.2
> > Here are the screen shots for the same piece of code under two
> > versions. The font was set to be the same.
> > gVIM 7.3 screenshot:http://i.imgur.com/K2nbx.jpg
> > gVIM 7.2 screenshot:http://i.imgur.com/wyHdw.jpg
>
> > I did some research and know that VIM 7.3 is complied with GTK2 and
> > VIM 7.2 is compiled with GTK.
> > But I still can not figure out what went wrong.
> > Can somebody help me with this? Any tips are appreciated.
> > Thank you very much in advance.
>
> If you want gvim to use a good-looking font (and "good-looking" in
> _your_ eyes), you should set the 'guifont' option in your vimrc. Beware
> that this option's allowable values vary from one GUI flavour to the
> next, and in particular between GTK1 (which falls under "other X11" in
> the wiki page linked below) and GTK2.
>
> Seehttp://vim.wikia.com/wiki/Setting_the_font_in_the_GUI
GTK2 ought to be able to find all the fonts installed on your computer,
but it names them differently than GTK1.
Try
:set gfn=*
which will give you a dialog where you can choose any installed font as
your 'guifont'.
*Warning* In gvim with GTK2 GUI, you can select a proportional font, but
it will look ugly, with too much blank space around thin letters like i
or l, and/or too little room around thick ones like m or M, especially
if "thin" letters happen next to each other as in 'illit' or "thick"
ones as in "Hmmmm...".
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
241. You try to look for Net Search even when you're in File Manager.
On Dec 12, 8:41 pm, Tony Mechelynck <antoine.mechely...@gmail.com>
wrote:
No I don't.
Best regards,
Tony.