Title: [203406] trunk/Tools
Revision
203406
Author
[email protected]
Date
2016-07-19 07:18:19 -0700 (Tue, 19 Jul 2016)

Log Message

[win] Update the list of MathML fonts
https://bugs.webkit.org/show_bug.cgi?id=156838

The set of recommended math fonts is now described at
https://trac.webkit.org/wiki/MathML/Fonts
We update the Perl script to use the latest list of fonts.

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

* Scripts/webkitdirs.pm:
(checkInstalledTools):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (203405 => 203406)


--- trunk/Tools/ChangeLog	2016-07-19 14:12:58 UTC (rev 203405)
+++ trunk/Tools/ChangeLog	2016-07-19 14:18:19 UTC (rev 203406)
@@ -1,3 +1,17 @@
+2016-07-19  Frederic Wang  <[email protected]>
+
+        [win] Update the list of MathML fonts
+        https://bugs.webkit.org/show_bug.cgi?id=156838
+
+        The set of recommended math fonts is now described at
+        https://trac.webkit.org/wiki/MathML/Fonts
+        We update the Perl script to use the latest list of fonts.
+
+        Reviewed by Brent Fulgham.
+
+        * Scripts/webkitdirs.pm:
+        (checkInstalledTools):
+
 2016-07-19  Per Arne Vollan  <[email protected]>
 
         [Win] The test fast/scrolling/overflow-scroll-past-max.html is timing out.

Modified: trunk/Tools/Scripts/webkitdirs.pm (203405 => 203406)


--- trunk/Tools/Scripts/webkitdirs.pm	2016-07-19 14:12:58 UTC (rev 203405)
+++ trunk/Tools/Scripts/webkitdirs.pm	2016-07-19 14:18:19 UTC (rev 203406)
@@ -1588,8 +1588,9 @@
         }
     }
 
-    # MathML requires fonts that do not ship with Windows (at least through Windows 8). Warn the user if they are missing
-    my @fonts = qw(STIXGeneral-Regular MathJax_Main-Regular);
+    # MathML requires fonts that may not ship with Windows.
+    # Warn the user if they are missing.
+    my @fonts = ('Cambria & Cambria Math (TrueType)', 'LatinModernMath-Regular', 'STIXMath-Regular');
     my @missing = ();
     foreach my $font (@fonts) {
         push @missing, $font if not fontExists($font);
@@ -1597,11 +1598,11 @@
 
     if (scalar @missing > 0) {
         print "*************************************************************\n";
-        print "Mathematical fonts, such as STIX and MathJax, are needed to\n";
+        print "Mathematical fonts, such as Latin Modern Math are needed to\n";
         print "use the MathML feature.  You do not appear to have these fonts\n";
         print "on your system.\n\n";
         print "You can download a suitable set of fonts from the following URL:\n";
-        print "https://developer.mozilla.org/Mozilla/MathML_Projects/Fonts\n";
+        print "https://trac.webkit.org/wiki/MathML/Fonts\n";
         print "*************************************************************\n";
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to