Dear Android developers,
Android has missed appropriate mathematical fonts for a long time and
the feature request I submitted two years ago to improve the situation
didn't receive much attention. As some of you probably know, the
OpenType MATH table was recently published in the latest ISO Open Font
Format working draft [1], partial support is available in Gecko 31 [2]
and similar work is in progress to implement it in WebKit [3]. At least
one OpenType MATH font is necessary for proper mathematical layout on
Android. Moreover, many mathematical symbols are not available on
Android because the default fonts installed do not have the desired
Unicode coverage. At the moment, the workaround has been to ask authors
to use Web fonts on their web site / EPUB book or to bundle such fonts
in some add-on like [4], which is less than ideal.
So I decided to try and solve these issues and I've created a git
repository for the Latin Modern Math font [5]. This font has an OpenType
MATH table, good coverage for math symbols, a rendering similar to the
default typeface used in TeX [6], and is used by default on modern TeX
engines such as XeTeX, LuaTeX or ConTeXt:
https://github.com/fred-wang/android-latin-modern-math
I'd like to have it in external/latin-modern-math/ but I probably need
to tell depo to track such a git repository. Can someone tell me how I
can do that and if other work is necessary to make the Latin Modern Math
font installed by default on Android devices?
(note: another candidate for good unicode coverage would be the STIX
Math font [7], but at the moment it has many bugs and it's not clear
when the consortium will fix them)
Thanks,
[1]
http://mpeg.chiariglione.org/standards/mpeg-4/open-font-format/text-isoiec-cd-14496-22-3rd-edition
(section 6.3.6)
[2]
https://developer.mozilla.org/en-US/Firefox/Releases/31#MathML
[3]
https://bugs.webkit.org/show_bug.cgi?id=130322, 72828, 119038 and more.
[4]
https://addons.mozilla.org/en-US/firefox/addon/mathml-fonts/
[5]
http://www.gust.org.pl/projects/e-foundry/lm-math
[6]
https://en.wikipedia.org/wiki/Computer_Modern#Latin_Modern
[7]
http://www.stixfonts.org/