ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: Change of Optima to Optima Nova: how to get Optima Nova working?
Date: Sun, 24 May 2020 17:44:16 +0200	[thread overview]
Message-ID: <5dc62c93-2504-eebb-60c8-d0a00c1a920b@gmx.es> (raw)
In-Reply-To: <7906137C-8778-4809-9BDB-00462092A10F@rna.nl>

On 5/24/20 1:50 PM, Gerben Wierda wrote:
>>>> [...]
>>>> I’ve decided to buy the Optima Nova font. But now that I use it, I
>>>> run into the problem that suddenly my fallback for Cyrillic has
>>>> stopped working.

Hi Gerben,

the only reason may be that fallback families only work if the main
family works too (I have just discovered that).

BTW, the issue with Optima Nova is that the font family seems to be
rather tricky. It seems to be "Optima nova Pro".

>>> \definefontfamily
>>>     [archimate]
>>>     [ss]
>>>   [Optima Nova]
>>> [  tf=file:/Library/Fonts/OptimaNovaLTPro-Medium.otf,
>>>    it=file:OptimaNovaLTPro-MediumIta.otf,
>>>    bf=file:OptimaNovaLTPro-Bold.otf,
>>>    bi=file:OptimaNovaLTPro-BoldIta.otf,
>>> ]
> [...]
> The first problem was solved, I had to rebuild the font database:
>
> mtxrun --script fonts --reload

After rebuilding the font database (required to use new fonts added to
the system), you don’t need to specify files, as long as you invoke the
right family name, such as in:

  \definefontfamily
      [archimate]
      [ss]
      [Optima nova Pro]% or whatever the family name is

> And latin text works. Fallback for cyrillic doesn’t yet.

Which is the output from "mtxrun --script fonts --list --all
--pattern=Helvetica"?

Could you try the following sample and report back?

    \definefallbackfamily
      [archimate]
      [ss]
      [Helvetica]
      [preset=range:cyrillic,
       force=yes]
    \definefontfamily
        [archimate]
        [ss]
      [Optima nova Pro]

    \setupbodyfont[archimate]

    \starttext
    The quick brown... Ядро метамодели.
    \stoptext

If not you don’t get Cyrillic with Helvetica, please add the relevant
line from the log.

I hope it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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-05-24 15:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-24 10:16 Change of Optima to Optima Nova: fallback for cyrillc stops working Gerben Wierda
2020-05-24 10:26 ` Change of Optima to Optima Nova: how to get Optima Nova working? Gerben Wierda
2020-05-24 10:40   ` Gerben Wierda
2020-05-24 11:50     ` Gerben Wierda
2020-05-24 15:44       ` Pablo Rodriguez [this message]
2020-05-24 17:03       ` Gerben Wierda

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=5dc62c93-2504-eebb-60c8-d0a00c1a920b@gmx.es \
    --to=oinos@gmx.es \
    --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).