Changeset 86161 in webkit
- Timestamp:
- May 10, 2011 9:46:16 AM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r86135 r86161 1 2011-05-10 Adam Roben <aroben@apple.com> 2 3 Use FontSmoothingLevelWindows by default on Windows 4 5 Fixes <http://webkit.org/b/60557> REGRESSION (r86077): Web Inspector uses CG font rendering 6 in WebKit2 on Windows 7 8 Reviewed by Darin Adler. 9 10 * Shared/WebPreferencesStore.h: Added and deployed a new DEFAULT_WEBKIT_FONT_SMOOTHING_LEVEL 11 macro to let Windows have a different default font smoothing level from other platforms. 12 13 * UIProcess/API/C/WKPreferencesPrivate.h: Updated the comment about the default font 14 smoothing level. 15 1 16 2011-05-06 Tony Gentilcore <tonyg@chromium.org> 2 17 -
trunk/Source/WebKit2/Shared/WebPreferencesStore.h
r84980 r86161 82 82 \ 83 83 84 #if PLATFORM(WIN) 85 #define DEFAULT_WEBKIT_FONT_SMOOTHING_LEVEL FontSmoothingLevelWindows 86 #else 87 #define DEFAULT_WEBKIT_FONT_SMOOTHING_LEVEL FontSmoothingLevelMedium 88 #endif 89 84 90 #define FOR_EACH_WEBKIT_UINT32_PREFERENCE(macro) \ 85 macro(FontSmoothingLevel, fontSmoothingLevel, UInt32, uint32_t, FontSmoothingLevelMedium) \91 macro(FontSmoothingLevel, fontSmoothingLevel, UInt32, uint32_t, DEFAULT_WEBKIT_FONT_SMOOTHING_LEVEL) \ 86 92 macro(MinimumFontSize, minimumFontSize, UInt32, uint32_t, 0) \ 87 93 macro(MinimumLogicalFontSize, minimumLogicalFontSize, UInt32, uint32_t, 9) \ -
trunk/Source/WebKit2/UIProcess/API/C/WKPreferencesPrivate.h
r83766 r86161 53 53 typedef enum WKEditableLinkBehavior WKEditableLinkBehavior; 54 54 55 // Defaults to kWKFontSmoothingLevel Medium.55 // Defaults to kWKFontSmoothingLevelWindows on Windows, kWKFontSmoothingLevelMedium on other platforms. 56 56 WK_EXPORT void WKPreferencesSetFontSmoothingLevel(WKPreferencesRef, WKFontSmoothingLevel); 57 57 WK_EXPORT WKFontSmoothingLevel WKPreferencesGetFontSmoothingLevel(WKPreferencesRef);
Note: See TracChangeset
for help on using the changeset viewer.