I'm opening this meta bug. There are essentially two points: 1) Better Unicode coverage for math symbols. You can see a list in http://www.w3.org/TR/xml-entity-names/#blocks . In particular, https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols is important. 2) Add an OpenType MATH table, and especially the mathvariant subtable which allows to stretch e.g. parenthesis or radical and draw e.g. summation symbol bigger in displaystyle mode. This would important for the MathML rendering in Gecko/WebKit and for various modern TeX engines (LuaTeX, XeTeX etc). For more info, see the references at https://wiki.mozilla.org/MathML:Open_Type_MATH_Table#References
Created attachment 115631 [details] TeX testcase (DejaVu serif)
Created attachment 115632 [details] Rendering of the testcase with the stable DejaVu fonts
Created attachment 115633 [details] Rendering of the testcase with the r2585
Created attachment 115634 [details] Rendering of the testcase with the r2585
Some MathML tests for DejaVu Sans and Serif: http://fred-wang.github.io/MathFonts/DejaVuSans/ http://fred-wang.github.io/MathFonts/DejaVuSerif/
I think it would be important to add ⁄ too for allowing to write non pre‑composed fractions.
Created attachment 120711 [details] Example with missing Greek characters According to the release notes, version 2.35 implements the Math table. I tried to use version 2.35 with XeTeX and unicode-math package to render my formulas with DejaVu Serif but it seems that Greek characters get missing. If I try \[ \sum_{i}\hat{\psi_{i}}\cos(\alpha_{i}\pm\omega t) \] (yes, I know it makes no sense ;) ) I get the result shown on the screenshot.
Created attachment 120712 [details] Example with missing Greek characters (for some reason, previous attach did not work)
(In reply to RGB from comment #8) > Created attachment 120712 [details] > Example with missing Greek characters (for some reason, previous attach did > not work) I guess that's because DejaVu misses the greek letters from https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols Note that in general the math support in DejaVu is very limited at the moment. But a little bird told me that something better was in progress, so stay tuned...
(In reply to Frédéric Wang from comment #9) > (In reply to RGB from comment #8) > > Created attachment 120712 [details] > > Example with missing Greek characters (for some reason, previous attach did > > not work) > > I guess that's because DejaVu misses the greek letters from > https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols > > Note that in general the math support in DejaVu is very limited at the > moment. But a little bird told me that something better was in progress, so > stay tuned... Thanks! I'll keep an eye on this!
Fixed by the new math font in version 2.36 https://sourceforge.net/p/dejavu/mailman/message/35221644/
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.