[NTG-context] smallcaps with features in simplefont

Wolfgang Schuster schuster.wolfgang at gmail.com
Wed Jul 2 06:49:04 CEST 2014

Am 01.07.2014 um 23:11 schrieb David Wooten <dw at trichotomic.net>:

> Greetings,
> I’ve been trying to work through a new font scheme using simplefonts, e.g. in simple form something like this:
> \definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
> \definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
> \setupalign[hanging,hz]
> \setupbodyfont[mainface,13pt]
> In this setup, I do get protrusion & expansion in the text, —except when I switch to {\sc small caps.}

In your setup you disable ligatures etc., to keep them change the first two lines to

\definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]


\definefontfamily[mainface][rm][Adobe Jenson Pro][features={default,main}]

> Do I need to declare the caps in some other way?

Smallcaps use the regular where the “smallcaps” features are applied, to use also your “main” features you have to use this setup:

\definefontfamily[mainface][rm][Adobe Jenson Pro][features={default,main},sc=features:{default,main,smallcaps}]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140702/483b3379/attachment-0001.html>

More information about the ntg-context mailing list