On 5/9/2024 10:38 PM, garulfo@azules.eu wrote:
Hi,
trying to work with variable fonts, I am stuck at the very beginning.
I can't see any effect of weight parameter. Using adobevariablefontprototypebold and adobevariablefontprototypelight is working.
\starttext
\definefontfeature[whatever][axis={weight:150}]% \definedfont[name:adobevariablefontprototype*whatever]foo@bar
\definefontfeature[whatever][axis={weight:350}]% \definedfont[name:adobevariablefontprototype*whatever]foo@bar
\definefontfeature[whatever][axis={weight:550}]% \definedfont[name:adobevariablefontprototype*whatever]foo@bar
\definefontfeature[whatever][axis={weight:750}]% \definedfont[name:adobevariablefontprototype*whatever]foo@bar
\stoptext
Can it be something from with my font file ? \starttext
\definefontfeature[whatever01][default][axis={weight=0250}] \definefontfeature[whatever02][default][axis={weight=0500}] \definefontfeature[whatever03][default][axis={weight=0750}] \definefontfeature[whatever04][default][axis={weight=1000}] \definefontfeature[whatever10][default][axis={xxxx=000}] \definefontfeature[whatever20][default][axis={xxxx=050}] \definefontfeature[whatever30][default][axis={xxxx=075}] \definefontfeature[whatever40][default][axis={xxxx=100}] \definefontfeature[whatever11][default][axis={weight=0250,xxxx=000}] \definefontfeature[whatever22][default][axis={weight=0500,xxxx=050}] \definefontfeature[whatever33][default][axis={weight=0750,xxxx=075}] \definefontfeature[whatever44][default][axis={weight=1000,xxxx=100}] \definedfont[name:adobevariablefontprototype*whatever01]foo@bar\par \definedfont[name:adobevariablefontprototype*whatever02]foo@bar\par \definedfont[name:adobevariablefontprototype*whatever03]foo@bar\par \definedfont[name:adobevariablefontprototype*whatever04]foo@bar\blank \definedfont[name:adobevariablefontprototype*whatever10]foo@bar\par \definedfont[name:adobevariablefontprototype*whatever20]foo@bar\par \definedfont[name:adobevariablefontprototype*whatever30]foo@bar\par \definedfont[name:adobevariablefontprototype*whatever40]foo@bar\blank \definedfont[name:adobevariablefontprototype*whatever11]foo@bar\par \definedfont[name:adobevariablefontprototype*whatever22]foo@bar\par \definedfont[name:adobevariablefontprototype*whatever33]foo@bar\par \definedfont[name:adobevariablefontprototype*whatever44]foo@bar\par \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------