Re: [NTG-context] xits-math font problem
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 -----------------------------------------------------------------
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
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