Title: [231783] trunk/Source/WebKit
Revision
231783
Author
timothy_hor...@apple.com
Date
2018-05-14 19:24:59 -0700 (Mon, 14 May 2018)

Log Message

Use the system font by default in extra zoom mode
https://bugs.webkit.org/show_bug.cgi?id=185638
<rdar://problem/40230277>

Reviewed by Wenson Hsieh.

* Shared/WebPreferencesDefaultValues.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (231782 => 231783)


--- trunk/Source/WebKit/ChangeLog	2018-05-15 01:52:26 UTC (rev 231782)
+++ trunk/Source/WebKit/ChangeLog	2018-05-15 02:24:59 UTC (rev 231783)
@@ -1,3 +1,13 @@
+2018-05-14  Tim Horton  <timothy_hor...@apple.com>
+
+        Use the system font by default in extra zoom mode
+        https://bugs.webkit.org/show_bug.cgi?id=185638
+        <rdar://problem/40230277>
+
+        Reviewed by Wenson Hsieh.
+
+        * Shared/WebPreferencesDefaultValues.h:
+
 2018-05-14  Michael Catanzaro  <mcatanz...@igalia.com>
 
         Unreviewed, rolling out r231755.

Modified: trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h (231782 => 231783)


--- trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h	2018-05-15 01:52:26 UTC (rev 231782)
+++ trunk/Source/WebKit/Shared/WebPreferencesDefaultValues.h	2018-05-15 02:24:59 UTC (rev 231783)
@@ -139,7 +139,12 @@
 
 #if PLATFORM(COCOA)
 
+#if ENABLE(EXTRA_ZOOM_MODE)
+#define DEFAULT_STANDARD_FONT_FAMILY "system-ui"
+#else
 #define DEFAULT_STANDARD_FONT_FAMILY "Times"
+#endif
+
 #define DEFAULT_FANTASY_FONT_FAMILY "Papyrus"
 #define DEFAULT_FIXED_FONT_FAMILY "Courier"
 #define DEFAULT_SANS_SERIF_FONT_FAMILY "Helvetica"
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to