Changeset 254589 in webkit
- Timestamp:
- Jan 15, 2020, 11:14:45 AM (7 years ago)
- Location:
- branches/safari-609-branch/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/cocoa/FontCacheCoreText.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-609-branch/Source/WebCore/ChangeLog
r254585 r254589 1 2020-01-14 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r254099. rdar://problem/58552889 4 5 [iOS] Only prewarm fonts with valid font names 6 https://bugs.webkit.org/show_bug.cgi?id=205822 7 8 Reviewed by Brent Fulgham. 9 10 The font names ".SF NS Text" and ".SF NS Display" are not valid on iOS, and should not be prewarmed. 11 12 No new tests, no behavior change. 13 14 * platform/graphics/cocoa/FontCacheCoreText.cpp: 15 (WebCore::FontCache::prewarmGlobally): 16 17 18 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@254099 268f45cc-cd09-0410-ab3c-d52691b4dbfc 19 20 2020-01-06 Per Arne Vollan <pvollan@apple.com> 21 22 [iOS] Only prewarm fonts with valid font names 23 https://bugs.webkit.org/show_bug.cgi?id=205822 24 25 Reviewed by Brent Fulgham. 26 27 The font names ".SF NS Text" and ".SF NS Display" are not valid on iOS, and should not be prewarmed. 28 29 No new tests, no behavior change. 30 31 * platform/graphics/cocoa/FontCacheCoreText.cpp: 32 (WebCore::FontCache::prewarmGlobally): 33 1 34 2020-01-14 Alan Coon <alancoon@apple.com> 2 35 -
branches/safari-609-branch/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
r254585 r254589 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.