[NTG-context] issue with typeface definition order

Hans Hagen pragma at wxs.nl
Wed Feb 10 13:48:59 CET 2016


On 2/10/2016 1:06 PM, Pablo Rodriguez wrote:
> Dear list,
>
> I have the following code:
>
>      \definefontfamily[mainface][ss][TeX Gyre Heros]
>      \definefontfamily[mainface][rm][TeX Gyre Termes]
>      \setupbodyfont[mainface]
>      \starttext
>      \startTEXpage[offset=1em]
>      this is a simple sentence
>
>      \ss this is a simple sentence
>      \stopTEXpage
>
> Using latest beta (2016.02.08 15:35), if sans is defined before serif,
> the default family is sans (no serif used). It only works as intended if
> serif is defined before sans.
>
> Is this the intended behavior?

yes


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list