Set `TextLayoutInfo::scale_factor` in `update_text_layout_info` (#24245)
# Objective * `TextLayoutInfo::scale_factor` should be set during `update_text_layout_info` with the value taken from the parley `Layout`, responsibility should not be with the caller. * `TextLayoutInfo::size` is scaled to be in logical pixels, this isn't consistant with other UI layout values that are kept in physical pixels. ## Solution * Update `TextLayoutInfo::scale_factor` in `update_text_layout_info` with the value taken from the parley `Layout`. * Remove the lines updating `scale_factor` and scaling `size` from the text2d and UI text systems.
I
ickshonpe committed
b4f932c7ab139f095482ecd8b845669488ddfaf7
Parent: 8c8fe5c
Committed by GitHub <noreply@github.com>
on 5/21/2026, 10:22:59 AM