Khaled Hosny wrote:
> Using Luatex engine, ZWNJ and ZWJ chars are rendered incorrectly. If the
> font has a glyph for it, it does the expected behaviour (force
> non-joining or joining respectively) but the glyph get rendered while it
> shouldn't. But if the font has no glyphs for it, it has no effect at
> all. See the attached example.

ok, the case when it's not in the font is easy to fix by a slightly 
different test (aroun dline 4500 in font-otf.lua)

local chardata = characters[char]
if chardata and chardata.description.class == "mark" then
     set_attribute(current,state,5) -- mark
     if trace then fcs(current,"font:mark") end
elseif isol[char] then -- can be zwj or zwnj too
     .....

you need to remake the format

the problem of the glyph showing up ... i have to think of an option 
(because i guess that sometimes it's handy for tracing)



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to