Improve STTextRenderView layout to match actual rendering behavior
Adjusted layout() to calculate frame height based on originY and the typographicBounds of each line, ensuring accurate dimensions that match how content is drawn in draw(). Removed use of typographicBounds(in:) for layout sizing and replaced with measured values from layout fragments. Also replaced needsLayout/layout check in image() with layoutSubtreeIfNeeded() for correctness.
M
Marcin Krzyzanowski committed
48b0ee070bf62302fd82479cf071bd3e1e9a6bcd
Parent: 27c6d57