Changeset 247699 in webkit
- Timestamp:
- Jul 22, 2019 1:24:05 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r247698 r247699 1 2019-07-22 Per Arne Vollan <pvollan@apple.com> 2 3 Prewarmed font does not find any matches 4 https://bugs.webkit.org/show_bug.cgi?id=200007 5 6 Reviewed by Brent Fulgham. 7 8 Prewarming the font name 'SF Pro Text' does not find any matches. The font name ".SF NS Text/Display" 9 should be used instead. Also add 'Lucida Grande' to the list of prewarmed font, since it is used as 10 fallback font in many cases. 11 12 No new tests, covered by existing tests. 13 14 * platform/graphics/cocoa/FontCacheCoreText.cpp: 15 (WebCore::fontFamiliesForPrewarming): 16 1 17 2019-07-22 Youenn Fablet <youenn@apple.com> 2 18 -
trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
r247626 r247699 1653 1653 { 1654 1654 static NeverDestroyed<Vector<String>> families = std::initializer_list<String> { 1655 ".SF NS Text"_s, 1656 ".SF NS Display"_s, 1655 1657 "Arial"_s, 1656 1658 "Helvetica"_s, 1657 1659 "Helvetica Neue"_s, 1658 " SF Pro Text"_s,1660 "Lucida Grande"_s, 1659 1661 "Times"_s, 1660 1662 "Times New Roman"_s,
Note: See TracChangeset
for help on using the changeset viewer.