Math accents seems to be broken in all OpenType math fonts:

* wide accents don't show at all; ConTeXt is looking for non-existent
  characters (U+FE302 for example).
* regular accents don't work with Asana because ConTeXt is looking for
  the spacing accents which it does not have

I think this is left over from the hack of using modifier accents for
non-growing ones and combining accents for the growing.

Now since luatex introduced new keywords to handle this, I propose that
all math accents use the combining accents (which is the right thing
to do for all fonts any way) and non growing one would use the new
"fixed" keyword.

Attached a simple test file.

Regards,
 Khaled

-- 
 Khaled Hosny
 Egyptian
 Arab

\starttext
\startbuffer[test]
  \startformula
  \hat{xxx} \quad \widehat{xxx} \quad \tilde{xxx} \quad \widetilde{xxx}
  \stopformula
\stopbuffer

\def\test#1{
  \switchtobodyfont[#1]
  \startTEXpage
  #1
  \getbuffer[test]
  \stopTEXpage
}

\test{modern}
\test{cambria}
\test{asana}
\test{xits}
\test{euler}
\stoptext
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to