You are not logged in.

#1 2015-10-16 20:56:14

ndnd2121
Member
From: Recife
Registered: 2013-08-19
Posts: 5

urxvt-unicode can't render glyphs

Hello!

I'm having an issue with urxvt since I' ve installed infinality patchset.

I've been using arch linux for 5 years and never had this issue, so I'm assuming the issue is related to infinality. it's great overall(gtk, firefox, etc) but urxvt can't properly render glyphs(always showing empty squares). in fact, if I open it with different geometry(bigger geometry will render properly but it's almost random that it will work or not).

I already checked other posts on the subject but couldn't fix it.

this is my .Xresources

URxvt*termName: rxvt-unicode-256color
URxvt*geometry: 80x24
URxvt*loginShell: true
URxvt*scrollColor: #777777
URxvt*scrollstyle: plain
URxvt*scrollTtyKeypress: true
URxvt*scrollTtyOutput: false
URxvt*scrollWithBuffer: True
URxvt*secondaryScreen: true
URxvt*secondaryScroll: true
URxvt*skipScroll: False
URxvt*scrollBar: false
URxvt*scrollBar_right: false
URxvt*scrollBar_floating: false
URxvt*fading: 0
URxvt*utmpInhibit: false
URxvt*urgentOnBell: false
URxvt*visualBell: true
URxvt*mapAlert: true
URxvt*mouseWheelScrollPage: True
!URxvt*background: Black
!URxvt*foreground: White
URxvt*colorUL: white
URxvt*underlineColor: #9C9699
URxvt.font: xft:Liberation Mono:pixelsize=11:style=Regular
URxvt.boldFont:
URxvt*saveLines: 0
URxvt*buffered: true
URxvt*hold: false
*URxvt.perl-ext-common:		osc-xterm-clipboard
urxvt*skipBuiltinGlyphs: true
URxvt*letterSpace: -1


URxvt*background: #362B29
URxvt*foreground: #D2CAB7
URxvt*cursorColor: #9C9699

!Black
URxvt*color0: #9C9699
URxvt*color8: #9C9699
!Red
URxvt*color1: #CE638F
URxvt*color9: #CE638F
!Green
URxvt*color2: #2DDCBC
URxvt*color10: #2DDCBC
!Yellow
URxvt*color3: #CDC1B2
URxvt*color11: #CDC1B2
!Blue
URxvt*color4: #2E7C8B
URxvt*color12: #2E7C8B
!Magenta
URxvt*color5: #956CAE
URxvt*color13: #956CAE
!Cyan
URxvt*color6: #D7EBE9
URxvt*color14: #D7EBE9
!White
URxvt*color7: #DAD6CA
URxvt*color15: #DAD6CA

! Xft settings ---------------------------------------------------------------

Xft.dpi:        100
Xft.antialias:  true
Xft.rgba:       none
Xft.hinting:    true
Xft.hintstyle:  hintsfull
Xft*lcdfilter:  lcddefault

Offline

#2 2015-10-16 21:11:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: urxvt-unicode can't render glyphs

Can't render any glyphs?

Have you tried with another font?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-10-16 21:23:53

ndnd2121
Member
From: Recife
Registered: 2013-08-19
Posts: 5

Re: urxvt-unicode can't render glyphs

yes, with almost every font I have installed on my system. I have the same problem with xterm, but glyphs are rendering fine with vte/termite.

Offline

#4 2015-10-16 21:53:55

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: urxvt-unicode can't render glyphs

In urxvt you can load up multiple font in priority sequence.  For example:

  URxvt*font:xft:dejavu sans mono:medium:pixelsize=13, \
              xft:WenQuanYi Bitmap Song:size=8, \
              xft:FreeSerif:style=Regular, \
              xft:unifont:style=Medium:antialias=false, \
              xft:Serif:style=Regular, \

It will look at dejavu sans mono first, then if it can't find the glyph/character, it will go to wen quanyi and so forth down the list.  Any vte terminals like gnome-terminal and termite do this automagically.  I personally enjoy using termite. 

As a side note, even with the above list in my .Xresources, there are some random glyphs that I haven't found the right font to add in.  I put that on the back burner as termite just works™.

Offline

#5 2015-10-16 22:05:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: urxvt-unicode can't render glyphs

Remove all the other crap from your .Xresources and just load the font. Add things back until it breaks. Also xterm != urxvt.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2015-10-16 22:05:26

ndnd2121
Member
From: Recife
Registered: 2013-08-19
Posts: 5

Re: urxvt-unicode can't render glyphs

frank604 wrote:

In urxvt you can load up multiple font in priority sequence.  For example:

  URxvt*font:xft:dejavu sans mono:medium:pixelsize=13, \
              xft:WenQuanYi Bitmap Song:size=8, \
              xft:FreeSerif:style=Regular, \
              xft:unifont:style=Medium:antialias=false, \
              xft:Serif:style=Regular, \

It will look at dejavu sans mono first, then if it can't find the glyph/character, it will go to wen quanyi and so forth down the list.  Any vte terminals like gnome-terminal and termite do this automagically.  I personally enjoy using termite. 

As a side note, even with the above list in my .Xresources, there are some random glyphs that I haven't found the right font to add in.  I put that on the back burner as termite just works™.

this partially solve the issue. I tried it but the glyphs are way bigger than my regular one(I think this is the method vte/termite does by default).

I was willing to understand this behavior that with different geometry the main font renders or not the glyphs.

thanks for the tip!

Offline

#7 2015-10-16 22:10:44

ndnd2121
Member
From: Recife
Registered: 2013-08-19
Posts: 5

Re: urxvt-unicode can't render glyphs

jasonwryan wrote:

Remove all the other crap from your .Xresources and just load the font. Add things back until it breaks. Also xterm != urxvt.

this works. I'll add things to see which breaks it and will report it and mark as solved. thanks !

Offline

#8 2015-10-16 22:14:13

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: urxvt-unicode can't render glyphs

Yes, please do let us know which line breaks it.

Offline

#9 2015-10-16 22:22:42

ndnd2121
Member
From: Recife
Registered: 2013-08-19
Posts: 5

Re: urxvt-unicode can't render glyphs

frank604 wrote:

Yes, please do let us know which line breaks it.

it's weird. with .Xresources empty worked as I said but then when I tried another time the empty squares returned. as I've said early, I never had this problem before using infinality. I'll take a look on its configuration and try reverting to unpatched packages and ubuntu patchset(I've been using it before infinality) later.

Offline

Board footer

Powered by FluxBB