Added UniCharProvider-based ways to create a CTTypeSetter and a CTLine, to be used...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Oct 2010 18:28:58 +0000 (18:28 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Oct 2010 18:28:58 +0000 (18:28 +0000)
upcoming ComplexTextController patch.

Reviewed by John Sullivan.

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@70791 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitLibraries/ChangeLog
WebKitLibraries/WebKitSystemInterface.h
WebKitLibraries/libWebKitSystemInterfaceLeopard.a
WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a

index 0f9bce188fbc08e5c893591ab8a863ea3c55ae6a..b24899e873599f160139a525a86e33e2687a3066 100644 (file)
@@ -1,3 +1,14 @@
+2010-10-28  Dan Bernstein  <mitz@apple.com>
+
+        Reviewed by John Sullivan.
+
+        Added UniCharProvider-based ways to create a CTTypeSetter and a CTLine, to be used in an
+        upcoming ComplexTextController patch.
+
+        * WebKitSystemInterface.h:
+        * libWebKitSystemInterfaceLeopard.a:
+        * libWebKitSystemInterfaceSnowLeopard.a:
+
 2010-10-28  Ivan Krstić  <ike@apple.com>
 
         Reviewed by Mark Rowe.
 2010-10-28  Ivan Krstić  <ike@apple.com>
 
         Reviewed by Mark Rowe.
index 01f408bd4a6d31428c2dcb7182d22fbcf4f84a70..7ec07fb2a763c1a54e1a84e37857d19d176a47f8 100644 (file)
@@ -154,6 +154,11 @@ ATSLayoutRecord *WKGetGlyphVectorFirstRecord(WKGlyphVectorRef glyphVector);
 size_t WKGetGlyphVectorRecordSize(WKGlyphVectorRef glyphVector);
 #endif
 
 size_t WKGetGlyphVectorRecordSize(WKGlyphVectorRef glyphVector);
 #endif
 
+CTLineRef WKCreateCTLineWithUniCharProvider(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*);
+#if !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD)
+CTTypesetterRef WKCreateCTTypesetterWithUniCharProviderAndOptions(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCount, CFDictionaryRef* attributes, void*), void (*dispose)(const UniChar* chars, void*), void*, CFDictionaryRef options);
+#endif
+
 #ifndef __LP64__
 NSEvent *WKCreateNSEventWithCarbonEvent(EventRef eventRef);
 NSEvent *WKCreateNSEventWithCarbonMouseMoveEvent(EventRef inEvent, NSWindow *window);
 #ifndef __LP64__
 NSEvent *WKCreateNSEventWithCarbonEvent(EventRef eventRef);
 NSEvent *WKCreateNSEventWithCarbonMouseMoveEvent(EventRef inEvent, NSWindow *window);
index b3fec5e7a71b96c47f40082eb449c03134c20b7e..979989a3ab3e64b94bffb825b50e66bb0a1c913f 100644 (file)
Binary files a/WebKitLibraries/libWebKitSystemInterfaceLeopard.a and b/WebKitLibraries/libWebKitSystemInterfaceLeopard.a differ
index 53f60b4e196fe5a0b4ae98668938ca32b4238dda..5bc2b65db4fe3a9bfb99f94c87e4a3c5f8ba6aed 100644 (file)
Binary files a/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a and b/WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a differ