[NTG-context] Math font not embedded

Hans Hagen j.hagen at xs4all.nl
Wed Mar 18 18:16:07 CET 2020


On 3/18/2020 2:35 PM, Pablo Rodriguez wrote:
> On 3/18/20 10:51 AM, Hans Hagen wrote:
>> On 3/18/2020 10:44 AM, Pablo Rodriguez wrote:
>>> \definefontfamily [mainface] [rm] [DejaVu Serif]
>>>     \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
>>>     \setupbodyfont[mainface]
>>>     \starttext
>>>     \m{\sin^2(t)^2 + \cos^2(t) = 1}
>>>     \setupbodyfont[pagella]
>>>     \m{\sin^2(t)^2 + \cos^2(t) = 1}
>>>     \stoptext
>>
>> what if you wipe the cache?
> 
> Hans,
> 
> using this sample:
> 
>    \definefontfamily [mainface] [rm] [DejaVu Serif]
>    \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
>    \setupbodyfont[mainface]
>    \starttext
>    \m{\sin^2(t)^2 + \cos^2(t) = 1}
>    \stoptext
> 
> Although I get this message in line 38 from the log file:
> 
> mkiv lua stats  > loaded fonts: 2 files: texgyrepagella-math.otf,
> dejavuserif.ttf
> 
> There is a previous message in lines 19 and 20 from the log file (same
> message repeated twice):
> 
> fonts           > math: unset for global bodyfont mainface at 12pt
that is weird .. question for Wolfgang: is selectfont sensitive for the 
order of looping over a hash?

Hans

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