You are not logged in.

#1 2015-05-02 16:36:33

belst
Member
From: Germany
Registered: 2015-05-02
Posts: 6
Website

urxvt symbol fonts

hi guys,

i'm currently trying to get some symbol fonts to work

but when i start urxvt i get the following errors:

urxvt: unable to calculate font width for 'FontAwesome-8:slant=0:weight=100:minspace=True', ignoring.
urxvt: unable to calculate font width for 'PowerlineSymbols-8:slant=0:weight=100:minspace=True', ignoring.

Relevant line of .Xresources:

URxvt.font: xft:Source Code Pro:size=8, xft:FontAwesome:size=8, xft:PowerlineSymbols:size=8

i tried googling and it seems there are a few more people with this problem but i couldn't find a solution.


thanks in advance.

Offline

#2 2015-05-02 16:40:02

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: urxvt symbol fonts

According to the man page, you should use "pixelsize=" rather than just "size="

If that doesn't help, post the entire content of ~/.Xresources


Jin, Jîyan, Azadî

Offline

#3 2015-05-02 16:43:56

belst
Member
From: Germany
Registered: 2015-05-02
Posts: 6
Website

Re: urxvt symbol fonts

that doesnt help.

Full .Xresources:

URxvt.saveLines: 10000
URxvt.scrollBar: false
URxvt.secondaryScreen: 1
Urxvt.secondaryScroll: 0


URxvt.perl-ext: default,url-select,font-size,clipboard,background
URxvt.perl-ext-common: keyboard-select
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.keysym.M-c: perl:clipboard:copy
URxvt.keysym.M-v: perl:clipboard:paste
URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
URxvt.keysym.M-Escape: perl:keyboard-select:active

URxvt.url-select.launcher: google-chrome-stable
URxvt.url-select.underline: true
URxvt.font: xft:Source Code Pro:size=8, xft:FontAwesome:size=8, xft:PowerlineSymbols:size=8

URxvt.clipboard.autocopy: true

URxvt.inputMethod: ibus
URxvt.preeditType: OverTheSpot

URxvt.keysym.M-Up: perl:font-size:increase
URxvt.keysym.M-Down: perl:font-size:decrease

dzen2.font: Source Code Pro:size=8


!colors

#define S_base03        #002b36
#define S_base02        #073642
#define S_base01        #586e75
#define S_base00        #657b83
#define S_base0         #839496
#define S_base1         #93a1a1
#define S_base2         #eee8d5
#define S_base3         #fdf6e3

*background:            S_base03
*foreground:            S_base0
*fadeColor:             S_base03
*cursorColor:           S_base1
*pointerColorBackground:S_base01
*pointerColorForeground:S_base1

#define S_yellow        #b58900
#define S_orange        #cb4b16
#define S_red           #dc322f
#define S_magenta       #d33682
#define S_violet        #6c71c4
#define S_blue          #268bd2
#define S_cyan          #2aa198
#define S_green         #859900

!! black dark/light
*color0:                S_base02
*color8:                S_base03

!! red dark/light
*color1:                S_red
*color9:                S_orange

!! green dark/light
*color2:                S_green
*color10:               S_base01

!! yellow dark/light
*color3:                S_yellow
*color11:               S_base00

!! blue dark/light
*color4:                S_blue
*color12:               S_base0

!! magenta dark/light
*color5:                S_magenta
*color13:               S_violet

!! cyan dark/light
*color6:                S_cyan
*color14:               S_base1

!! white dark/light
*color7:                S_base2
*color15:               S_base3

Offline

#4 2015-05-02 17:13:53

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: urxvt symbol fonts

Those "perl-ext: [...] fontsize" & "perl: font-size: [...]" entries look suspicious -- does it work if you comment those three lines out?


Jin, Jîyan, Azadî

Offline

#5 2015-05-02 17:16:45

belst
Member
From: Germany
Registered: 2015-05-02
Posts: 6
Website

Re: urxvt symbol fonts

nope doesnt fix anything. and this extension is only to change font size on the fly

Offline

#6 2015-05-02 17:19:13

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: urxvt symbol fonts

How did you install the fonts?


Jin, Jîyan, Azadî

Offline

#7 2015-05-02 18:02:43

belst
Member
From: Germany
Registered: 2015-05-02
Posts: 6
Website

Re: urxvt symbol fonts

fontawesome via aur. Powerline symbols manually

Offline

#8 2015-05-02 18:28:32

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: urxvt symbol fonts

I've just discovered that my rxvt-unicode does exactly the same thing (I usually use bitmap fonts).

A bit of searching reveals that this may be a bug.

Try this patched version:
https://aur.archlinux.org/packages/rxvt … e-patched/


Jin, Jîyan, Azadî

Offline

#9 2015-05-02 19:37:02

belst
Member
From: Germany
Registered: 2015-05-02
Posts: 6
Website

Re: urxvt symbol fonts

Already tried that. Made no difference. I think the patch is mostly for the letter spacing bug.

Offline

#10 2015-05-02 19:43:41

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: urxvt symbol fonts

belst wrote:

Already tried that. Made no difference. I think the patch is mostly for the letter spacing bug.

Thanks for letting me know beforehand so I didn't waste my time searching that out...
hmm

I'm out of ideas here.


Jin, Jîyan, Azadî

Offline

#11 2015-05-02 19:45:11

belst
Member
From: Germany
Registered: 2015-05-02
Posts: 6
Website

Re: urxvt symbol fonts

Well thanks for your help anyway. As soon as I figure out a solution I will let you know.

Offline

Board footer

Powered by FluxBB