As Taco suggested, the best way to install new fonts on MS Windows (and
other OSes) is to tell ConTeXt where they are located. On Windows, fonts
are usually found in /Fonts. But you still need to purge the font cache
and regenerate it so that the system can interact with ConTeXT. A safer
method is to create separate directories, as indicated by Taco:
/tex/texmf-fonts/fonts/data/urbanist. You can also distinguish between
True Type fonts (ttf) and Open Type fonts (otf) by separating folders as
follows: /tex/texmf-fonts/fonts/otf/ and /tex/texmf-fonts/fonts/ttf/.
Then, of course, you need to regenerate the cache and test support for
the newly installed font with the following commands:
1) mtxrun --script cache --erase && mtxrun --generate
2) mtxrun --script fonts --reload
3) Search for a specific font:
mtxrun --script fonts --list --pattern=urbanist --all
Le 22/07/2024 à 12:00, alan.caruanam...@gmail.com a écrit :
In which directory did you save the fonts? I saved them in %windir%\fonts and
it doesn't work
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
--
Jean-Pierre Delange
Professeur Agrégé de Philosophie (Hors-Cadres)
"Few discoveries are more irritating than the pedigree of ideas”
John Emmerich Edward Dalberg, Lord Acton
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________