Pablo Rodriguez schrieb am 07.02.2020 um 21:22:
On 2/7/20 8:34 AM, context@vivaldi.net wrote:
Hello Pablo,
thank you for showing the way; unfortunately, still something is missing: Hi Lukas,
I’m afraid you missed to install the fonts in ConTeXt.
- the resulting file uses LMRoman instead of WorkSans, Otherwise, \definefontfamily won’t work (even if using "tf={file:work-sans.light.otf}").
Do you have any problem installing fonts in ConTeXt? This would make things easier.
- Note that all WorkSans files: [...] are placed in the same directory as the main source file. (I can zip them and upload somewhere for testing purposes.)
The designer provides the latest version of the font on github without the change in file name from your source. https://github.com/weiweihuanghuang/Work-Sans
This was a feature already discussed in the past.
"\definefont[Test][file:your-font-file.otf]" should work, but I never used this approach.
Works at the moment only when the fonts in a place where ConTeXt can find them. Wolfgang