My font setup is like this: \startmode[OPTIMANOVA] \definefontfamily [bookfont] [ss] [Optima nova LT Pro] [tf=style:Regular, bf=style:Medium, it=style:Italic, bi=style:Medium Italic] \setupbodyfont[bookfont,10pt] \stopmode \startmode[OPTIMA] \definefontfamily [bookfont] [ss] [Optima] [tf=style:Regular, bf=style:Bold, it=style:Italic, bi=style:Bold Italic] \setupbodyfont[bookfont,10pt] \stopmode Now, both worked earlier today. But I’ve lost the old Optima font somehow. If I now try —mode=OPTIMA I get: selectfont > the requested font 'Optima' has no files for the 'tf' alternative, Latin Modern is used instead. and the document is set in Latin Modern Sans Serif. Another OpenType Postscript font like Chaparral Pro works. Another TrueType like Century Gothic does not. I seem not to be able to load any TrueType font anymore. I recall there being some way to rebuild a font cache of LMTX ConTeXt but I can’t find the instructions. Can someone enlighten me? Gerben Wierda (LinkedIn https://www.linkedin.com/in/gerbenwierda) R&A Enterprise Architecture 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/
Gerben Wierda schrieb am 23.07.2021 um 12:35:
My font setup is like this:
[...]
Now, both worked earlier today. But I’ve lost the old Optima font somehow. If I now try —mode=OPTIMA I get:
selectfont > the requested font 'Optima' has no files for the 'tf' alternative, Latin Modern is used instead.
and the document is set in Latin Modern Sans Serif. Another OpenType Postscript font like Chaparral Pro works. Another TrueType like Century Gothic does not. I seem not to be able to load any TrueType font anymore.
I recall there being some way to rebuild a font cache of LMTX ConTeXt but I can’t find the instructions. Can someone enlighten me?
Updating the font cache: mtxrun --script fonts --reload or mtxrun --script fonts --reload --force Listing all available fonts: mtxrun --script fonts --list --all optima* Wolfgang
That fixed it. Thanks.
G
On 23 Jul 2021, at 13:22, Wolfgang Schuster
Gerben Wierda schrieb am 23.07.2021 um 12:35:
My font setup is like this: [...] Now, both worked earlier today. But I’ve lost the old Optima font somehow. If I now try —mode=OPTIMA I get: selectfont > the requested font 'Optima' has no files for the 'tf' alternative, Latin Modern is used instead. and the document is set in Latin Modern Sans Serif. Another OpenType Postscript font like Chaparral Pro works. Another TrueType like Century Gothic does not. I seem not to be able to load any TrueType font anymore. I recall there being some way to rebuild a font cache of LMTX ConTeXt but I can’t find the instructions. Can someone enlighten me?
Updating the font cache:
mtxrun --script fonts --reload
or
mtxrun --script fonts --reload --force
Listing all available fonts:
mtxrun --script fonts --list --all optima*
Wolfgang ___________________________________________________________________________________ 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 (2)
-
Gerben Wierda
-
Wolfgang Schuster