[NTG-context] definefallbackfamily stopped working for text fonts

Hans Hagen j.hagen at xs4all.nl
Tue Aug 28 10:14:36 CEST 2018


On 8/28/2018 3:49 AM, Henri Menke wrote:
> Dear list,
> 
> In the latest beta the font fallback using a text font in math mode does
> not work anymore.  The log contains messages like
> 
> char 𝑐 (U+1D450) in font 'MinionPro-It' with id 8: missing
> char 𝑎 (U+1D44E) in font 'MinionPro-It' with id 8: missing
> char 𝑏 (U+1D44F) in font 'MinionPro-It' with id 8: missing
> 
> which is not surprising because a text font does not have math italics.
> How can I get this to work again?  MWE below.

Isn't it

\definefallbackfamily
     [mainface] [math] [Minion Pro]
     [range=lowercaseitalic,force=yes]
\definefallbackfamily
     [mainface] [math] [Minion Pro]
     [range=digitsnormal,force=yes]

or so? It's Wolfgangs speciality ...

> Cheers, Henri
> 
> ---
> 
> \definefontfamily [mainface] [rm] [Minion Pro]
> 
> \definefallbackfamily [mainface] [math] [Minion Pro]
> [math:lowercaseitalic] [force=yes]
> \definefallbackfamily [mainface] [math] [Minion Pro] [math:digitsnormal]
>     [force=yes]
> \definefontfamily     [mainface] [math] [TeX Gyre Pagella Math]
> 
> \setupbodyfont[mainface]
> 
> \starttext
> \input ward
> 
> \startformula
>    c^2 = a^2 + b^2
> \stopformula
> 
> \stoptext
> 
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________
> 


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list