[NTG-context] Opentype feature and "aligncharacter=yes"

Jose Luis Arellano jose.4rellano at gmail.com
Sun Sep 4 17:33:22 CEST 2016


Hello Hans.

> I have no clue what you expect ..
Use old style numbers as default feature in text and tabular-lining
numbers for tables.

>what font is used? Not all fonts have those num features.
This issue is not related to font. You can reproduce it with default
font (Latin Modern) just use the MWE.

Thanks

2016-09-04 6:40 GMT-03:00 Hans Hagen <pragma at wxs.nl>:
> On 9/4/2016 6:38 AM, Jose Luis Arellano wrote:
>>
>> Hello list.
>> I want to report a very annoying issue when one use oldstyle numbers
>> by default. You can check the result in the following MWE:
>>
>> %\definefontfeature[default][default][onum=yes]
>> \definefontfeature[lnum][tnum=yes,lnum=yes]
>>
>> \starttext
>> \bTABLE
>>
>> \setupTABLE[alignmentcharacter={text->.},aligncharacter=yes,align=middle,style={\feature[+][lnum]}]
>> \bTR \bTD 1.23456789 \eTD \eTR
>> \bTR \bTD 12.3456789 \eTD \eTR
>> \bTR \bTD 123.456789 \eTD \eTR
>> \eTABLE
>> \stoptext
>>
>> As you can see, when you uncomment the line above, "aligncharacter"
>> has no effect.
>
>
> I have no clue what you expect .. what font is used? Not all fonts have
> those num features.
>
> Hans
>
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> 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