> On 4 Jul 2023, at 23:26, Wolfgang Schuster > <wolfgang.schuster.li...@gmail.com> wrote: > > Gerben Wierda schrieb am 04.07.2023 um 23:17: >> After erasing the font cache and regenerating LM was doing it right again. >> >> Helvetica did not, but maybe I made a mistake in >> >> \definefontfamily >> [helvetica] >> [ss] >> [Helvetica] >> [tf=style:Regular, >> bf=style:Bold, >> it=style:Oblique, >> bi=style:Bold Oblique] > > Does it work when you remove the manual assignments to tf, it, etc. or when > you use lowercase names (without spaces), e.g. "bi=boldoblique" (or > "bi=bolditalic").
No and no. With th elatter it doesn't load Helvetica at all, Error shown: selectfont > the requested font 'Helvetica' has no files for the 'tf' alternative, Latin Modern is used instead. mkiv lua stats > loaded fonts: 4 files: latinmodern-math.otf, lmroman10-italic.otf, lmroman10-regular.otf, lmsans10-regular.otf With my original it does load (but no italic): mkiv lua stats > loaded fonts: 4 files: helvetica.ttc, latinmodern-math.otf, lmroman10-italic.otf, lmroman10-regular.otf Erase cache, regenerate formats, reload fonts (force) does give another (probably unrelated) error: fonts | names | identifying system font files with suffix 'ttf' fonts | names | globbing path '/Library/Fonts/**.ttf' fonts | names | globbing path '/System/Library/Fonts/**.ttf' otf reader | fatal error in file '/System/Library/Fonts/SFCompactRounded.ttf': ...-64/tex/texmf-context/tex/context/base/mkiv/font-dsp.lua:3689: attempt to index a nil value (field '?') stack traceback: ...-64/tex/texmf-context/tex/context/base/mkiv/font-otr.lua:2344: in metamethod 'index' ...-64/tex/texmf-context/tex/context/base/mkiv/font-dsp.lua:3689: in local 'reader' ...-64/tex/texmf-context/tex/context/base/mkiv/font-otr.lua:2089: in upvalue 'readtable' Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>, Mastodon <https://newsie.social/@gctwnl>) R&A IT Strategy <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/>
___________________________________________________________________________________ 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 ___________________________________________________________________________________