You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
Because CTFrameDraw (eventually) calls __CGContext::DrawGlyphRun once per line, it invokes the CG shadowing and composition stack multiple times.
If a shadow is applied, this will result in later lines shadowing earlier lines. The same applies to rendering non-opaque text: overlapping regions will be composed instead of merged into a single draw region.
Because CTFrameDraw (eventually) calls
__CGContext::DrawGlyphRunonce per line, it invokes the CG shadowing and composition stack multiple times.If a shadow is applied, this will result in later lines shadowing earlier lines. The same applies to rendering non-opaque text: overlapping regions will be composed instead of merged into a single draw region.