You are not logged in.

#1 2017-05-28 05:31:47

bootzin
Member
Registered: 2016-11-02
Posts: 28

URxvt problems displaying glyphs

Hello, guys!

I'm having some problems setting up URxvt to show unicode characters and glyphs, and I'd like to ask you some help. Right now it is displaying some characters, but the great majority of them are just squares
First, I have checked my locale (en_US.UTF-8) and confirmed that urxvt has both unicode 3 and frills enabled. I have also tried to use both patched and fallback approaches on my .Xresources file, still, with no success.

This is what my .Xresources file looks like at the moment:

xterm*termName: xterm-256colors
URxvt*termName: rxvt-unicode-256color
URxvt.scrollBar: false

! Disable ctrl-shift
URxvt*iso1475552: false
URxvt*iso14755: false

!----------------
!  Font Setting
!----------------
URxvt.font: 	xft:mononoki Nerd Font:style=UniqueID:pixelsize=12, \
		        xft:FontAwesome:style=Regular, \
		        xft:InconsolataForPowerline Nerd Font:styleMedium, \
		        xft:DroidSansMonoForPowerline Nerd Font:style=Book

URxvt*letterSpace: -2

!----------------
!  Xft Settings
!----------------

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

The font names and styles I got from fc-list. I also noticed that setting xft*rgba to rgb results in a few more icons being showed.

Here is a pic of my output when I type "echo $icons":
https://ibb.co/nhjs8F
As you can see, only a few of them appear correctly (including some powerline symbols such as the blue triangle at the end of the directory path).

Finally, here is the link to where I got the main (mononoki nerd) font (It's actually a patched font from nerd-fonts)
https://github.com/ryanoasis/nerd-fonts

Do you guys have any idea of how to solve this? O what could be causing the problem? I've been trying to fix this for the whole afternoon and I have no idea of what to do anymore

PS.: I don't know if it may change something, but I'm using oh my zsh as a shell

Offline

#2 2017-05-28 05:36:21

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

Re: URxvt problems displaying glyphs

The first thing I would do is try removing the negative letter space; the glyphs may not have enough space to be printed.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-05-28 05:38:34

bootzin
Member
Registered: 2016-11-02
Posts: 28

Re: URxvt problems displaying glyphs

I tried setting it to -1, -2, 1 and 2, but none of them changed a thing (except for the letter spacing, oc). I've set it to -2 because I've read reports saying that it fixed the problem

Offline

Board footer

Powered by FluxBB