On 7/19/2023 10:27 PM, Thomas A. Schmitz wrote:
Hi everybody,
just a short question: I was under the impression that ConTeXt would not
look for system fonts unless we set OSFONTDIR explicitly; this appears
to be the basis of the page Use_the_fonts_you_want on the wiki, and I
prefer this behavior because it lets me control the fonts I want to use.
Recently, however (when exactly? I don't know.) this seems to have
changed, and ConTeXt now searches the system font directories by
default. I found this out because one of my documents is set up to use
the STIX2 fonts. In the most recent versions of macos, some files of
these fonts are included as system fonts under
/System/Library/Fonts/Supplemental, but not all of them. It took me some
head scratching to figure out why every run complained about missing
glyphs until I saw that ConTeXt was using the wrong font. I had to set
the variable OSFONTDIR to some value to prevent this from happening. So
my question is: is looking for system fonts by default the new standard?
Is it a good idea?
Thank you and all best
it is a tex live thing; you can just set that variable to nothing, in
the environment or in a local file like in
../tex/texmf-local/web2c/texmfcnf.lua
normally texmf-fonts is where i put fonts and that one should win
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________