Summary: | gvim-6.1-r8 breaks fonts in gvim | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Grigoriev <mag> |
Component: | Current packages | Assignee: | Aron Griffis (RETIRED) <agriffis> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | andukar |
Priority: | High | ||
Version: | 1.4_rc2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michael Grigoriev
2003-03-26 01:29:05 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.
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. 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" 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. |