Re: [NTG-context] smallcaps with features in simplefont

2014-07-02 Thread David Wooten
Thank you Wolfgang, it’s all coming together.

On Jul 1, 2014, at 9:49 PM, Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:

 
 Am 01.07.2014 um 23:11 schrieb David Wooten d...@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
 
 \definefontfeature[main][default][protrusion=quality,expansion=quality,onums=yes]
 \definefontfamily[mainface][rm][Adobe Jenson Pro][features=main]
 
 or
 
 \definefontfeature[main][protrusion=quality,expansion=quality,onums=yes]
 \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}]
 
 Wolfgang
 ___
 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://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] smallcaps with features in simplefont

2014-07-01 Thread David Wooten
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 smallcaps.}

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

Thanks,
David___
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___