Re: issue with a font with no features

Pablo Rodriguez via ntg-context <[email protected]> Sun, 21 Jun 2026 16:50:51 +0200
Newsgroups gmane.comp.tex.context
Message-ID <[email protected]>
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.

Many thanks for your help,

Pablo
___________________________________________________________________________________
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
___________________________________________________________________________________