You are not logged in.

#1 2021-02-02 23:23:17

pearlit3
Member
Registered: 2021-02-02
Posts: 1

characters missing and kerning messed up in URXVT on i3

this is what it looks like:
sTHKcz7.png

I'm using arch on my laptop as well, also with i3 and URXVT and the same font but this issue is only on my desktop. here is my .Xresources file:

! special
*.foreground:   #d2c5bc
*.background:   #101010
*.cursorColor:  #d2c5bc

! black
*.color0:       #202020
*.color8:       #606060

! red
*.color1:       #b91e2e
*.color9:       #d14548

! green
*.color2:       #81957c
*.color10:      #a7b79a

! yellow
*.color3:       #f9bb80
*.color11:      #fae3a0

! blue
*.color4:       #356579
*.color12:      #7491a1

! magenta
*.color5:       #2d2031
*.color13:      #87314e

! cyan
*.color6:       #0b3452
*.color14:      #0f829d

! white
*.color7:       #909090
*.color15:      #fff0f0

!! URxvt Appearance
URxvt.font: xft:inconsolata:Style=Regular:size=12
URxvt.boldFont: xft:inconsolata:Style=Bold:size=12
URxvt.italicFont: xft:inconsolata:Style=Italic:size=12
URxvt.boldItalicfont: xft:inconsolata:Style=Bold Italic:size=12
URxvt.letterSpace: 0
URxvt.lineSpace: 0
URxvt.geometry: 92x24
URxvt.internalBorder: 24
URxvt.cursorBlink: true
URxvt.cursorUnderline: false
URxvt.saveline: 2048
URxvt.scrollBar: false
URxvt.scrollBar_right: false
URxvt.urgentOnBell: true
URxvt.depth: 24
URxvt.iso14755: false

MOD EDIT: Remove swearing in thread subject.

Last edited by fukawi2 (2021-02-03 02:16:16)

Offline

#2 2021-02-03 01:24:31

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: characters missing and kerning messed up in URXVT on i3

How / where are you merging ~/.Xresources, and do you have an ~/.Xdefaults file?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#3 2021-02-03 07:48:04

seth
Member
Registered: 2012-09-03
Posts: 49,985

Re: characters missing and kerning messed up in URXVT on i3

What are the missing glyphs and are they formatted differently (eg. bold/italic)?
Post your PS1

Offline

#4 2021-02-03 10:57:50

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: characters missing and kerning messed up in URXVT on i3

Looking at your screenshot, I'm not sure that's Inconsolata. I think it's some other font. It looks a bit like a proportional font instead of monospace. A proportional font would explain that the kerning breaks.

In your config you are using a font name "inconsolata". Make sure that "inconsolata" name in your config is actually the right name. Try it with "fc-match", like this:

$ fc-match inconsolata
LiberationMono-Regular.ttf: "Liberation Mono" "Regular"

Here in this example, this result means that my system doesn't have a font named "inconsolata". The system can't find the font and then returns some other font name.

Look through the output of "fc-list" to find the correct name for your Inconsolata font, then double-check with "fc-match" that the system does actually find it.

For missing text characters, you have to set up a list of fonts for fall-back for the missing characters in your first font. You use a "," comma in the .Xresources setting for that. You can experiment with the "-fn" argument for urxvt before putting things into your config file, like this:

urxvt -fn 'xft:inconsolata:size=12,xft:dejavusansmono,xft:symbola'

Offline

Board footer

Powered by FluxBB