[iOS] Support bold and thin italicized system fonts
[WebKit-https.git] / Source / WebCore / ChangeLog
index 52f29ed..16b1e98 100644 (file)
@@ -1,3 +1,22 @@
+2015-07-01  Myles C. Maxfield  <mmaxfield@apple.com>
+
+        [iOS] Support bold and thin italicized system fonts
+        https://bugs.webkit.org/show_bug.cgi?id=146463
+        <rdar://problem/20948885>
+
+        Reviewed by Darin Adler.
+
+        Add the italicized attribute to font descriptors.
+
+        Test: fast/text/weighted-italicized-system-font.html
+
+        * platform/graphics/ios/FontCacheIOS.mm:
+        (WebCore::createCTFontWithFamilyNameAndWeight):
+        * platform/graphics/mac/FontCacheMac.mm:
+        (WebCore::fontWithFamilySpecialCase):
+        (WebCore::fontWithFamily):
+        * platform/spi/cocoa/CoreTextSPI.h:
+
 2015-07-01  Alex Christensen  <achristensen@webkit.org>
 
         Fix ANGLE Windows build after r186169.