You are not logged in.

#1 2009-01-28 18:05:17

Nate
Member
Registered: 2008-12-03
Posts: 25

Bitstream Font in Gvim

Hello,

I'm using the Bitstream Vera Sans Mono font (size 13) in my terminal (mrxvt) and I think it looks great.

When I use the same font/size in Gvim, it doesn't look as good.
For example, I think that it's skinnier and more difficult to read.
If I use any size smaller than 13 in Gvim, then the difference is *really*
visible between Gvim and Vim.

I have examples here:  http://notesmine.com/gvim_and_vim_fonts
I've searched the forums and the wiki, and there's a myriad of things I can try.  However, I like how most of my fonts are set up, and don't want to rock the boat.  I hope that this issue is specific enough for a forum post :-)

Can anyone offer suggestions for making the font look better in Gvim?

I wonder if this has something to do w/autohinting or anti-aliasing?  The config file for mrxvt has these lines, and I wonder if I need to do something similar for the font in Gvim?

Mrxvt.xft:            1
Mrxvt.xftFont:            Bitstream Vera Sans Mono
Mrxvt.xftSize:            13
Mrxvt.xftAntialias:        1

I'm running wmii, so I don't have the full Gnome-Desktop.

Thanks very much in advance,

--Nate

Offline

#2 2009-01-28 19:52:08

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Bitstream Font in Gvim

Can you show us what you mean via screenshot?

Also, what does

:set guifont?

output in gvim?

Offline

#3 2009-01-28 19:52:33

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Bitstream Font in Gvim

Oh whoops. Link WAS your screenshots :S

Offline

#4 2009-01-28 21:01:34

Nate
Member
Registered: 2008-12-03
Posts: 25

Re: Bitstream Font in Gvim

>Can you show us what you mean by screenshot?
Yes, my screenshots are here:

http://notesmine.com/gvim_and_vim_fonts

>What does gvim tell you when you run

  :set guifont?

I get:

  guifont=Bitstream Vera Sans Mono 13

Thanks,
--Nate

Last edited by Nate (2009-01-28 21:11:07)

Offline

#5 2009-01-28 23:19:14

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Bitstream Font in Gvim

I'd recommend playing around with using :set guifont=*
Using '*' should give you a font-selection prompt.

Maybe, also, you can play with your hinting/antialias settings

Offline

#6 2009-01-29 13:04:29

klixon
Member
From: Nederland
Registered: 2007-01-17
Posts: 525

Re: Bitstream Font in Gvim

You could also try "Use the console colors in gvim" tip from vimtips


Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!

Offline

Board footer

Powered by FluxBB