Suddenly, my font is not used any longer
![](https://secure.gravatar.com/avatar/090d700659c29b78036a4502f251f5e3.jpg?s=120&d=mm&r=g)
Hello everyone, I am re-typesetting a mkiv document that uses system fonts for text and math (through \definefontfamily). Suddenly, it renders Latin Roman for the text. May it be a cache corruption problem? I recall that there's a command to clear the font cache, but I cannot remember which. Nicola
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Mon, 20 Feb 2017, Nicola wrote:
Hello everyone, I am re-typesetting a mkiv document that uses system fonts for text and math (through \definefontfamily). Suddenly, it renders Latin Roman for the text. May it be a cache corruption problem? I recall that there's a command to clear the font cache, but I cannot remember which.
mtxrun --script fonts --reload --force Aditya
![](https://secure.gravatar.com/avatar/090d700659c29b78036a4502f251f5e3.jpg?s=120&d=mm&r=g)
On 20/02/2017 18:16, Aditya Mahajan wrote:
On Mon, 20 Feb 2017, Nicola wrote:
Hello everyone, I am re-typesetting a mkiv document that uses system fonts for text and math (through \definefontfamily). Suddenly, it renders Latin Roman for the text. May it be a cache corruption problem? I recall that there's a command to clear the font cache, but I cannot remember which.
mtxrun --script fonts --reload --force
Thanks, that did the trick! I realize that I should have read mtxrun's help more carefully: 1. `mtxrun --help` tells me how to list all the scripts; 2. `mtxrun --script` tells me that there is a `fonts` script; 3. `mtxrun --script fonts --help` tells me the fonts script's options. It's nearly as fast as posting to this list and getting a reply ;) Nicola
![](https://secure.gravatar.com/avatar/730ca73e0f6fb9551a3a0c47deb4c08d.jpg?s=120&d=mm&r=g)
If you think it is a system problem and not a context one, then:
fc-cache -fv
-m
On February 20, 2017 8:24:07 AM PST, Nicola
Hello everyone, I am re-typesetting a mkiv document that uses system fonts for text and math (through \definefontfamily). Suddenly, it renders Latin Roman for the text. May it be a cache corruption problem? I recall that there's a command to clear the font cache, but I cannot remember which.
Nicola
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
Aditya Mahajan
-
Mica Semrick
-
Nicola