[NTG-context] font selection in LMTX

Pablo Rodriguez oinos at gmx.es
Thu May 9 21:15:03 CEST 2019


Hi Hans,

using the following sample:

    \definefontfamily[mainface][rm][TeX Gyre Heros]
    \definefontfamily[mainface][mm][TeX Gyre Termes Math]
    \definefontfamily[mainface][ss][Gill Sans MT][tf=file:GIL_____.TTF]
    \definefontfamily[mainface][tt][Cousine]
    \definefontfamily[mainface][cg][Arial Narrow][tf=file:ARIALN.TTF]
    \setupbodyfont[mainface]
    \startbuffer
    \ConTeXt\ is awesome!\par
    \stopbuffer
    \starttext
    \startTEXpage[offset=1em]
    \getbuffer
    \ss\getbuffer
    \tt\getbuffer
    \cg\getbuffer
    \stopTEXpage
    \stoptext

I have no problem to get all four fonts with MkIV, but with LMTX I don’t
get \cg or \ss.

Many thanks for your help,

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


More information about the ntg-context mailing list