Hi Hans,

> On 16 Feb 2018, at 12:02, Hans Hagen <pra...@wxs.nl> 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



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@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
___________________________________________________________________________________

Reply via email to