You are not logged in.

#1 2013-09-12 19:22:43

jhillyerd
Member
Registered: 2013-09-12
Posts: 2

gvim font rendering glitch

Hello, I am having some problems with font rendering in gvim.  In a nutshell:

When entering text into the gvim command line, characters are sometimes rendered as an empty space.  What is odd is that this is only happening to me with i3wm or twm, but not under awesome.

More detail:

As an example, I just typed ":e /etc/passwd" but it rendered as ":e /e  /p     d" - if the window loses focus it is repainted correctly.  It is not limited to specific glyphs, if I type: ":eeeeeeeeeeeeeeeeeeeeeeeeeee" it will render as something like ":     eee            e   eee  eee ee"

If I run :mes to view previous messages, the final word "continue" will flicker on and off, often with the cursor.  From what I can tell, text is rendering correctly in the main editor pane.

This is happening with multiple fonts (Inconsolata, Fixed, Source Code Pro).  Running sans vimrc (gvim -u USER -U USER) doesn't help.

The software stack:

gvim 7.4.16-2
gtk2 2.24.20-1
pango 1.34.1-1
libxft 2.3.1-1
i3-wm 4.6-1
xorg-server 1.14.2-2
xf86-video-vmware 13.0.1-1
Linux jamehi03lx 3.0.94-1-lts #1 SMP Fri Aug 30 11:24:35 CEST 2013 x86_64 GNU/Linux

running inside VMWare Workstation 9 on Windows 7 64-bit.

I've tried booting with 3D acceleration enabled and disabled with the same result.

Any troubleshooting advice? Thanks.

-james

Offline

#2 2013-09-15 02:06:13

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: gvim font rendering glitch

Is the problem limited to gvim? Does it occur in other X apps? in vim?

Is everything up to date?

Have you tried the current kernel?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-09-16 20:08:45

jhillyerd
Member
Registered: 2013-09-12
Posts: 2

Re: gvim font rendering glitch

cfr wrote:

Is the problem limited to gvim? Does it occur in other X apps? in vim?

Is everything up to date?

Have you tried the current kernel?


Text mode vim works fine, as does urxvt and Firefox.  I'm not sure what other apps use the same gtk2/pango stack as gvim that would be good for testing...

Everything was up to date when I made that post, and I had rebooted after updating.  I see that the kernel and xorg have both been updated over the weekend, so I guess I'll give it another shot.

I couldn't get the vmtools vmblock module to compile against the current kernel (enables resizing the xwindow desktop), the wiki recommended switching to the LTS kernel.

UPDATE:  Did a pacman -Syu and rebooted and the issue is still present.

-james

Last edited by jhillyerd (2013-09-16 20:16:11)

Offline

Board footer

Powered by FluxBB