Am 19.04.23 um 16:53 schrieb Pawel Urbanski via ntg-context:
Dear Matthew,
I wrote you off the list in connection to the other thread where Hans
helped me with using Roboto Flex.
I used your typescript definitions but the font is not embedded in the
document.
** I've copied all the ttf font files to the recommended directory
structure under: texmf-local/fonts/truetype.
** I've created a type-imp-roboto.mkiv file and saved it in the
recommended location under: texmf-local/tex/.../mkiv/.
Using: \usetypescript or \usetypescriptfile or \usebodyfont [roboto]
with setuphead does not work.
I use the following simplest setup command:
\setuphead[chapter][style={\switchtobodyfont[roboto,20pt]\ss}]
\switchtobodyfont[roboto,ss,20pt] is better than what you have; don’t
know if it makes a difference.
Does \setupbodyfont[roboto] work for the main (i.e. body) font?
Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________