ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Smallcaps not working with a font that claims to have it - how can I confirm?
@ 2021-09-20  9:53 Bruce Horrocks via ntg-context
  2021-09-20 11:40 ` Smallcaps not working with a font that claims to have it - how can I confirm? SOLVED Bruce Horrocks via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Horrocks via ntg-context @ 2021-09-20  9:53 UTC (permalink / raw)
  To: ntg-context; +Cc: Bruce Horrocks

I'm trying to use smallcaps with a font called SquarishSansCT.

According to mtxrun it has smcp as a feature...

$ mtxrun --script font --list --info --pattern=squar
[...]
mtx-fonts       | gsub features:
mtx-fonts       |
mtx-fonts       |   feature  script   languages
mtx-fonts       |
mtx-fonts       |   c2sc     grek     dflt    
mtx-fonts       |            latn     dflt    
mtx-fonts       |   smcp     grek     dflt    
mtx-fonts       |            latn     dflt    
mtx-fonts       |

...but I can't seem to get that feature to work in this MWE which works for TexGyreSchola.

\definefontfeature [smallcaps] [always] [smcp=yes]
\definefontsynonym [Squar] [name:SquarishSansCT-Regular] [features=smallcaps]
\definefontsynonym [Schola] [name:texgyreschola-regular] [features=smallcaps]

\definefont [chapterTitle] [Squar at 18pt]
\definefont [anotherTitle] [Schola at 18pt]

\starttext
{\chapterTitle A Chapter Title}
\par
{\anotherTitle A Chapter Title}
\stoptext

Have I missed something or is it the font?
—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-20 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-20  9:53 Smallcaps not working with a font that claims to have it - how can I confirm? Bruce Horrocks via ntg-context
2021-09-20 11:40 ` Smallcaps not working with a font that claims to have it - how can I confirm? SOLVED Bruce Horrocks via ntg-context

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).