[NTG-context] Fontfeature: smcp

Willi Egger w.egger at boede.nl
Fri Jan 7 12:23:06 CET 2011

Hi Wolfgang,

thanks for your help!. Still no avail...
My script looks now like


\starttypescript [sans] [seravek] [name]
   \definefontsynonym [Seravek-Roman]      [file:Seravek-Regular]      [features=default]

\starttypescript [sans] [seravek]
   \definefontsynonym [Sans]              [Seravek-Roman]      [features=default]
    \definefontsynonym [SansCaps]          [Seravek-Roman]      [features=smcp]

\starttypescript [Seravek]
   \definetypeface [Seravek] [ss] [sans][seravek][default]
   \definetypeface [Seravek] [mm] [math][palatino][default]


	{\sc Smallcaps: \fontname\font. Amsterdam, 1234567890}

This gives no smallcaps wether the \def is active or not.

Strange thing is, that is works with lm and pagella (tested).


On 7 Jan 2011, at 11:22, Wolfgang Schuster wrote:

> Am 06.01.2011 um 23:02 schrieb Willi Egger:
>> Hm, has something change in the way a font feature should be implemented?
>>    \definefontsynonym [SansRegularCaps]   [Sans]                          [ features=smallcaps]
> \definefontsynonym [SansCaps] [Sans] [features=smallcaps]
>> If I add \def\sc{\addff{smcp} I get still no smallcaps.
> You need \definefonfeature[smcp][smcp=yes] to enable a feature with \addff or \addfs.
> Wolfgang
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> maillist : ntg-context at 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
> ___________________________________________________________________________________

More information about the ntg-context mailing list