AAT Insertion only works in state 0

Originator:sascha.brawer
Number:rdar://44902550 Date Originated:2018-10-01
Status:Open Resolved:
Product:macOS Product Version:
Classification: Reproducible:
 
Area:
Core Graphics

CoreText on macOS 10.13.6 seems to handle AAT insertions only when the font’s finite-state machine is in state 0. See test case MORX-33 in Unicode’s test suite for text rendering engines.
https://rawgit.com/unicode-org/text-rendering-tests/master/reports/CoreText.html#MORX-33

By comparison, HarfBuzz behaves as expected:
https://rawgit.com/unicode-org/text-rendering-tests/master/reports/FreeStack.html#MORX-33

To reproduce, render the string “haha” with this test font:
https://rawgit.com/unicode-org/text-rendering-tests/master/fonts/TestMORXThirtythree.ttf

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!