You are not logged in.

#1 2020-02-08 14:12:33

Stargarth
Member
Registered: 2020-02-08
Posts: 21

[SOLVED] Problem with fonts in URXVT

Hi!

I'm trying to configure my URXVT to use IBM Plex Sans font.

Below you can find my .Xresources configuration

!! Colorscheme

! special
*.foreground: #93a1a1
*.background: #141c21
*.cursorColor: #afbfbf

! black
*.color0: #263640
*.color8: #4a697d

! red
*.color1: #d12f2c
*.color9: #fa3935

! green
*.color2: #819400
*.color10: #a4bd00

! yellow
*.color3: #b08500
*.color11: #d9a400

! blue
*.color4: #2587cc
*.color12: #2ca2f5

! magenta
*.color5: #696ebf
*.color13: #8086e8

! cyan
*.color6: #289c93
*.color14: #33c5ba

! white
*.color7: #bfbaac
*.color15: #fdf6e3


URxvt.font: 		xft:IBM Plex Sans:style=Regular:size=8
URxvt.boldFont: 	xft:IBM Plex Sans:style=Bold:size=8
URxvt.italicFont: 	xft:IBM Plex Sans:style=Italic:size=8
URxvt.boldItalicFont: 	xft:IBM Plex Sans:style=Bold Italic:size=8

URxvt.letterSpace: -1

I'm pretty sure that URXVT can't find that font. I replaced URxvt.font: xft"IBM Plex Sans" with random string and my terminal looked exactly the same as with "IBM Plex Sans".

I've run fc-list and I can clearly see that this font is there.
My output from fc-list -v | grep "fullname: \"IBM Plex Sans"

	fullname: "IBM Plex Sans Thai Thin"(s)
	fullname: "IBM Plex Sans SemiBold Italic"(s)
	fullname: "IBM Plex Sans Devanagari Text"(s)
	fullname: "IBM Plex Sans Condensed Text"(s)
	fullname: "IBM Plex Sans Thin Italic"(s)
	fullname: "IBM Plex Sans Condensed Medium Italic"(s)
	fullname: "IBM Plex Sans Condensed ExtraLight Italic"(s)
	fullname: "IBM Plex Sans Condensed Light Italic"(s)
	fullname: "IBM Plex Sans Hebrew Medium"(s)
	fullname: "IBM Plex Sans Hebrew ExtraLight"(s)
	fullname: "IBM Plex Sans Thai Looped Text"(s)
	fullname: "IBM Plex Sans Thin"(s)
	fullname: "IBM Plex Sans Text Italic"(s)
	fullname: "IBM Plex Sans Devanagari Bold"(s)
	fullname: "IBM Plex Sans Thai Looped SemiBold"(s)
	fullname: "IBM Plex Sans Hebrew"(s)
	fullname: "IBM Plex Sans Devanagari ExtraLight"(s)
	fullname: "IBM Plex Sans Medium Italic"(s)
	fullname: "IBM Plex Sans Thai Looped Thin"(s)
	fullname: "IBM Plex Sans Devanagari Light"(s)
	fullname: "IBM Plex Sans Hebrew SemiBold"(s)
	fullname: "IBM Plex Sans Arabic"(s)
	fullname: "IBM Plex Sans Hebrew Text"(s)
	fullname: "IBM Plex Sans Condensed Italic"(s)
	fullname: "IBM Plex Sans Thai Looped Light"(s)
	fullname: "IBM Plex Sans Thai SemiBold"(s)
	fullname: "IBM Plex Sans Arabic Light"(s)
	fullname: "IBM Plex Sans Thai Looped"(s)
	fullname: "IBM Plex Sans ExtraLight Italic"(s)
	fullname: "IBM Plex Sans Condensed Thin"(s)
	fullname: "IBM Plex Sans Condensed SemiBold Italic"(s)
	fullname: "IBM Plex Sans Condensed Text Italic"(s)
	fullname: "IBM Plex Sans Thai Text"(s)
	fullname: "IBM Plex Sans Condensed ExtraLight"(s)
	fullname: "IBM Plex Sans Thai ExtraLight"(s)
	fullname: "IBM Plex Sans Thai Looped Bold"(s)
	fullname: "IBM Plex Sans Text"(s)
	fullname: "IBM Plex Sans SemiBold"(s)
	fullname: "IBM Plex Sans Italic"(s)
	fullname: "IBM Plex Sans Hebrew Thin"(s)
	fullname: "IBM Plex Sans Bold Italic"(s)
	fullname: "IBM Plex Sans"(s)
	fullname: "IBM Plex Sans Thai Looped Medium"(s)
	fullname: "IBM Plex Sans Condensed Medium"(s)
	fullname: "IBM Plex Sans Arabic Bold"(s)
	fullname: "IBM Plex Sans Thai Looped ExtraLight"(s)
	fullname: "IBM Plex Sans Arabic Medium"(s)
	fullname: "IBM Plex Sans ExtraLight"(s)
	fullname: "IBM Plex Sans Devanagari SemiBold"(s)
	fullname: "IBM Plex Sans Devanagari Thin"(s)
	fullname: "IBM Plex Sans Arabic Text"(s)
	fullname: "IBM Plex Sans Arabic Thin"(s)
	fullname: "IBM Plex Sans Arabic SemiBold"(s)
	fullname: "IBM Plex Sans Medium"(s)
	fullname: "IBM Plex Sans Thai Bold"(s)
	fullname: "IBM Plex Sans Thai Medium"(s)
	fullname: "IBM Plex Sans Arabic ExtraLight"(s)
	fullname: "IBM Plex Sans Light Italic"(s)
	fullname: "IBM Plex Sans Hebrew Light"(s)
	fullname: "IBM Plex Sans Condensed Thin Italic"(s)
	fullname: "IBM Plex Sans Bold"(s)
	fullname: "IBM Plex Sans Condensed Bold Italic"(s)
	fullname: "IBM Plex Sans Condensed"(s)
	fullname: "IBM Plex Sans Devanagari"(s)
	fullname: "IBM Plex Sans Hebrew Bold"(s)
	fullname: "IBM Plex Sans Light"(s)
	fullname: "IBM Plex Sans Thai"(s)
	fullname: "IBM Plex Sans Condensed Light"(s)
	fullname: "IBM Plex Sans Condensed SemiBold"(s)
	fullname: "IBM Plex Sans Thai Light"(s)
	fullname: "IBM Plex Sans Condensed Bold"(s)
	fullname: "IBM Plex Sans Devanagari Medium"(s)

Could somebody please tell me why that is the case and how do I fix it?

Last edited by Stargarth (2020-02-08 15:33:11)

Offline

#2 2020-02-08 15:14:08

seth
Member
Registered: 2012-09-03
Posts: 56,603

Re: [SOLVED] Problem with fonts in URXVT

Your link is kinda 404 - this package?
https://www.archlinux.org/packages/comm … -ibm-plex/

You want to use "IBM Plex Mono", no VTE can reasonably handle variable width fonts.

Online

#3 2020-02-08 15:31:41

Stargarth
Member
Registered: 2020-02-08
Posts: 21

Re: [SOLVED] Problem with fonts in URXVT

seth wrote:

Your link is kinda 404 - this package?

Yeah - that one.

seth wrote:

You want to use "IBM Plex Mono", no VTE can reasonably handle variable width fonts.

Brilliant! That fixed my issue. I changed IBM Plex Sans to IBM Plex Mono

My current (working) configuration looks like that :

!! Colorscheme

! special
*.foreground: #93a1a1
*.background: #141c21
*.cursorColor: #afbfbf

! black
*.color0: #263640
*.color8: #4a697d

! red
*.color1: #d12f2c
*.color9: #fa3935

! green
*.color2: #819400
*.color10: #a4bd00

! yellow
*.color3: #b08500
*.color11: #d9a400

! blue
*.color4: #2587cc
*.color12: #2ca2f5

! magenta
*.color5: #696ebf
*.color13: #8086e8

! cyan
*.color6: #289c93
*.color14: #33c5ba

! white
*.color7: #bfbaac
*.color15: #fdf6e3

URxvt.font: 		xft:IBM Plex Mono:style=Regular:size=8
URxvt.boldFont: 	xft:IBM Plex Mono:style=Bold:size=8
URxvt.italicFont: 	xft:IBM Plex Mono:style=Italic:size=8
URxvt.boldItalicFont: 	xft:IBM Plex Mono:style=Bold Italic:size=8

This issue is solved - thanks seth!

Offline

#4 2020-02-08 15:32:47

seth
Member
Registered: 2012-09-03
Posts: 56,603

Re: [SOLVED] Problem with fonts in URXVT

Cool.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB