From: Hans Hagen <j.hagen@xs4all.nl>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: no effect of \definefontfeature for adobevariablefontprototype
Date: Sun, 12 May 2024 17:48:24 +0200 [thread overview]
Message-ID: <55683e17-0eac-4d39-ab4f-02859cf9f75f@xs4all.nl> (raw)
In-Reply-To: <171528712629.1996.1601203428148668994@cgl.ntg.nl>
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
___________________________________________________________________________________
prev parent reply other threads:[~2024-05-12 15:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-09 20:38 [NTG-context] " garulfo
2024-05-12 15:48 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55683e17-0eac-4d39-ab4f-02859cf9f75f@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).