On 04/02/2015 02:23 AM, Hans Hagen wrote:
> On 4/2/2015 1:21 AM, Pablo Rodriguez wrote:
>> [...]
>> Both lack the underscore glyph. This causes the crash, since it works
>> fine if I replace the glyph with an existing glyph in the font.
>> [...]
>> Would it be possible that ConTeXt silently ignores that the font doesn’t
>> contain the glyph?
> 
> the message is fuzzy (and i have to check a lua stack issue maybe but 
> not now) ... if char is nil then char.depth is an error
> 
>> I think this might be a bug.
> 
>  >      function document.addfunnyhyphen(tfmdata)
>  >          local underscore = utf.byte("_")
>  >          local char       = tfmdata.characters[underscore]
> 
>             if not char then return end

Many thanks for your help, Hans.

This solves my issue.


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to