Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18201 - gvim-6.1-r8 breaks fonts in gvim
Summary: gvim-6.1-r8 breaks fonts in gvim
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-26 01:29 UTC by Michael Grigoriev
Modified: 2003-03-28 21:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grigoriev 2003-03-26 01:29:05 UTC
As of gvim-6.1-r8 (r6 does not have this problem, don't know about r7) it
appears to be impossible to change the font that gvim uses. The gvim guifont
option just has no effect. Plus the font that it defaults to is the ugliest
thing known to men.
Comment 1 David Held 2003-03-26 02:06:55 UTC
This bug is also present in gvim-6.1-r7. 

> The gvim guifont option just has no effect.

This is not quite true. The guifont option does indeed change the font/size, however, regardless of which font is selected the spacing between characters appears to be about double what it should be.

When no font is specified in the config file or gui, the font has correct spacing.
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-03-26 10:08:29 UTC
Please post output of "emerge info".  Did you build this with USE=gtk2?  If so, I have a fix for this problem that I'll put in the default gvimrc.
Comment 3 Michael Grigoriev 2003-03-26 12:43:07 UTC
Yes, I do have USE=gtk2.

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS=" ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 apm crypt encode gif jpeg gnome libg++ mikmod mpeg ncurses nls pdflib png quicktime xml2 xv zlib gtkhtml gdbm berkdb slang tetex aalib bonobo tcltk java guile X sdl gpm tcpd pam libwww perl python imlib oggvorbis qt mozilla 3dnow mmx cdr cups readline dvd pda gtk gtk2 mitshm oss spell truetype xmms opengl ssl -motif -ipv6 -doc -svga -arts -alsa -esd -kde -kde3 -avi"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2003-03-28 21:24:05 UTC
Having read over this further, I've realized this is actually a user error problem.  The gtk2 version of gvim uses a different font selector to accomodate pango.  Here are some ideas for you:

1. Remove your guifont setting from your .gvimrc.  That should solve the problem since the font isn't set in the system gvimrc.

2. :set guifont=*  This will bring up the gtk2 font selector from which you can choose a font.

3. Set the font in your .gvimrc based on what you find from :set guifont=*.  For example, you can use "set guifont=Monospace\ 8"

I'm closing this bug as invalid.  If none of the above work for you, then please feel free to reopen and discuss further.