Skip to content

CoreText iOS xcode9 beta3

Vincent Dondain edited this page Jul 10, 2017 · 2 revisions

#CoreText.framework

diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h	2017-06-12 01:08:46.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h	2017-06-27 22:24:00.000000000 -0400
@@ -288,9 +288,10 @@
 
     @discussion This is a convenience call, since the line could be drawn
                 run-by-run by getting the glyph runs and accessing the glyphs out
-                of them. Note that this call may leave the graphics context in
-                any state and does not flush the context after the draw
-                operation.
+                of them. This call may leave the graphics context in any state and
+                does not flush the context after drawing. This call also expects
+                a text matrix with `y` values increasing from bottom to top; a
+                flipped text matrix may result in misplaced diacritics.
 
     @param      line
                 The line that you want to draw.
diff -ruN /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h
--- /Applications/Xcode9-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h	2017-06-14 04:40:49.000000000 -0400
+++ /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h	2017-06-29 02:23:35.000000000 -0400
@@ -2,7 +2,7 @@
  *  CTRun.h
  *  CoreText
  *
- *  Copyright (c) 2004-2015 Apple Inc. All rights reserved.
+ *  Copyright (c) 2004-2017 Apple Inc. All rights reserved.
  *
  */
 
@@ -451,9 +451,11 @@
                 accessing its glyphs, positions, and text matrix. Unlike when
                 drawing the entire line containing the run with CTLineDraw, the
                 run's underline (if any) will not be drawn, since the underline's
-                appearance may depend on other runs in the line. Note that this
-                call may leave the graphics context in any state and does not
-                flush the context after the draw operation.
+                appearance may depend on other runs in the line. This call may
+                leave the graphics context in any state and does not flush the
+                context after drawing. This call also expects a text matrix with
+                `y` values increasing from bottom to top; a flipped text matrix
+                may result in misplaced diacritics.
 
     @param      run
                 The run that you want to draw.
Clone this wiki locally