Pablo Rodriguez schrieb am 02.12.2019 um 18:46:
Could anyone confirm the issue I’m describing in Windows? I get the same results with MkIV but LMTX works. I’d love to switch to LMTX, but this isn’t an option for me. It has an issue with some fonts (I already reported).
In this sample \ss and \cg fonts cannot be used, even invoking them by file name:
\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
LMTX finds the fonts and loads them but nothing appears in the final PDF. \nopdfcompression \starttext \definedfont[file:arialn.ttf*default]Arial Narrow \stoptext A alternative to Arial Narrow is Arial Nova which has condensed variant and comes as part of the pan-european font pack in windows 10. \startmkivmode \definefontfamily [arial-narrow] [ss] [Arial Narrow] \definefontfamily [gill-sans] [ss] [Gill Sans MT] \stopmkivmode \startlmtxmode \definefontfamily [arial-narrow] [ss] [Arial Nova] [tf=style:condensed, it=style:condenseditalic, bf=style:condensedbold, bi=style:condensedbolditalic] \definefontfamily [gill-sans] [ss] [Gill Sans Nova] \stoplmtxmode \starttext regular \italic{italic} \bold{bold} \bolditalic{bolditalic} \switchtobodyfont[arial-narrow] regular \italic{italic} \bold{bold} \bolditalic{bolditalic} \switchtobodyfont[gill-sans] regular \italic{italic} \bold{bold} \bolditalic{bolditalic} \stoptext Wolfgang