Hello ** Marco Patzer [2017-03-09 10:33:34 +0100]:
Hi!
I run into a problem using some fonts. Latin Modern is used instead and ConTeXt displays:
selectfont > The requested font 'Caecilia LT Std Roman' has no files for the 'tf' alternative, Latin Modern is used instead.
Example:
\definefontfamily [mainface] [rm] [Caecilia LT Std Roman] %% doesn't work, either %% [tf=file:CaeciliaLTStd-Roman.otf]
\setupbodyfont [mainface]
\starttext %% \definedfont [name:CaeciliaLTStd-Roman] %% this works \input knuth \stoptext
The font is in the database:
mtxrun -script fonts -list -all caecilia
This happens with other fonts too, not only Caecilia. Some fonts work, others don't. Couldn't find anything on the list, so I might be doing something wrong here. What's the issue here?
context: 2017.03.02 22:23
Marco
Some time ago I faced the same problem: I tried to use one of Microsoft font but it didn't work, the only thing I saw in log was the same message. I solved the problem by deleting "font cache" luatex-cache/context/HASH/fonts and generating it again mtxrun --script fonts --reload --force (may be with '--force' option you may not delete the "cache" but it didn't hurt anyway). Hope this will help you. --- WBR, Vladimir Lomov -- This is Jim Rockford. At the tone leave your name and message; I'll get back to you. This is Maria, Liberty Bail Bonds. Your client, Todd Lieman, skipped and his bail is forfeit. That's the pink slip on your '74 Firebird, I believe. Sorry, Jim, bring it on over. This is Marilyn Reed, I wanta talk to you... Is this a machine? I don't talk to machines! [Click] -- "The Rockford Files"