Suddenly, my font is not used any longer
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
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
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
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