Title: [195847] branches/safari-601-branch/Source/WebCore/platform/graphics/mac/FontCacheMac.mm
Revision
195847
Author
matthew_han...@apple.com
Date
2016-01-29 15:13:25 -0800 (Fri, 29 Jan 2016)

Log Message

Patch for rdar://problem/24208101

Modified Paths


Diff

Modified: branches/safari-601-branch/Source/WebCore/platform/graphics/mac/FontCacheMac.mm (195846 => 195847)


--- branches/safari-601-branch/Source/WebCore/platform/graphics/mac/FontCacheMac.mm	2016-01-29 23:12:40 UTC (rev 195846)
+++ branches/safari-601-branch/Source/WebCore/platform/graphics/mac/FontCacheMac.mm	2016-01-29 23:13:25 UTC (rev 195847)
@@ -266,7 +266,7 @@
 static NSFont *fontWithFamily(const AtomicString& family, NSFontTraitMask desiredTraits, FontWeight weight, const FontFeatureSettings& featureSettings, const FontVariantSettings& variantSettings, float size)
 {
     if (const auto& specialCase = fontWithFamilySpecialCase(family, weight, desiredTraits, size))
-        return specialCase.value();
+        return applyFontFeatureSettings((CTFontRef)specialCase.value(), nullptr, nullptr, featureSettings, variantSettings).autorelease();
 
     NSFontManager *fontManager = [NSFontManager sharedFontManager];
     NSString *availableFamily;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to