textViewportLayoutController(_:configureRenderingSurfaceFor:)
NSTextViewportLayoutControllerDelegate method that the framework calls when the layout controller lays out a text layout fragment in the UI. Requires a call to super.
Declaration
func textViewportLayoutController(_ textViewportLayoutController: NSTextViewportLayoutController, configureRenderingSurfaceFor textLayoutFragment: NSTextLayoutFragment)