Changes

Jump to navigation Jump to search
405 bytes added ,  20:04, 21 March 2013
no edit summary
== Open-type features ==
The open-type features are specified in the font and are composed of individual "lookups" which specify each substitution and positioning action to be performed in the processing. These open-type features are plugged in and out of the "stack" of lookups to be processed in the MkIV open type handler. These features are represented by a 4-character name (<i>onum</i>, <i>smcp</i>, etc.) and in MkIV are associated with a keyval that turns it on ("yes") or off ("no"). For example, '[onum=yes]'turns on the lookup substitutions in the font which replace a line numeral with an oldstyle one. Here the key 'yes' means "include open-type feature ''onum'' into the processed stack"; the key 'no' means "do not include open-type feature ''onum'' in the processed stack".
== Featuresets ==
Now let us review the results:
[output/graphic here]
 
Finally, we can mix featuresets using comma-separated lists. Here is an example:
 
<texcode>
\setupbodyfont[pagella]
\starttext
 
test 123 {\feature[+][smallcaps,oldstyle] test 123}
\stoptext
</texcode>
 
You will also note that context already has some common featuresets predefined.
== Note ==
67

edits

Navigation menu