You are not logged in.

#1 2017-01-11 03:17:42

Quardah
Member
Registered: 2014-08-26
Posts: 146

Terminus font cannot be used after reinstall.

Hi.

Today i installed arch on a new device, to hit a wall once trying to set the font in the terminal; using

URxvt*font:             xft:Terminus:style=Regular:size=10

in .Xresources, the font would not work. I uninstalled and reinstalled the font on my primary laptop, only to find that it broke the font entirely.

In other words, Terminus font package does not install the font properly.

Running fc-list | grep erminus gives me the following :

[jape@T540p ~]$ fc-list | grep erminus
/usr/share/fonts/misc/ter-122n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-132n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-112b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-122b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-132b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-118b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x12b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-120b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x22b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-128b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x32b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x18b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-116b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x20b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x28b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-114b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x16b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-124b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x14n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x14b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x24n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x24b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x16n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-114n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-124n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x18n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x20n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-116n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x28n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x12n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-118n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x22n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x32n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-120n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-128n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-112n.pcf.gz: xos4 Terminus:style=Regular

For some reason the new package adds "xos4" to every font name.

This command :

dmenu_run -b -f -fn 'xos4 Terminus-10'

Summons dmenu using the Terminus font as expected, therefore the font must now be called using the "xos4" junk.

Also :

In .Xressources, This :

uxterm*faceName:	xos4 Terminus:style=regular:size=10

Makes uxterm use the Terminus font properly as expected.

But THIS :

Urxvt*font:		xos4 Terminus:style=regular:size=12

or THIS:


Urxvt*font:		xtf:xos4 Terminus:style=regular:size=12

Does NOT make urxvt use the Terminus font properly.

How can i fix this? This is a very weird problem, and you need to explicitely reinstall the font entirely to recreate it.

Thanks.
JPBD.


ThinkPad P16s AMD / KDE

Offline

#2 2017-01-11 03:29:44

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Terminus font cannot be used after reinstall.

Re: The messed up name, this was mentioned on IRC a bit so maybe this link will help you: https://lists.nongnu.org/archive/html/f … 00019.html


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2017-01-11 04:20:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: Terminus font cannot be used after reinstall.

Offline

#4 2017-01-11 05:46:05

Quardah
Member
Registered: 2014-08-26
Posts: 146

Re: Terminus font cannot be used after reinstall.

Eschwartz wrote:

Re: The messed up name, this was mentioned on IRC a bit so maybe this link will help you: https://lists.nongnu.org/archive/html/f … 00019.html

The fc-match results

    $ fc-match "xos4 Terminus"
    ter-112n.pcf.gz: "xos4 Terminus" "Regular"
    $ fc-match "Terminus"
    DejaVuSans.ttf: "DejaVu Sans" "Book"

Are pretty funny to be honest.

Glad this already has attention.


ThinkPad P16s AMD / KDE

Offline

#5 2017-01-11 20:08:29

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: Terminus font cannot be used after reinstall.

For some reason my Terminus font went missing today, and since my whole desktop rely on that font my desk currently looks like crap.

This is the packages I updated today:

fontconfig (2.12.1-3 -> 2.12.1-4)
libsystemd (232-6 -> 232-7)
systemd (232-6 -> 232-7)
xorg-mkfontdir (1.0.7-2 -> 1.0.7-4)
flashplugin (24.0.0.186-1 -> 24.0.0.194-1)
grub (1:2.02.beta3-4 -> 1:2.02.beta3-6)
libbluray (0.9.2-2 -> 0.9.3.r84.05c9fdec-1)
libuv (1.10.1-1 -> 1.10.2-1)
python-jinja (2.8.1-1 -> 2.9.4-1)
ruby (2.3.3-2 -> 2.4.0-1)
systemd-sysvcompat (232-6 -> 232-7)
vim-runtime (8.0.0149-1 -> 8.0.0149-2)
vim (8.0.0149-1 -> 8.0.0149-2)
youtube-dl (2017.01.08-1 -> 2017.01.10-1)

I tried downgrading fontconfig, libsystemd, xorg-mkfontdir, systemd-sysvcompat and systemd.

$ fc-list | grep terminus
                          
/usr/share/fonts/misc/ter-122n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-132n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-112b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-122b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-132b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-118b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x12b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-120b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x22b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-128b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x32b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x18b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-116b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x20b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x28b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-114b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x16b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-124b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x14n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x14b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x24n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x24b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x16n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-114n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-124n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x18n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x20n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-116n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x28n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x12n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-118n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x22n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x32n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-120n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-128n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-112n.pcf.gz: xos4 Terminus:style=Regular

I have no idea what happened?

Offline

#6 2017-01-11 20:32:51

sajkr
Member
Registered: 2009-01-12
Posts: 7

Re: Terminus font cannot be used after reinstall.

Replace "Terminus" with "xos4 Terminus", it worked for me.

Offline

#7 2017-01-11 20:36:29

madalu
Member
Registered: 2009-05-05
Posts: 217

Re: Terminus font cannot be used after reinstall.

I have the same problem, except that "fc-list | grep -i terminus" now yields no results.

Nothing from /usr/share/fonts/misc is being cached by fontconfig.

UPDATE: In my case, this particular problem was resolved by editing /etc/fonts/conf.d/75-yes-terminus.conf, changing "Terminus" to "xos4 Terminus" and then running fc-cache.

Last edited by madalu (2017-01-11 21:33:45)

Offline

#8 2017-01-11 21:13:29

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Terminus font cannot be used after reinstall.

Offline

#9 2017-01-11 21:18:55

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

Re: Terminus font cannot be used after reinstall.

Merge bump


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2017-01-12 00:05:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,463

Re: Terminus font cannot be used after reinstall.

Be aware, it appears this name will change back on the next update.

Offline

#11 2017-01-12 04:18:32

Quardah
Member
Registered: 2014-08-26
Posts: 146

Re: Terminus font cannot be used after reinstall.

sajkr wrote:

Replace "Terminus" with "xos4 Terminus", it worked for me.

Works for me for xterm and uxterm, NOT urxvt :'[


Issue still not fixed, i fell back to droid mono. Not as cool as terminus but it gets the job done.


ThinkPad P16s AMD / KDE

Offline

#12 2017-01-12 19:58:30

qdiesel
Member
Registered: 2008-05-19
Posts: 61

Re: Terminus font cannot be used after reinstall.

there's another issue with xos4 Terminus: cyrillic letters got replaced with another font.

Offline

#13 2017-01-12 20:03:20

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: Terminus font cannot be used after reinstall.

Nothing has worked for me so far. sad

Edit: Nevermind, I'm just being derpy.

Last edited by Hund (2017-01-12 20:17:09)

Offline

#14 2017-01-12 20:19:10

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: Terminus font cannot be used after reinstall.

works for me in urxvt

URxvt.font:xft:xos4 Terminus:size=12

fc-list | grep -i terminus

brings up a list though with xos4 Terminus designation

after installing had to restart startx though there may be a way to update inplace. shows in everything though in xfontsel as terminus.

Offline

#15 2017-01-13 07:07:39

1LordAnubis
Member
Registered: 2008-10-10
Posts: 253
Website

Re: Terminus font cannot be used after reinstall.

bleach wrote:

works for me in urxvt

after installing had to restart startx though there may be a way to update inplace. shows in everything though in xfontsel as terminus.

Changed config line from Terminus to xos4 Terminus.....

If you don't want to restart X, you can just run

xrdb ~/.Xresources

Any society that would give up a little liberty to gain a little security will deserve neither and lose both.
-Benjamin Franklin
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
-George Bernard Shaw

Offline

#16 2017-01-13 07:59:22

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: Terminus font cannot be used after reinstall.

xrdb -merge ~/.Xresources

does not update font database

Offline

#17 2017-01-13 08:39:32

Hund
Member
From: Sweden
Registered: 2010-03-22
Posts: 479
Website

Re: Terminus font cannot be used after reinstall.

bleach wrote:

xrdb -merge ~/.Xresources

does not update font database

No, but it reloads you config for URxvt so you don't have to restart X.

Offline

#18 2017-01-13 10:14:37

bleach
Member
Registered: 2013-07-26
Posts: 264

Re: Terminus font cannot be used after reinstall.

and if its not updated that font does not load even ifits set nor will it show in other applications.

i think i was misunderstood.?

Last edited by bleach (2017-01-13 10:15:12)

Offline

Board footer

Powered by FluxBB