Changeset 254099 in webkit
- Timestamp:
- Jan 6, 2020, 4:49:32 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/cocoa/FontCacheCoreText.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r254093 r254099 1 2020-01-06 Per Arne Vollan <pvollan@apple.com> 2 3 [iOS] Only prewarm fonts with valid font names 4 https://bugs.webkit.org/show_bug.cgi?id=205822 5 6 Reviewed by Brent Fulgham. 7 8 The font names ".SF NS Text" and ".SF NS Display" are not valid on iOS, and should not be prewarmed. 9 10 No new tests, no behavior change. 11 12 * platform/graphics/cocoa/FontCacheCoreText.cpp: 13 (WebCore::FontCache::prewarmGlobally): 14 1 15 2020-01-06 Peng Liu <peng.liu6@apple.com> 2 16 -
trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
r254087 r254099 1695 1695 1696 1696 Vector<String> families = std::initializer_list<String> { 1697 #if PLATFORM(MAC) || PLATFORM(MACCATALYST) 1697 1698 ".SF NS Text"_s, 1698 1699 ".SF NS Display"_s, 1700 #endif 1699 1701 "Arial"_s, 1700 1702 "Helvetica"_s,
Note:
See TracChangeset
for help on using the changeset viewer.