I can't say anything off hand. if re-running fc-cache works, that would mean all the installed files around fontconfig works as expected. There might be something breaking it such as linking older fontconfig including static link, or loading own config. Anyway, please check if any caches are updated after you run fc-cache and confirm. On Sun, Jun 28, 2020 at 5:07 AM Chris Down <chris@xxxxxxxxxxxxxx> wrote: > > Hi there, > > Arch Linux recently bumped the fontconfig version packaged from 75eadca to > fcb0420. After upgrading, it has been noted that one font, Terminus, > eventually disappears from the fontconfig cache, and is only brought back by a > manual `fc-cache -f`. It then remains for a few hours, until it eventually > disappears from cache again and cannot be found in fc-list. > > Looking at the output from fc-list, it is as if the font simply disappears from > the cache: > > --- > > # After `fc-cache -f` > > % fc-list | grep -i terminus > /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/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-x32n.pcf.gz: xos4 Terminus:style=Regular > > # After a few hours (I haven't been able to identify the trigger yet) > > % fc-list | grep -i terminus > % > > --- > > Running `fc-cache -f` again immediately brings back the fonts, which makes one > believe that something is poisoning the cache occasionally. > > Any ideas on how to find out what's causing this bad update, or recent changes > that might be related? > > I looked at the changes between 75eadca and fcb0420, and here are the changes > which I thought looked maybe related: > > cd51cb24 ("Take effect sysroot functionality to the default config file") -- > maybe some other command is getting the wrong config and so excluding these > files somehow? > > c9862b6e ("Read latest cache in paths") -- maybe somehow this results in the > unexpected behaviour? > > I've cc'ed Akira in the hope that he might have some ideas. > > Thanks for your help, > > Chris -- Akira TAGOH _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig