[NTG-context] contextual alternates

Pablo Rodriguez oinos at gmx.es
Sun Jan 25 19:30:30 CET 2015


On 01/25/2015 05:20 PM, Hans Hagen wrote:
> On 1/25/2015 3:52 PM, Jan Tosovsky wrote:
>> On 2015-01-25 Hans Hagen wrote:
>>> On 1/24/2015 2:12 PM, Pablo Rodriguez wrote:
>>>> [...]
>>>> The Pecita font is licensed under the Open Font License and it can be
>>>> downloaded at http://pecita.eu/b/Pecita.otf.
>>>>
>>>> For some strange reason, the contextual alternates feature isn’t
>>>> working.
>>>
>>> maybe they depend on other features being set
>>
>> There are lots of definitions in calt table, but referenced via 'lookup'
>> mechanism.
>>
>> lookup calt5 {
>> #    sub @calt30' @calt30' by [a.I_ ... f_dotlessi._I];
>> } calt5;
>>
>> language ENG ; # English
>>   script DFLT;
>> lookup calt5;
>>
>> To me it is quite unusual.
> 
> so the script / language combination is default / english (dflt/eng)

Many thanks for your replies, Hans and Jan.

I’m afraid that the following doesn’t work:

\definefontfeature[default][default][script=latn,language=eng, calt=yes]
\definefontfamily[mainface][rm][Pecita]
\setupbodyfont[mainface]
\starttext
\input zapf
\stoptext

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list