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: How do I add cyrillic to my typescript/document?
Date: Mon, 4 May 2020 08:14:38 +0200	[thread overview]
Message-ID: <59462A4A-A189-46FA-80E1-284F21A8ECCB@fiee.net> (raw)
In-Reply-To: <D310CA8B-63BC-4AD6-8B71-0ABCFC996840@rna.nl>



> Am 04.05.2020 um 00:36 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> 
> 
> \starttypescript [sans] [optima]
>    \setups[font:fallback:sans]
>    \definefontsynonym [Sans]           [file:Optima.ttc(Optima Regular)]     [features=default]
>    \definefontsynonym [SansBold]       [file:Optima.ttc(Optima Bold)]        [features=default]
>    \definefontsynonym [SansItalic]     [file:Optima.ttc(Optima Italic)]      [features=default]
>    \definefontsynonym [SansBoldItalic] [file:Optima.ttc(Optima Bold Italic)] [features=default]
> \stoptypescript
> 
> \definetypeface [optima] [ss] [sans] [optima] [default]
> \definetypeface [optima] [rm] [serif] [optima] [default]
> \definetypeface [optima] [tt] [mono] [modern] [default]
> \definetypeface [optima] [mm] [math] [pagella] [default]
> 
>   \definefallbackfamily
>     [optima]
>     [ss]
>     [file:Helvetica.ttc]
>     [preset=range:cyrillic,
>     force=yes]
> 
> \setupbodyfont [optima]
> 
> The error is:
> 
> fonts           > typescripts > unknown library 'optima'

This is about \definetypeface [optima] [rm] [serif] [optima] [default], because you only defined [sans][optima].


> open source     > level 3, order 6, name '/usr/local/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
> close source    > level 3, order 6, name '/usr/local/context-osx-64/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
> selectfont      > the requested fallback font 'file:Helvetica.ttc' for typeface 'optima' style 'ss' was ignored because no files where found.

The fallback font for cyrillic, Helvetica.ttc, is not found. No problem with Optima reported.


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
___________________________________________________________________________________

  parent reply	other threads:[~2020-05-04  6:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-03 11:34 Gerben Wierda
2020-05-03 12:56 ` Gerben Wierda
2020-05-03 13:55   ` Pablo Rodriguez
2020-05-03 22:36     ` Gerben Wierda
2020-05-04  2:37       ` Vladimir Lomov
2020-05-04  6:14       ` Henning Hraban Ramm [this message]
2020-05-04 10:13       ` Pablo Rodriguez
2020-05-04 16:38         ` Gerben Wierda
2020-05-04 22:49           ` Pablo Rodriguez

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=59462A4A-A189-46FA-80E1-284F21A8ECCB@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).