On 6/21/2026 4:50 PM, Pablo Rodriguez via ntg-context wrote:
On 6/21/26 15:17, Hans Hagen via ntg-context wrote:
[…]
here

{\definedfont[SVBasicManual.ttf] test}

just works,

Many thanks for your fast reply, Hans.

This triggers the errror (checking whether the font has a given feature):

   \definefontfamily
     [mainface][rm]
     [SV Basic Manual]
   \setupbodyfont[mainface]
   \starttext
   \doifcurrentfonthasfeatureelse{smcp}{a}{b}
   \stoptext

as does

  >mtxrun --script font --list --info --details --pattern=svbasicmanual*
[…]
fwiw, otfinfo is not something you use in context

Well, I remembered that there was a script in mtxrun, but I had no idea
how to invoke it.

so teh fix is then

        return f and ((f.gpos and f.gpos[n]) or (f.gsub and f.gsub[n]))



-----------------------------------------------------------------
                                          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 : [email protected] / 
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
___________________________________________________________________________________

Reply via email to