ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: issue with beta from 2019.11.29 21:47 in Windows
Date: Mon, 2 Dec 2019 21:45:32 +0100	[thread overview]
Message-ID: <aeff5ae2-5ba6-66fb-59b6-60b0d7ddca0c@gmail.com> (raw)
In-Reply-To: <a5df3cde-b7dd-657c-8fb3-cbfee14ea8dc@gmx.es>


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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2019-12-02 20:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-02 15:18 Pablo Rodriguez
2019-12-02 17:01 ` Wolfgang Schuster
2019-12-02 17:46   ` Pablo Rodriguez
2019-12-02 20:45     ` Wolfgang Schuster [this message]
2019-12-03 19:37       ` Pablo Rodriguez
2019-12-03 21:14         ` Hans Hagen
2019-12-04 21:19           ` Pablo Rodriguez
2019-12-05  8:23             ` Hans Hagen
2019-12-05 19:31               ` Pablo Rodriguez
2019-12-06  9:01                 ` Arthur Reutenauer
2019-12-07 13:40                   ` Pablo Rodriguez
2019-12-07 15:32                     ` Hans Hagen
2019-12-07 22:49                       ` Pablo Rodriguez
2019-12-07 23:33                         ` Hans Hagen
2019-12-04 21:27   ` Pablo Rodriguez
2019-12-02 17:05 ` Hans Hagen
2019-12-02 17:51   ` Pablo Rodriguez
2019-12-02 22:22     ` Hans Hagen
     [not found] <7992CF71224042639D33FC342999C075@CJ3001517A>
2019-12-03  8:17 ` Hans Hagen
2019-12-03 19:45   ` Pablo Rodriguez
2019-12-03 21:11     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aeff5ae2-5ba6-66fb-59b6-60b0d7ddca0c@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).