Title: [188559] trunk/Source/WebCore
Revision
188559
Author
mmaxfi...@apple.com
Date
2015-08-17 17:42:34 -0700 (Mon, 17 Aug 2015)

Log Message

[OS X] Migrate off of CTFontSetRenderingParameters()
https://bugs.webkit.org/show_bug.cgi?id=148113

Reviewed by Lucas Forschler.

Instead, use CTFontSetRenderingStyle().

No new tests because there is no behavior change.

* platform/spi/cocoa/CoreTextSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (188558 => 188559)


--- trunk/Source/WebCore/ChangeLog	2015-08-18 00:21:17 UTC (rev 188558)
+++ trunk/Source/WebCore/ChangeLog	2015-08-18 00:42:34 UTC (rev 188559)
@@ -1,3 +1,16 @@
+2015-08-17  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        [OS X] Migrate off of CTFontSetRenderingParameters()
+        https://bugs.webkit.org/show_bug.cgi?id=148113
+
+        Reviewed by Lucas Forschler.
+
+        Instead, use CTFontSetRenderingStyle().
+
+        No new tests because there is no behavior change.
+
+        * platform/spi/cocoa/CoreTextSPI.h:
+
 2015-08-17  Alex Christensen  <achristen...@webkit.org>
 
         Build Debug Suffix on Windows with CMake

Modified: trunk/Source/WebCore/platform/spi/cocoa/CoreTextSPI.h (188558 => 188559)


--- trunk/Source/WebCore/platform/spi/cocoa/CoreTextSPI.h	2015-08-18 00:21:17 UTC (rev 188558)
+++ trunk/Source/WebCore/platform/spi/cocoa/CoreTextSPI.h	2015-08-18 00:42:34 UTC (rev 188559)
@@ -66,12 +66,8 @@
 CTTypesetterRef CTTypesetterCreateWithUniCharProviderAndOptions(CTUniCharProviderCallback provide, CTUniCharDisposeCallback dispose, void* refCon, CFDictionaryRef options);
 bool CTFontGetVerticalGlyphsForCharacters(CTFontRef, const UniChar characters[], CGGlyph glyphs[], CFIndex count);
 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED > 101000
-#if defined(CORETEXT_HAS_CTFontSetRenderingStyle) && CORETEXT_HAS_CTFontSetRenderingStyle == 1
 bool CTFontSetRenderingStyle(CTFontRef, CGContextRef, CGFontRenderingStyle* originalStyle, CGSize* originalDilation);
-#else
-void CTFontSetRenderingParameters(CTFontRef, CGContextRef);
 #endif
-#endif
 
 CTFontDescriptorRef CTFontDescriptorCreateForUIType(CTFontUIFontType, CGFloat size, CFStringRef language);
 CTFontDescriptorRef CTFontDescriptorCreateWithTextStyle(CFStringRef style, CFStringRef size, CFStringRef language);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to