Changes between Initial Version and Version 1 of MathML/Fonts


Ignore:
Timestamp:
Apr 19, 2016 3:23:47 AM (6 years ago)
Author:
fred.wang@free.fr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MathML/Fonts

    v1 v1  
     1== Overview ==
     2
     3Fonts with appropriate Unicode coverage and OpenType features are required for good math rendering. Maintainers of WebKit ports and operating systems should ensure that such fonts are available to get more reliable results on MathML tests and to maximize user experience. WebKit users encountering troubles with the rendering of MathML are encouraged to check that such a font is installed on their system. They are also invited to configure the default math font to match their preference.
     4
     5== Recommended Math Fonts ==
     6
     7Here is a list of known math fonts that can be used to render MathML formulas in WebKit:
     8
     9* [http://www.ctan.org/tex-archive/fonts/Asana-Math/ Asana Math]
     10* [http://www.microsoft.com/typography/fonts/family.aspx?FID=360 Cambria Math]
     11* [http://www.gust.org.pl/projects/e-foundry/lm-math Latin Modern Math]
     12* [https://github.com/khaledhosny/libertinus Libertinus Math]
     13* [http://tug.org/store/lucida/opentype.html Lucida Bright Math]
     14* [http://www.typoma.com/en/fonts.html Minion Math]
     15* [http://sourceforge.net/projects/stixfonts/files/Current%20Release/STIXv1.1.1-word.zip/download STIX Math]
     16* [http://www.gust.org.pl/projects/e-foundry/tg-math/download/index_html#Bonum_Math TeX Gyre Bonum Math]
     17* [http://www.gust.org.pl/projects/e-foundry/tg-math/download/index_html#Pagella_Math TeX Gyre Pagella Math]
     18* [http://www.gust.org.pl/projects/e-foundry/tg-math/download/index_html#Schola_Math TeX Gyre Schola Math]
     19* [http://www.gust.org.pl/projects/e-foundry/tg-math/download/index_html#Termes_Math TeX Gyre Termes Math]
     20* [https://github.com/khaledhosny/xits-math/releases XITS Math]
     21
     22Latin Modern Math is recommended for users who are familiar with [https://en.wikipedia.org/wiki/Computer_Modern TeX's Computer Modern style]. The STIX family provides the best unicode coverage but it has many bugs that will only be fixed in version 2. These two fonts form the recommended minimal set to consider for maintainers and the default option to try for users.
     23
     24== Customizing Math Font ==
     25
     26The default font-family on the `<math>` tag is not inherited but set to a list of known math fonts. Authors or readers of MathML equations can easily customize it by adding the following CSS rule to the author/user style sheet:
     27
     28{{{
     29  math {
     30     font-family: "My Fancy Math Font";
     31  }
     32}}}