* [NTG-context] no effect of \definefontfeature for adobevariablefontprototype
@ 2024-05-09 20:38 garulfo
2024-05-12 15:48 ` [NTG-context] " Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: garulfo @ 2024-05-09 20:38 UTC (permalink / raw)
To: ntg-context
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 ?
Thanks,
Garulfo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* [NTG-context] Re: no effect of \definefontfeature for adobevariablefontprototype
2024-05-09 20:38 [NTG-context] no effect of \definefontfeature for adobevariablefontprototype garulfo
@ 2024-05-12 15:48 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2024-05-12 15:48 UTC (permalink / raw)
To: ntg-context
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-12 15:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-09 20:38 [NTG-context] no effect of \definefontfeature for adobevariablefontprototype garulfo
2024-05-12 15:48 ` [NTG-context] " Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).