[NTG-context] Math font not embedded
Pablo Rodriguez
oinos at gmx.es
Wed Mar 18 14:35:42 CET 2020
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
I have just checked and noticed that MkIV (LuaTeX 1.11 7226 + ConTeXt
MkIV 2020.01.30 14:13) embeds the font fine.
I hope this helps,
Pablo
--
http://www.ousia.tk
More information about the ntg-context
mailing list