ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Basic font question
Date: Thu, 23 Apr 2020 19:18:08 +0200	[thread overview]
Message-ID: <C835C133-0E66-4C61-BD91-265FF4FE8618@fiee.net> (raw)
In-Reply-To: <052FE3A5-DFF5-4CA1-A4B2-621714B150B4@rna.nl>


> Am 23.04.2020 um 16:42 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> 
>> 
>> On 23 Apr 2020, at 16:34, Henning Hraban Ramm <texml@fiee.net> wrote:
>> 
>>> 
>>> Am 23.04.2020 um 16:22 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>> 
>>> 
>>> 
>>>> On 23 Apr 2020, at 16:16, Vladimir Lomov <lomov.vl@yandex.ru> wrote:
>>>> 
>>>> Hello,
>>>> ** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 16:00:34 +0200]:
>>>> 
>>>>> On my Mac, I am trying:
>>>> 
>>>>> \definefontfamily[mainface][rm][Optima]
>>>>> \setupbodyfont[mainface,10pt]
>>>> 
>>>>> {\bf Bold} and {\it Italic} and {\rm Regular} text.
>>>> 
>>>> https://wiki.contextgarden.net/Font_Switching
>>>> 
>>>>> What do I need to do to get actual bold and italics in my output?
>>>> 
>>>> \bi == \bf\it
>>>> 
>>>> Or by "actual bold" you mean something different?
>>> 
>>> Yes, in my output everything is regular, there is no bold or italics text, even when I use \bf or \it
>> 
>> What do you get from
>> mtxrun --script=fonts --list --all --pattern=Optima
> 
> hermione:Export and Metapost gerben$ mtxrun --script fonts --list --all --pattern=optima
> identifier         familyname   fontname           filename                           subfont   instances
> 
> optimablack        optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
> optimabold         optima       optimabold         /System/Library/Fonts/Optima.ttc   2
> optimabolditalic   optima       optimabolditalic   /System/Library/Fonts/Optima.ttc   4
> optimaextrablack   optima       optimaextrablack   /System/Library/Fonts/Optima.ttc   5
> optimaitalic       optima       optimaitalic       /System/Library/Fonts/Optima.ttc   3
> optimanormal       optima       optimaregular      /System/Library/Fonts/Optima.ttc   1
> optimaregular      optima       optimaregular      /System/Library/Fonts/Optima.ttc   1

Hm. Here, ConTeXt only found subfont #5 until I rebuilt the font cache, then it looked like yours.

And the minimal example (plus \starttext ... \stoptext) worked.

(Latest ConTeXt on MacOS Mojave.)

Best, Hraban
___________________________________________________________________________________
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-23 17:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-23 14:00 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 [this message]
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
2020-04-24  7:19                       ` ConTeXt beta issue? Was: Basic font question (Optima, but no bold, no italics). Standalone ConTeXt (beta) " Gerben Wierda
2020-04-24  6:08               ` Basic font question (Optima, but no bold, no italics) 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=C835C133-0E66-4C61-BD91-265FF4FE8618@fiee.net \
    --to=texml@fiee.net \
    --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).