ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font features for \ss only?
@ 2011-05-23 18:07 Oliver Buerschaper
  2011-05-23 18:11 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Buerschaper @ 2011-05-23 18:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

how would I make sure that \ss always uses one set of font features while \rm always uses the default feature set? Do I need to specify this in the typescript file?

The reason is I'm using Myriad as \ss font and would like to enable the capital spacing (cpsp) OpenType feature for that while activating a different feature set for all \rm instances (Minion in this case)…

Many thanks,
Oliver
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: Font features for \ss only?
  2011-05-23 18:07 Font features for \ss only? Oliver Buerschaper
@ 2011-05-23 18:11 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2011-05-23 18:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 23.05.2011 um 20:07 schrieb Oliver Buerschaper:

> Hi all,
> 
> how would I make sure that \ss always uses one set of font features while \rm always uses the default feature set? Do I need to specify this in the typescript file?
> 
> The reason is I'm using Myriad as \ss font and would like to enable the capital spacing (cpsp) OpenType feature for that while activating a different feature set for all \rm instances (Minion in this case)…

\usemodule[simplefonts]

\definefontfeature[myriad][default][cpsp=yes]

\setmainfont[Minion Pro]
\setsansfont[Myriad Pro][features=myriad]

\starttext
...
\stoptext

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
___________________________________________________________________________________


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

end of thread, other threads:[~2011-05-23 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-23 18:07 Font features for \ss only? Oliver Buerschaper
2011-05-23 18:11 ` Wolfgang Schuster

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