After additional testing, I found that the issue is specifically related to the system font: When using: UIFont* font = [UIFont systemFontOfSize:20]; or UIFont* font = [UIFont systemFontOfSize:20 weight:UIFontWeightRegular]; the text is rendered incorrectly (appearing right-aligned or partially clipped) on iOS 26.4. When switching to a named font such as: UIFont* font = [UIFont fontWithName:@Arial size:20]; the exact same drawing code produces correct results. I also tested multiple system font variants (including different weights and monospaced digit system fonts), and all system font variants exhibit the same incorrect behavior. This strongly suggests that the issue is related to system font rendering in combination with drawAtPoint:withAttributes: (and drawInRect:) on iOS 26.4. Important: switching to a different font is not a viable workaround for me. The affected drawing routine is a central part of multiple apps and is used in hundreds of places. Changing the font would significantly
Topic:
UI Frameworks
SubTopic:
UIKit