* Why is the fonts database not updated?
@ 2023-06-30 9:45 Gerben Wierda
2023-07-04 20:47 ` Bruce Horrocks
0 siblings, 1 reply; 3+ messages in thread
From: Gerben Wierda @ 2023-06-30 9:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1052 bytes --]
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/>
[-- Attachment #1.2: Type: text/html, Size: 5780 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Why is the fonts database not updated?
2023-06-30 9:45 Why is the fonts database not updated? Gerben Wierda
@ 2023-07-04 20:47 ` Bruce Horrocks
2023-07-07 20:52 ` Thangalin
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Horrocks @ 2023-07-04 20:47 UTC (permalink / raw)
To: ntg-context mailing list
> On 30 Jun 2023, at 10:45, Gerben Wierda <gerben.wierda@rna.nl> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Why is the fonts database not updated?
2023-07-04 20:47 ` Bruce Horrocks
@ 2023-07-07 20:52 ` Thangalin
0 siblings, 0 replies; 3+ messages in thread
From: Thangalin @ 2023-07-07 20:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 172 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 279 bytes --]
[-- Attachment #2: Type: text/plain, Size: 495 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-07 20:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-30 9:45 Why is the fonts database not updated? Gerben Wierda
2023-07-04 20:47 ` Bruce Horrocks
2023-07-07 20:52 ` Thangalin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).