Changeset 181052 in webkit
- Timestamp:
- Mar 4, 2015 4:51:44 PM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r181050 r181052 1 2015-03-04 Alexey Proskuryakov <ap@apple.com> 2 3 [Mac] Set SystemUIFontSelect in DRT and WKTR 4 https://bugs.webkit.org/show_bug.cgi?id=142303 5 6 Reviewed by Myles C. Maxfield. 7 8 * DumpRenderTree/mac/DumpRenderTree.mm: 9 (setDefaultsToConsistentValuesForTesting): 10 * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: 11 (WTR::InjectedBundle::platformInitialize): 12 1 13 2015-03-04 Chris Dumez <cdumez@apple.com> 2 14 -
trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm
r180570 r181052 936 936 @"AppleShowScrollBars": @"Always", 937 937 @"NSButtonAnimationsEnabled": @NO, // Ideally, we should find a way to test animations, but for now, make sure that the dumped snapshot matches actual state. 938 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED > 101000 939 @"SystemUIFontSelect": @"Neue", 940 #endif 938 941 }; 939 942 940 943 [[NSUserDefaults standardUserDefaults] setValuesForKeysWithDictionary:dict]; 944 945 #if PLATFORM(MAC) 946 // Make NSFont use the new defaults. 947 [NSFont initialize]; 948 #endif 941 949 942 950 NSDictionary *processInstanceDefaults = @{ -
trunk/Tools/WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm
r171902 r181052 46 46 @"AppleAntiAliasingThreshold": @4, 47 47 // FIXME: Setting AppleFontSmoothing is likely unnecessary and ineffective. WebKit2 has its own preference for font smoothing, which is 48 // applied to each context via CGContextSetShouldSmoothFonts, presumably overriding the default. And it's too late to do this here, 49 // see <https://bugs.webkit.org/show_bug.cgi?id=123488> 48 // applied to each context via CGContextSetShouldSmoothFonts, presumably overriding the default. 50 49 @"AppleFontSmoothing": @(NoFontSmoothing), 51 50 @"AppleAquaColorVariant": @(BlueTintedAppearance), … … 62 61 @"NSTestCorrectionDictionary": @{ 63 62 @"notationl": @"notational" 64 } 63 }, 64 #if __MAC_OS_X_VERSION_MIN_REQUIRED > 101000 65 @"SystemUIFontSelect": @"Neue", 66 #endif 65 67 }; 66 68 67 69 [[NSUserDefaults standardUserDefaults] setVolatileDomain:dict forName:NSArgumentDomain]; 70 71 // Make NSFont use the new defaults. 72 [NSFont initialize]; 68 73 69 74 // Underlying frameworks have already read AppleAntiAliasingThreshold default before we changed it.
Note: See TracChangeset
for help on using the changeset viewer.