Changeset 170233 in webkit
- Timestamp:
- Jun 21, 2014 1:07:37 AM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r170229 r170233 1 2014-06-21 Frédéric Wang <fred.wang@free.fr> 2 3 [GTK][EFL] Use OpenType MATH fonts by default. 4 https://bugs.webkit.org/show_bug.cgi?id=133604 5 6 Reviewed by Chris Fleizach. 7 8 In order to support stretching of horizontal operators and large 9 operators in display mode as well as to improve the drawing of radicals, 10 we need to use an OpenType MATH table. This commit makes the MathML code 11 try "Latin Modern Math" first, which is an OpenType version of Knuth's 12 popular Computer Modern font and is packaged with most TeX 13 distributions (e.g. TeX Live on Linux). This should work well on the 14 EFL & GTK ports for which the initial OpenType MATH support has been 15 tested. Other ports will be handled later. 16 17 No new tests. This is already tested in LayoutTests/mathml/opentype/. 18 19 * css/mathml.css: 20 (math): Add "Latin Modern Math" as the first font-family of the <math> element. 21 1 22 2014-06-20 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 23 -
trunk/Source/WebCore/css/mathml.css
r170005 r170233 16 16 font-family: STIXGeneral, Symbol, "Times New Roman", sans-serif; 17 17 #else 18 font-family: MathJax_Main, STIXGeneral, STIXSizeOneSym, "DejaVu Sans", "DejaVu Serif", Cambria, "Cambria Math", "Lucida Sans Unicode", "Arial Unicode MS", "Lucida Grande", OpenSymbol, "Standard Symbols L", Times, serif;18 font-family: "Latin Modern Math", MathJax_Main, STIXGeneral, STIXSizeOneSym, "DejaVu Sans", "DejaVu Serif", Cambria, "Cambria Math", "Lucida Sans Unicode", "Arial Unicode MS", "Lucida Grande", OpenSymbol, "Standard Symbols L", Times, serif; 19 19 #endif 20 20 }
Note: See TracChangeset
for help on using the changeset viewer.