Re: [NTG-context] xits-math font problem
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 2/16/2018 9:10 AM, Jeong Dal wrote:
Dear Hans,
Thank you for a quick reply.
can you try mtxrun --script font --reload --force
I open the terminal and run mtxrun as su, and got the following:
Graph-MacBook:ConTeXt graph$ source ./tex/setuptex Setting "/Users/graph/ConTeXt/tex" as ConTeXt root. Graph-MacBook:ConTeXt graph$ sudo mtxrun --script font --reload --force Password:
hm, so you need a password for this?
otf reader | fatal error in file '/System/Library/Fonts/ArabicUIText.ttc':
what's that
fonts | names | 220 double lookups in 'mappings' fonts | names | 79 double lookups in 'fallbacks'
could be an indication 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Hi Hans,
On 16 Feb 2018, at 12:02, Hans Hagen
wrote: On 2/16/2018 9:10 AM, Jeong Dal wrote:
Dear Hans, Thank you for a quick reply.
can you try mtxrun --script font --reload --force
I open the terminal and run mtxrun as su, and got the following: Graph-MacBook:ConTeXt graph$ source ./tex/setuptex Setting "/Users/graph/ConTeXt/tex" as ConTeXt root. Graph-MacBook:ConTeXt graph$ sudo mtxrun --script font --reload --force Password:
hm, so you need a password for this?
For sudo, yes. But that is unrelated.
otf reader | fatal error in file '/System/Library/Fonts/ArabicUIText.ttc':
what's that
The error is a lua error (‘lower expects a string, not nil') in this line: font-dsp.lua:3324 name = lower(extras[readushort(f)]), Which makes some sense as ttx reports: $ ttx -t STAT -y 0 ArabicUIDisplay.ttc Dumping "ArabicUIDisplay.ttc" to "ArabicUIDisplay#1.ttx"... Dumping 'STAT' table... WARNING: name id 256 missing from name table WARNING: name id 256 missing from name table WARNING: name id 256 missing from name table WARNING: name id 256 missing from name table So I think you need a guard in font-dsp and/or fetch the name from some backup location? Drop me a line if you need a temporary copy of the font. Best wishes, Taco
![](https://secure.gravatar.com/avatar/ecffc5c1eb6692198d091ee98e921822.jpg?s=120&d=mm&r=g)
Dear Hans, Since I couldn’t use xits for math font, I tried to use euler. I found some mails about the euler font in the list, and change the type-imp-unfonts slightly. I replaced the lines containing xits with euler font. \loadtypescriptfile[euler] %\loadtypescriptfile[xits] … … \definetypeface [unfonts] [mm] [math] [pagellaovereuler][default] % \definetypeface [unfonts] [mm] [math] [xits] According to this typescript file, english uses texgyrepagella and korean uses unfonts. After that the sample file runs well without complaints. I am not sure it is the right way to use Euler font for math. Is it OK? or any other suggestions, like to use another font file? I tried ‘Neo Euler’ as mentioned in the list, but it doesn’t work in my system. Thank you. Best regards, Dalyoung
participants (3)
-
Hans Hagen
-
Jeong Dal
-
Taco Hoekwater