ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vladimir Lomov <lomov.vl@yandex.ru>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Basic font question (Optima, but no bold, no italics)
Date: Fri, 24 Apr 2020 08:10:44 +0800	[thread overview]
Message-ID: <20200424001044.GK807@smoon.bkoty.ru> (raw)
In-Reply-To: <F2BB46A6-3AA3-4E9B-A7B5-754F6467A553@rna.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2284 bytes --]

Hello,
** Gerben Wierda <gerben.wierda@rna.nl> [2020-04-23 23:57:26 +0200]:

>> On 23 Apr 2020, at 19:18, Henning Hraban Ramm <texml@fiee.net> wrote:
>> 
>>> 
>>> 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:
>>>> 

[...]

>>>> 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.)

> No such luck for me. Any help welcome. I did remove the macOS font cache
> with sudo atsutil databases -remove and I rebooted. I am running an up to
> date macOS Mojave.

I think Henning Hraban Ramm meant not OS font cache (but may be including it,
I'm not a Mac OS user) but context font cache. Run

$ mtxrun --script fonts --reload --force

and try above '--list --all ...' command again and your example:

> \starttext
> \definefontfamily[mainface][rm][Optima]
> \setupbodyfont[mainface,10pt]

> {\bf Bold} and {\it Italic} and {\rm Regular} text.
> \stoptext

Hope this will resolve you issue.

[...]

---
WBR, Vladimir Lomov

-- 
Practically perfect people never permit sentiment to muddle their thinking.
		-- Mary Poppins

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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  0:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=20200424001044.GK807@smoon.bkoty.ru \
    --to=lomov.vl@yandex.ru \
    --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).