You are not logged in.

#1 2021-06-24 15:38:40

tcftbl
Member
Registered: 2021-06-24
Posts: 17

[SOLVED] dina-font disappearing periodically

Hi,

I have been using dina-font sometime now with urxvt but periodically dina-font disappears and a blocky fallback font takes its place. I didn't see this behaviour when I first started using dina-font. The disappearance happens most often after boot but sometimes it occurs multiple times on the same session. I have resolved this by reinstalling dina-font with pacman, which works fine but is not a very elegant solution. My dina-font version is 2.92-10. When everything works fine the font files can be seen as expected:

fc-list | grep Dina
/usr/share/fonts/misc/DinaBold10.pcf.gz: Dina:style=Bold
/usr/share/fonts/misc/DinaBold9.pcf.gz: Dina:style=Bold
/usr/share/fonts/misc/DinaBoldItalic10.pcf.gz: Dina:style=Bold Italic
/usr/share/fonts/misc/DinaMedium10.pcf.gz: Dina:style=Regular
/usr/share/fonts/misc/DinaBoldItalic9.pcf.gz: Dina:style=Bold Italic
/usr/share/fonts/misc/DinaMedium9.pcf.gz: Dina:style=Regular
/usr/share/fonts/misc/DinaItalic8.pcf.gz: Dina:style=Italic
/usr/share/fonts/misc/DinaBold8.pcf.gz: Dina:style=Bold
/usr/share/fonts/misc/DinaMedium6.pcf.gz: Dina:style=Regular
/usr/share/fonts/misc/DinaBoldItalic8.pcf.gz: Dina:style=Bold Italic
/usr/share/fonts/misc/DinaItalic10.pcf.gz: Dina:style=Italic
/usr/share/fonts/misc/DinaItalic9.pcf.gz: Dina:style=Italic
/usr/share/fonts/misc/DinaMedium8.pcf.gz: Dina:style=Regular

However when the fallback font kicks in the previous command doesn't output anything. It seems to me that the actual font files are getting deleted and I can't seem to figure out what causes that.

I've tried different fonts but so far I only experience this behaviour with dina-font. I've tried searching the forums, the wiki and the internet (maybe i've missed something obvious) but I haven't been able to come up with a satisfying fix.

Can someone point me to the right direction to fix this? Thank you.

Last edited by tcftbl (2021-07-27 07:20:25)

Offline

#2 2021-07-26 14:18:09

kuba432110
Member
Registered: 2021-07-26
Posts: 2

Re: [SOLVED] dina-font disappearing periodically

I have the the same problem occurring with both dina-font and its powerline patched version. After some time fontconfig just loses them from the cache (they cannot be seen using fc-list and thus by other applications). The font files are still in place, they're just not being found. Rebuilding cache and rebooting doesn't seem to fix the problem. Only reinstalling the package fixes the problem for some time. This is mildly infuriating. It is strange that this problem doesn't seem to affect other bitmap fonts (or it's just really freshly introduced bug that breaks all the bitmap fonts and it's just a coincidence that me and OP got it using dina). I'll do some more testing and I'll come back if I find something interesting.

Offline

#3 2021-07-26 15:39:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,374

Online

#4 2021-07-26 19:14:53

kuba432110
Member
Registered: 2021-07-26
Posts: 2

Re: [SOLVED] dina-font disappearing periodically

Thanks, after seeing this bug a lot today, I started suspecting that it has to do something with chromium since I was configuring my browser today and the bug happened when I relaunched the browser (not every time though). I'll make sure to switch to otb format. Again, thank for pointing out this fontcache-clearing pango behaviour.

Offline

#5 2021-07-26 19:25:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,374

Re: [SOLVED] dina-font disappearing periodically

In case it does, 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