You are not logged in.
I use 'xos4 Terminus' for my terminal and some other stuff. Whenever I start an electron app (eg: discord, slack, spotify) its seems like it deletes terminus from my font list. So if I open a terminal afterwards the font is wrong. I don't know what font it is then, some default, but it's not xos4 Terminus. Running fc-cache -f or reinstalling the terminus-font package fixes the problem, until I start a new electron application.
Has anyone else experienced this and/or know what the problem might be? I've had this problem for a while and just figured out that it was electron apps triggering this. I haven't seen another font be broken by this, only terminus, but this could be happening to other fonts.
Offline
Online
The fix posted there is basically the same fix I had with `fn-cache -f`. It only fixes it until I launch a new electron app. Deleting ~/.cache/fontconfig/ before or after doesn't change anything.
I can take my topic over there if you want though.
Last edited by cheezsteak (2021-04-08 16:54:15)
Offline
Afaiu that thread, wiping the cache put an end to the problem for at least the last two users.
There's however also https://bbs.archlinux.org/viewtopic.php?id=261208 and apparently electron does that to "sanitize" away pcf fonts… is the otb variant also affected?
Online
No! The otb ones are still visible after starting an electron app
$ fc-list | grep Terminus
/usr/share/fonts/misc/ter-u22n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u20n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u22b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-u20b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-u24n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u32n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u28n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u24b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-u18n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u12n.otb: Terminus:style=Regular
/usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: Terminus (TTF):style=Bold Italic
/usr/share/fonts/misc/ter-u16n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u14n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-x12b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x22b.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-x20b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x28b.pcf.gz: xos4 Terminus:style=Bold
/usr/share/fonts/misc/ter-x16b.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/TTF/TerminusTTF-Bold.ttf: Terminus (TTF):style=Bold
/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-x28n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x12n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-x22n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-u12b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-x32n.pcf.gz: xos4 Terminus:style=Regular
/usr/share/fonts/misc/ter-u16b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-u14b.otb: Terminus:style=Bold
/usr/share/fonts/TTF/TerminusTTF-Italic.ttf: Terminus (TTF):style=Italic
/usr/share/fonts/misc/ter-u18b.otb: Terminus:style=Bold
/usr/share/fonts/TTF/TerminusTTF.ttf: Terminus (TTF):style=Medium
/usr/share/fonts/misc/ter-u32b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-u28b.otb: Terminus:style=Bold
kill and restart slack
$ fc-list | grep Terminus
/usr/share/fonts/misc/ter-u22n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u20n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u22b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-u20b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-u24n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u32n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u28n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u24b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-u18n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u12n.otb: Terminus:style=Regular
/usr/share/fonts/TTF/TerminusTTF-Bold Italic.ttf: Terminus (TTF):style=Bold Italic
/usr/share/fonts/misc/ter-u16n.otb: Terminus:style=Regular
/usr/share/fonts/misc/ter-u14n.otb: Terminus:style=Regular
/usr/share/fonts/TTF/TerminusTTF-Bold.ttf: Terminus (TTF):style=Bold
/usr/share/fonts/misc/ter-u12b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-u16b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-u14b.otb: Terminus:style=Bold
/usr/share/fonts/TTF/TerminusTTF-Italic.ttf: Terminus (TTF):style=Italic
/usr/share/fonts/misc/ter-u18b.otb: Terminus:style=Bold
/usr/share/fonts/TTF/TerminusTTF.ttf: Terminus (TTF):style=Medium
/usr/share/fonts/misc/ter-u32b.otb: Terminus:style=Bold
/usr/share/fonts/misc/ter-u28b.otb: Terminus:style=Bold
Reading into the other thread now.
Offline
Just to update. I solved this by using the font "Terminus" instead of "xos4 Terminus", which means using the otb font instead of the pcf font. I would still like some way to stop electron from purging PCF fonts.
Offline