Title: [203279] trunk/Source/WebCore
Revision
203279
Author
[email protected]
Date
2016-07-15 09:51:56 -0700 (Fri, 15 Jul 2016)

Log Message

Add DejaVu Math TeX Gyre to the list of math fonts.
https://bugs.webkit.org/show_bug.cgi?id=159805

Patch by Frederic Wang <[email protected]> on 2016-07-15
Reviewed by Brent Fulgham.

DejaVu 2.36 has a new math font that can be used for MathML rendering. Because this font is
likely to be installed on many systems (Linux, LibreOffice, etc) we include it in the default
list of font-families in mathml.css in order to increase the chance to find a math font.

No new tests, it only affects rendering when DejaVu Math TeX Gyre is installed on the system.

* css/mathml.css:
(math):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (203278 => 203279)


--- trunk/Source/WebCore/ChangeLog	2016-07-15 16:48:17 UTC (rev 203278)
+++ trunk/Source/WebCore/ChangeLog	2016-07-15 16:51:56 UTC (rev 203279)
@@ -1,3 +1,19 @@
+2016-07-15  Frederic Wang  <[email protected]>
+
+        Add DejaVu Math TeX Gyre to the list of math fonts.
+        https://bugs.webkit.org/show_bug.cgi?id=159805
+
+        Reviewed by Brent Fulgham.
+
+        DejaVu 2.36 has a new math font that can be used for MathML rendering. Because this font is
+        likely to be installed on many systems (Linux, LibreOffice, etc) we include it in the default
+        list of font-families in mathml.css in order to increase the chance to find a math font.
+
+        No new tests, it only affects rendering when DejaVu Math TeX Gyre is installed on the system.
+
+        * css/mathml.css:
+        (math):
+
 2016-07-15  Eric Carlson  <[email protected]>
 
         [MSE] Increase the SourceBuffer "fudge factor"

Modified: trunk/Source/WebCore/css/mathml.css (203278 => 203279)


--- trunk/Source/WebCore/css/mathml.css	2016-07-15 16:48:17 UTC (rev 203278)
+++ trunk/Source/WebCore/css/mathml.css	2016-07-15 16:51:56 UTC (rev 203279)
@@ -77,6 +77,11 @@
        "TeX Gyre Schola",
 
        /*
+       DejaVu is pre-installed on many Linux distributions and is included in LibreOffice.
+       */
+       "DejaVu Math TeX Gyre",
+
+       /*
        The following fonts have Palatino style and are provided with most TeX & Linux distributions.
        Asana Math has some rendering issues (e.g. missing italic correction) so we put it after.
        */
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to