Hi, this is probably for Hans & Mikael, but maybe someone else has a hint:

If I set a fallback for my body font to catch all missing characters, some math accents get replaced by small bold uppercase characters (I found hat by K and ring by T so far).

I tried [fallbacks=] for math to no avail.

My example uses Cambria, but it’s the same with other fonts.

(BTW, in \bar{b} with Libertinus, the bar looks too high.)

Hraban


\definefontfallback[symbolaFB]
  [file:symbola.otf]
  [0x00000-0xFFFFF]
  [check=no,force=no]

\definefontfallback[arialFB]
  [name:arialunicodems]
  [0x00000-0xFFFFF]
  [check=no,force=no,rscale=0.85]

\starttypescript [contextstart]
  \definetypeface [contextstart] [rm] [serif] [cambria]
        [default][fallbacks=symbolaFB]
  \definetypeface [contextstart] [ss] [sans]  [segoe]
        [default][fallbacks=arialFB]
  \definetypeface [contextstart] [tt] [mono]  [modern]
        [default][fallbacks=arialFB]
  \definetypeface [contextstart] [mm] [math]  [cambria]
        [default]
\stoptypescript

\setupbodyfont[contextstart,12pt]

\starttext

\im{\hat{H} \widehat{HAT} \bar{b} \widebar{bar}}

\im{\mathring{+} \mathring{±} \mathring{x}}

\stoptext

Attachment: mathtest.tex
Description: TeX document

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to