ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Benjamin Buchmuller <benjamin.buchmuller@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
Date: Fri, 24 Apr 2020 11:13:09 +0200	[thread overview]
Message-ID: <D4495D93-518A-48B0-B302-6E5B6363C8A8@gmail.com> (raw)
In-Reply-To: <mailman.295.1587711236.1194.ntg-context@ntg.nl>

Although this specific issue might have been solved meanwhile by the helpful suggestions of Wolfang, Thomas and others, I would like to point out that I have recently also encountered an odd behaviour of the mtxrun fontloader in the standalone, in which not all typefaces are available/properly identified.

(I’m sorry to hijack this thread if this is unrelated.)

Basically, when I load “Helvetica Neue”, I get instead of “regular/normal” always “light/italic”.

I have switched to heros for the meantime, but potentially there is some bug behind this. (My documents with the version from Dec/Jan worked fine.)

I recite my example from Wed:

ConTeXt  ver: 2020.01.30 14:13 MKIV beta  fmt: 2020.4.22 (LuaTeX 1.11.1)

and I’m running now into troubles with system font indexing:

mtxrun --script fonts --reload

locates fonts in macOS directories appropriately (*.afm fonts placed in .../tex/texmf-fonts are not found, but at the moment I don’t care too much), however it resolves only to a single font variant for *.ttc instead of all variants:

mtxrun --script fonts --list --all --pattern=helvetica

helvetica                         helvetica                    helveticalightoblique         /System/Library/Fonts/Helvetica.ttc                    6
helveticalightoblique             helvetica                    helveticalightoblique         /System/Library/Fonts/Helvetica.ttc                    6
helveticaneuedeskinterfaceheavy   helveticaneuedeskinterface   helveticaneuedeskinterfaceheavy   /System/Library/Fonts/HelveticaNeueDeskInterface.ttc   10
helveticaneuethinitalic           helveticaneue                helveticaneuethinitalic       /System/Library/Fonts/HelveticaNeue.ttc                14

As a consequence, when I run

\definefontfamily[mainface][ss][Helvetica Neue]
\setupbodyfont[mainface, 12pt, sans]

I get the light oblique variant instead of the regular one. I have tried to fix this via a 

\definefontfamily[mainface][ss][Helvetica Neue][tf=style:normal]

but apparently I understand too little about this setup altogether …

Thanks already for any suggestions!



> On 24 Apr 2020, at 08:53, ntg-context-request@ntg.nl wrote:
> 
> Send ntg-context mailing list submissions to
> 	ntg-context@ntg.nl
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mailman.ntg.nl/mailman/listinfo/ntg-context
> or, via email, send a message with subject or body 'help' to
> 	ntg-context-request@ntg.nl
> 
> You can reach the person managing the list at
> 	ntg-context-owner@ntg.nl
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ntg-context digest..."
> Today's Topics:
> 
>   1. Re: Basic font question (Optima, but no bold, no italics).
>      Standalone ConTeXt does not work. TeX Live 2019 works
>      (Wolfgang Schuster)
> 
> From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
> Subject: Re: [NTG-context] Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works
> Date: 24 April 2020 at 08:53:52 CEST
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>, Gerben Wierda <gerben.wierda@rna.nl>
> 
> 
> Gerben Wierda schrieb am 24.04.2020 um 08:48:
>> With Arial:
>> 
>> \definefontfamily[mainface][rm][Arial]
>> \setupbodyfont[mainface,10pt]
>> 
>> <image.png>
>> 
>> with Optima:
>> 
>> \definefontfamily[mainface][rm][Optima]
>> \setupbodyfont[mainface,10pt]
>> 
>> <image.png>
>> It doesn’t matter if the font statements are before or after \starttext
>> 
>> Then I thought, let’s test some other things. I logged in as another user, and used ConTeXt from TeX Live 2019:
>> 
>> <image.png>
>> It seems to be that on my system, the standalone installed ConTeXt does not work with Optima, but the TeX Live installed one does.
> 
> Can you try this:
> 
> \definefontfamily [mainface] [rm] [Optima]
>   [it=optimaitalic,
>    bf=optimabold,
>    bi=optimabolditalic]
> 
> 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://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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:[~2020-04-24  9:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.295.1587711236.1194.ntg-context@ntg.nl>
2020-04-24  9:13 ` Benjamin Buchmuller [this message]
2020-04-24  9:35   ` Henning Hraban Ramm
2020-04-24  9:56     ` Taco Hoekwater
2020-04-24 12:24       ` Gerben Wierda
2020-04-24 12:42         ` Taco Hoekwater
2020-04-24 10:14 Benjamin Buchmuller
2020-04-24 10:18 ` Taco Hoekwater
2020-04-26 12:22 ` Benjamin Buchmuller
  -- strict thread matches above, loose matches on Subject: below --
2020-04-23 14:00 Basic font question Gerben Wierda
2020-04-23 14:16 ` Vladimir Lomov
2020-04-23 14:22   ` Gerben Wierda
2020-04-23 14:34     ` Henning Hraban Ramm
2020-04-23 14:42       ` Gerben Wierda
2020-04-23 17:18         ` Henning Hraban Ramm
2020-04-23 21:57           ` Basic font question (Optima, but no bold, no italics) Gerben Wierda
2020-04-24  0:10             ` Vladimir Lomov
2020-04-24  3:19               ` kaddour kardio
2020-04-24  6:09                 ` Henning Hraban Ramm
2020-04-24  6:48                   ` Basic font question (Optima, but no bold, no italics). Standalone ConTeXt does not work. TeX Live 2019 works Gerben Wierda
2020-04-24  6:53                     ` Wolfgang Schuster
2020-04-24  7:21                       ` Gerben Wierda
2020-04-24  7:37                         ` Thomas A. Schmitz
2020-04-24  6:54                     ` Henning Hraban Ramm

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=D4495D93-518A-48B0-B302-6E5B6363C8A8@gmail.com \
    --to=benjamin.buchmuller@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).