You are not logged in.

#1 2021-10-01 05:37:20

matejdro
Member
Registered: 2021-10-01
Posts: 2

Font disappears from fc-cache after reboot

Hello,

I have a weird issue with the font config cache.

I have installed siji font (https://github.com/stark/siji) via AUR (https://aur.archlinux.org/packages/siji-git/) (same issue happens when installed manually, without AUR, though). After install font works normally.

BUT after every reboot, font is purged from font cache. It is still there in /usr/share/fonts and fc-query on the font file works fine. But fc-list does not list the font and font is not usable from programs. I have to manually run `fc-cache -f` (omitting the -f flag does not appear to work) to get the font usable again. Afterwards it works fine, until the next reboot.

Any idea what could cause this? Where could I get more logs to diagnose the issue?

I am using default /usr/share/fontconfig (no changes made).

Thanks.

Last edited by matejdro (2021-10-01 05:40:49)

Offline

#2 2021-10-01 07:05:19

seth
Member
Registered: 2012-09-03
Posts: 50,983

Re: Font disappears from fc-cache after reboot

The error is mentioned in the AUR and because its PKGBUILD says

install -D -m644 bdf/siji.bdf "${pkgdir}/usr/share/fonts/misc/siji.bdf"

I'm gonna say it's just https://bbs.archlinux.org/viewtopic.php?id=261208

https://aur.archlinux.org/packages/siji-ng/ uses pcf and otb so that should™ work.

Offline

#3 2021-10-04 05:55:42

matejdro
Member
Registered: 2021-10-01
Posts: 2

Re: Font disappears from fc-cache after reboot

That helped, thanks a lot!

Offline

#4 2021-10-04 06:02:30

seth
Member
Registered: 2012-09-03
Posts: 50,983

Re: Font disappears from fc-cache after reboot

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.

Offline

Board footer

Powered by FluxBB