aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4compilerscanfunctions.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2025-04-07 14:58:09 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2025-04-24 14:12:54 +0200
commit9a5e2a72a1b696dbd935c6dd656c1520dc14952a (patch)
treef553f11013b677ea87ad6fed1f24dea9be4085dd /src/qml/compiler/qv4compilerscanfunctions.cpp
parentafc47073617063daec9e961a8f582044c131fa6e (diff)
Respect target DPR when drawing text objects in QQuickTextNodeEngine
Instead of passing the DPR through as function arguments to each addFoo function we set the DPR on the QSGInternalTextNode and QQuickTextNodeEngine. We could have solved this by pulling the DPR from the QSGRootNode's renderer, but there might be more than one of them, and we're missing a setDevicePixelRatio in QSGAbstractRenderer (it's only exposed one level above, in QSGRenderer). Pick-to: 6.9 Fixes: QTBUG-127913 Change-Id: I48081d441259f0713cdc5f784eede6777b5fb601 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compilerscanfunctions.cpp')
0 files changed, 0 insertions, 0 deletions