You are not logged in.

#1 2017-04-06 10:58:13

Scriptor
Member
Registered: 2011-01-16
Posts: 144

[SOLVED]URxvt Neovim Font Rendering

Hello,

I am having problems when using neovim in urxvt. It sometimes leaves pixels behind. Here is an example.

Here is my Xresoures:

!------------------
!  URxvt Settings
!------------------

! scrollbar
URxvt*scrollBar: false
URxvt*internalBorder: 20

! disable ctrl-shift
URxvt*iso14755_52: false
URxvt*iso14755: false

URxvt*letterSpace: -1
!----------------
!  Xft Settings
!----------------

Xft*dpi: 82
Xft*antialias:  true
Xft*hinting:    true
Xft*rgba:       rgb
Xft*autohint:   false
Xft*hintstyle:  hintfull
Xft*lcdfilter:  lcddefault

!----------------
!  Font Setting
!----------------

URxvt.font: xft:FuraCode Nerd Font:style=Regular:size=11
URxvt.boldFont: xft:FuraCode Nerd Font:style=Regular:size=11

!----------
!  Colors
!----------

URxvt.background: #262626
URxvt.foreground: #ffffff

! Black + DarkGrey
*color0:  #282828
*color8:  #928374
! DarkRed + Red
*color1:  #cc241d
*color9:  #fb4934
! DarkGreen + Green
*color2:  #98971a
*color10: #b8bb26
! DarkYellow + Yellow
*color3:  #d79921
*color11: #fabd2f
! DarkBlue + Blue
*color4:  #458588
*color12: #83a598
! DarkMagenta + Magenta
*color5:  #b16286
*color13: #d3869b
! DarkCyan + Cyan
*color6:  #689d6a
*color14: #8ec07c
! LightGrey + White
*color7:  #a89984
*color15: #ebdbb2

URxvt.color24:  #076678
URxvt.color66:  #427b58
URxvt.color88:  #9d0006
URxvt.color96:  #8f3f71
URxvt.color100: #79740e
URxvt.color108: #8ec07c
URxvt.color109: #83a598
URxvt.color130: #af3a03
URxvt.color136: #b57614
URxvt.color142: #b8bb26
URxvt.color167: #fb4934
URxvt.color175: #d3869b
URxvt.color208: #fe8019
URxvt.color214: #fabd2f
URxvt.color223: #ebdbb2
URxvt.color228: #f2e5bc
URxvt.color229: #fbf1c7
URxvt.color230: #f9f5d7
URxvt.color234: #1d2021
URxvt.color235: #282828
URxvt.color236: #32302f
URxvt.color237: #3c3836
URxvt.color239: #504945
URxvt.color241: #665c54
URxvt.color243: #7c6f64
URxvt.color244: #928374
URxvt.color245: #928374
URxvt.color246: #a89984
URxvt.color248: #bdae93
URxvt.color250: #d5c4a1

What might be relevant:

packages installed: neovim-git, rxvt-unicode-patched, nerd-fonts-complete, xf86-video-nouveau
kernel version: 4.9.17-1-lts

Thank you very much in advance

Last edited by Scriptor (2017-04-13 07:58:38)

Offline

#2 2017-04-08 00:47:27

svnset
Member
Registered: 2016-07-31
Posts: 75

Re: [SOLVED]URxvt Neovim Font Rendering

Hello. Are you on a vm or native? I'm asking because I am using nvim + urxvt every day and only have this glitches sometimes in vms, so I thought it's related. Unfortunately I cannot reproduce it now. Tested with nvim-git and normal urxvt in a virtual machine.


After one has played a vast quantity of notes and more notes,
it is simplicity that emerges as the crowning reward of art. - Chopin

Offline

#3 2017-04-08 16:50:50

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: [SOLVED]URxvt Neovim Font Rendering

I am using it natively.

Thank you for your help smile

Offline

#4 2017-04-08 18:21:38

svnset
Member
Registered: 2016-07-31
Posts: 75

Re: [SOLVED]URxvt Neovim Font Rendering

So it seems more like a .Xresources related issue. Have you tried the normal urxvt? And intel instead of nouveau?  Unlikely that it helps but who knows.


After one has played a vast quantity of notes and more notes,
it is simplicity that emerges as the crowning reward of art. - Chopin

Offline

#5 2017-04-09 09:56:24

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: [SOLVED]URxvt Neovim Font Rendering

I have tried intel instead of nouveau, but it doesn't change anything. But, surprisingly, by using the rxvt-unicode package, it seems that there aren't any more glitches yikes But I really don't know why. You can find my .Xresources in my first post. Thank you very much smile

Offline

#6 2017-04-09 10:53:05

svnset
Member
Registered: 2016-07-31
Posts: 75

Re: [SOLVED]URxvt Neovim Font Rendering

I'm glad that it works now. So the issue has indeed something to do with the patched version. It is always good to test the official supported packages when problems arise. Please mark your thread as solved as we cannot fix the aur package here. smile


After one has played a vast quantity of notes and more notes,
it is simplicity that emerges as the crowning reward of art. - Chopin

Offline

#7 2017-04-09 11:06:41

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: [SOLVED]URxvt Neovim Font Rendering

I was just leaving it opened in case anyone had an explanation as to why it didn't work with the patched version.

I'll then mark it as solved. Thank you again for all your great help smile

P.S. I'm just curious to know why, if it's really related to the patched version, no one has said anything before me hmm

Offline

#8 2017-04-09 11:45:45

svnset
Member
Registered: 2016-07-31
Posts: 75

Re: [SOLVED]URxvt Neovim Font Rendering

Yeah I expected that to be your reasoning, it is an aur package though.
The initial issue is solved, I guess if you want an answer you have to open a new post in the aur section smile


After one has played a vast quantity of notes and more notes,
it is simplicity that emerges as the crowning reward of art. - Chopin

Offline

#9 2017-04-09 14:47:31

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: [SOLVED]URxvt Neovim Font Rendering

I'll do that, thanks smile

Offline

#10 2017-04-09 15:06:02

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: [SOLVED]URxvt Neovim Font Rendering

I don't know why, but I spoke a bit too early. After rebooting my computer, I still have them, I'm really sorry sad

Offline

#11 2017-04-09 18:35:31

svnset
Member
Registered: 2016-07-31
Posts: 75

Re: [SOLVED]URxvt Neovim Font Rendering

Ok then, no worries. What happens if you xrdb ~.Xresources . Do the glitches persist? Do you call xrdb at startup?

EDIT: typo

Last edited by svnset (2017-04-09 18:58:18)


After one has played a vast quantity of notes and more notes,
it is simplicity that emerges as the crowning reward of art. - Chopin

Offline

#12 2017-04-09 19:08:27

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: [SOLVED]URxvt Neovim Font Rendering

Unfortunately, yes, the glitches still persist. I tried another font DejaVu Sans Mono for Powerline:size=11 but still the same problem, even when disabling the vim-devicons pugin. And yes, xrdb is launched at startup.

I took a shot that you can see here.

Thank you again for all your help and patience smile

Last edited by Scriptor (2017-04-09 19:10:05)

Offline

#13 2017-04-09 19:27:26

svnset
Member
Registered: 2016-07-31
Posts: 75

Re: [SOLVED]URxvt Neovim Font Rendering

The thing is I've had the same pixel tearings. Looked everywhere what might cause it, found nothing, I then thought it's related to vm glitches, but actually it's not, so I'm curious now. Why was it fixed when you installed rxvt-unicode. And why I cannot reproduce it now, checked on main system and 3 virtual machines. Your .Xresources looks unsuspicious. Can you use an almost empty .Xresources and check again? Just to make sure.


After one has played a vast quantity of notes and more notes,
it is simplicity that emerges as the crowning reward of art. - Chopin

Offline

#14 2017-04-10 11:26:00

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: [SOLVED]URxvt Neovim Font Rendering

Sorry for the late response sad

Thank you for your answer. So I tried with a completely empty .Xresources, and there doesn't seem to be any problem.

Thank you very much again smile

Offline

#15 2017-04-10 11:56:38

svnset
Member
Registered: 2016-07-31
Posts: 75

Re: [SOLVED]URxvt Neovim Font Rendering

Ok. Then you have to incrementally increase your .Xresouces now and look at what point/line the tearing arises.


After one has played a vast quantity of notes and more notes,
it is simplicity that emerges as the crowning reward of art. - Chopin

Offline

#16 2017-04-13 07:58:21

Scriptor
Member
Registered: 2011-01-16
Posts: 144

Re: [SOLVED]URxvt Neovim Font Rendering

Sorry for my late response. Thank you very much for yours. So I think I know now where the problem comes from. It seems to come from the letterSpace option. When setting it to 0, there doesn't seem to be any problems anymore.

So I think the issue is now solved. Thank you for all your help and patience smile

Offline

Board footer

Powered by FluxBB