\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
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]
>
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;
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