\starttext
Test Test
\definefont[bahnlight][name:bahnschriftlight*default]
\startMPcode
picture pic;
pic := thelabel(textext("\bahnlight This is Bahnschrift light in Metafont 0123456789"), (0, 0));
draw pic;
\stopMPcode
\stoptext
Am 20. Januar 2023 18:28:23 MEZ schrieb Guido Bartolucci via ntg-context
And how do you set the light variation?
On Fri, Jan 20, 2023 at 2:08 AM Lutz Haseloff via ntg-context < ntg-context@ntg.nl> wrote:
Hi Guido,
this works here:
\starttext Test Test
\usemodule[fonts-variable] \definefontfamily [mainface] [ss] [bahnschrift] \setupbodyfont[mainface]
\ss 123456789 Wild! \medskip
\startMPcode picture pic; pic := thelabel(textext("\ss This is in Metafont 0123456789"), (0, 0)); draw pic; \stopMPcode
Greetings Lutz
Am 20.01.2023 um 00:38 schrieb Guido Bartolucci via ntg-context:
I haven't been able to find working examples. Here is some sample code. I would really like to be able to use the light variation of this DIN-like font.
\usemodule[fonts-variable] \definefontfamily [mainface] [ss] [bahnschrift] \setupbodyfont[mainface]
\starttext \ss 123456789 Wild! \medskip
\startMPcode picture pic; pic := thelabel("This is in Metafont 0123456789", (0, 0)); draw pic; \stopMPcode
\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________ 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
___________________________________________________________________________________