Changeset 227995 in webkit
- Timestamp:
- Feb 1, 2018 8:46:23 PM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r227989 r227995 1 2018-02-01 Myles C. Maxfield <mmaxfield@apple.com> 2 3 Test fix after r227848. 4 https://bugs.webkit.org/show_bug.cgi?id=180951 5 6 Unreviewed. 7 8 Using kCTFontNameAttribute on an in-memory font causes CTFontDescriptorCreateMatchingFontDescriptor() 9 to return nullptr. Luckily, we weren't using that attribute anyway. 10 11 Covered by existing tests. 12 13 * platform/graphics/cocoa/FontCacheCoreText.cpp: 14 (WebCore::mandatoryAttributesForUserInstalledFonts): 15 1 16 2018-02-01 Youenn Fablet <youenn@apple.com> 2 17 -
trunk/Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp
r227848 r227995 1433 1433 #if CAN_DISALLOW_USER_INSTALLED_FONTS 1434 1434 if (allowUserInstalledFonts == AllowUserInstalledFonts::No) { 1435 CFTypeRef mandatoryAttributesValues[] = { kCTFontFamilyNameAttribute, kCTFontPostScriptNameAttribute, kCTFont NameAttribute, kCTFontEnabledAttribute, kCTFontUserInstalledAttribute, kCTFontFallbackOptionAttribute };1435 CFTypeRef mandatoryAttributesValues[] = { kCTFontFamilyNameAttribute, kCTFontPostScriptNameAttribute, kCTFontEnabledAttribute, kCTFontUserInstalledAttribute, kCTFontFallbackOptionAttribute }; 1436 1436 return adoptCF(CFSetCreate(kCFAllocatorDefault, mandatoryAttributesValues, WTF_ARRAY_LENGTH(mandatoryAttributesValues), &kCFTypeSetCallBacks)); 1437 1437 }
Note: See TracChangeset
for help on using the changeset viewer.