Why is the fonts database not updated?
![](https://secure.gravatar.com/avatar/c83fb4134167a11422c23048fb8a85e3.jpg?s=120&d=mm&r=g)
I moved the fonts form my personal library to the system-wide library but context keeps on keeping the font setup to look for the personal library After I have run mtxrun --script font --reload --force and I compile my test file I see: fonts > defining > source file '/Users/gerben/Library/Fonts/Ophian-Regular.otf' is not found fonts > defining > using source file '/Library/Fonts/Ophian-Regular.otf' due to cache mismatch fonts > defining > source file '/Users/gerben/Library/Fonts/Cabin-Regular.ttf' is not found fonts > defining > using source file '/Library/Fonts/Cabin-Regular.ttf' due to cache mismatch Is there a better way to force a real reload of the font cache? Gerben Wierda (LinkedIn https://www.linkedin.com/in/gerbenwierda, Mastodon https://newsie.social/@gctwnl) R&A IT Strategy https://ea.rna.nl/ (main site) Book: Chess and the Art of Enterprise Architecture https://ea.rna.nl/the-book/ Book: Mastering ArchiMate https://ea.rna.nl/the-book-edition-iii/
![](https://secure.gravatar.com/avatar/e0f8d84b235b67d60a3c7fd0e326db8d.jpg?s=120&d=mm&r=g)
On 30 Jun 2023, at 10:45, Gerben Wierda
wrote: I moved the fonts form my personal library to the system-wide library but context keeps on keeping the font setup to look for the personal library
After I have run
mtxrun --script font --reload --force
and I compile my test file I see:
fonts > defining > source file '/Users/gerben/Library/Fonts/Ophian-Regular.otf' is not found fonts > defining > using source file '/Library/Fonts/Ophian-Regular.otf' due to cache mismatch fonts > defining > source file '/Users/gerben/Library/Fonts/Cabin-Regular.ttf' is not found fonts > defining > using source file '/Library/Fonts/Cabin-Regular.ttf' due to cache mismatch
Is there a better way to force a real reload of the font cache?
The command $ mtxrun --scripts cache --erase should clear the whole cache. — Bruce Horrocks Hampshire, UK
![](https://secure.gravatar.com/avatar/7300d3eb9b50cf7e8728cb7991d01275.jpg?s=120&d=mm&r=g)
I've used the following without any troubles for a few years now: $ cat ~/bin/fontcache #!/usr/bin/env bash fc-cache -fv mtxrun --generate mtxrun --script fonts --reload
participants (3)
-
Bruce Horrocks
-
Gerben Wierda
-
Thangalin