Changeset 247465 in webkit
- Timestamp:
- Jul 15, 2019 5:53:54 PM (5 years ago)
- Location:
- trunk/Source
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r247464 r247465 1 2019-07-15 Myles C. Maxfield <mmaxfield@apple.com> 2 3 New York font erroneously gets synthetic bold 4 https://bugs.webkit.org/show_bug.cgi?id=199653 5 6 Unreviewed watchOS build fix. 7 8 * wtf/Platform.h: 9 1 10 2019-07-15 Commit Queue <commit-queue@webkit.org> 2 11 -
trunk/Source/WTF/wtf/Platform.h
r247464 r247465 1599 1599 #endif 1600 1600 1601 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000) || (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MIN_REQUIRED >= 40000) || (PLATFORM(APPLETV) && __TV_OS_VERSION_MIN_REQUIRED >= 110000) 1602 #define USE_PLATFORM_SYSTEM_FALLBACK_LIST 1 1603 #endif 1604 1601 1605 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000) || (PLATFORM(WATCHOS) && __WATCH_OS_VERSION_MIN_REQUIRED >= 60000) || (PLATFORM(APPLETV) && __TV_OS_VERSION_MIN_REQUIRED >= 130000) 1602 1606 #define HAVE_DESIGN_SYSTEM_UI_FONTS 1 -
trunk/Source/WebCore/ChangeLog
r247464 r247465 1 2019-07-15 Myles C. Maxfield <mmaxfield@apple.com> 2 3 New York font erroneously gets synthetic bold 4 https://bugs.webkit.org/show_bug.cgi?id=199653 5 6 Unreviewed watchOS build fix. 7 8 * page/ProcessWarming.cpp: 9 (WebCore::ProcessWarming::prewarmGlobally): 10 * page/cocoa/MemoryReleaseCocoa.mm: 11 (WebCore::platformReleaseMemory): 12 * platform/graphics/FontCascadeDescription.cpp: 13 * platform/graphics/FontDescription.h: 14 * platform/graphics/cocoa/FontCacheCoreText.cpp: 15 (WebCore::invalidateFontCache): 16 (WebCore::lookupFallbackFont): 17 * platform/graphics/cocoa/FontDescriptionCocoa.cpp: 18 (WebCore::FontCascadeDescription::effectiveFamilyAt const): 19 * platform/graphics/cocoa/FontFamilySpecificationCoreText.cpp: 20 (WebCore::FontFamilySpecificationCoreText::fontRanges const): 21 * platform/graphics/cocoa/SystemFontDatabaseCoreText.cpp: 22 1 23 2019-07-15 Commit Queue <commit-queue@webkit.org> 2 24 -
trunk/Source/WebCore/page/ProcessWarming.cpp
r247464 r247465 73 73 commonVM(); 74 74 75 #if USE _PLATFORM_SYSTEM_FALLBACK_LIST75 #if USE(PLATFORM_SYSTEM_FALLBACK_LIST) 76 76 // Cache system UI font fallbacks. Almost every web process needs these. 77 77 // Initializing one size is sufficient to warm CoreText caches. -
trunk/Source/WebCore/page/cocoa/MemoryReleaseCocoa.mm
r247464 r247465 45 45 void platformReleaseMemory(Critical) 46 46 { 47 #if USE _PLATFORM_SYSTEM_FALLBACK_LIST47 #if USE(PLATFORM_SYSTEM_FALLBACK_LIST) 48 48 SystemFontDatabaseCoreText::singleton().clear(); 49 49 #endif -
trunk/Source/WebCore/platform/graphics/FontCascadeDescription.cpp
r247464 r247465 63 63 } 64 64 65 #if !USE _PLATFORM_SYSTEM_FALLBACK_LIST65 #if !USE(PLATFORM_SYSTEM_FALLBACK_LIST) 66 66 67 67 unsigned FontCascadeDescription::effectiveFamilyCount() const -
trunk/Source/WebCore/platform/graphics/FontDescription.h
r247464 r247465 31 31 #include <unicode/uscript.h> 32 32 #include <wtf/MathExtras.h> 33 34 #define USE_PLATFORM_SYSTEM_FALLBACK_LIST ((PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300))35 33 36 34 namespace WebCore { -
trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
r247464 r247465 1238 1238 } 1239 1239 1240 #if USE _PLATFORM_SYSTEM_FALLBACK_LIST1240 #if USE(PLATFORM_SYSTEM_FALLBACK_LIST) 1241 1241 SystemFontDatabaseCoreText::singleton().clear(); 1242 1242 #endif … … 1394 1394 CFIndex coveredLength = 0; 1395 1395 RetainPtr<CTFontRef> result; 1396 #if !USE _PLATFORM_SYSTEM_FALLBACK_LIST&& (PLATFORM(MAC) || (PLATFORM(IOS_FAMILY) && TARGET_OS_IOS))1396 #if !USE(PLATFORM_SYSTEM_FALLBACK_LIST) && (PLATFORM(MAC) || (PLATFORM(IOS_FAMILY) && TARGET_OS_IOS)) 1397 1397 result = adoptCF(CTFontCreatePhysicalFontForCharactersWithLanguage(font, characters, length, localeString.get(), &coveredLength)); 1398 1398 #else -
trunk/Source/WebCore/platform/graphics/cocoa/FontDescriptionCocoa.cpp
r247464 r247465 33 33 namespace WebCore { 34 34 35 #if USE _PLATFORM_SYSTEM_FALLBACK_LIST35 #if USE(PLATFORM_SYSTEM_FALLBACK_LIST) 36 36 37 37 #if PLATFORM(IOS_FAMILY) … … 122 122 { 123 123 // The special cases in this function need to match the behavior in FontCacheIOS.mm and FontCacheMac.mm. On systems 124 // where USE _PLATFORM_SYSTEM_FALLBACK_LISTis set to true, this code is used for regular (element style) lookups,124 // where USE(PLATFORM_SYSTEM_FALLBACK_LIST) is set to true, this code is used for regular (element style) lookups, 125 125 // and the code in FontDescriptionCocoa.cpp is used when src:local(special-cased-name) is specified inside an 126 126 // @font-face block. … … 145 145 } 146 146 147 #endif // USE _PLATFORM_SYSTEM_FALLBACK_LIST147 #endif // USE(PLATFORM_SYSTEM_FALLBACK_LIST) 148 148 149 149 static String computeSpecializedChineseLocale() -
trunk/Source/WebCore/platform/graphics/cocoa/FontFamilySpecificationCoreText.cpp
r247464 r247465 104 104 105 105 auto fontForSynthesisComputation = font; 106 #if USE _PLATFORM_SYSTEM_FALLBACK_LIST106 #if USE(PLATFORM_SYSTEM_FALLBACK_LIST) 107 107 if (auto physicalFont = adoptCF(CTFontCopyPhysicalFont(font.get()))) 108 108 fontForSynthesisComputation = physicalFont; -
trunk/Source/WebCore/platform/graphics/cocoa/SystemFontDatabaseCoreText.cpp
r247464 r247465 46 46 } 47 47 48 #if USE _PLATFORM_SYSTEM_FALLBACK_LIST48 #if USE(PLATFORM_SYSTEM_FALLBACK_LIST) 49 49 50 50 RetainPtr<CTFontRef> SystemFontDatabaseCoreText::createSystemUIFont(const CascadeListParameters& parameters, CFStringRef locale) … … 239 239 } 240 240 241 #endif // USE _PLATFORM_SYSTEM_FALLBACK_LIST241 #endif // USE(PLATFORM_SYSTEM_FALLBACK_LIST) 242 242 243 243 static String genericFamily(const String& locale, HashMap<String, String>& map, CFStringRef ctKey)
Note: See TracChangeset
for help on using the changeset viewer.