https://bugs.documentfoundation.org/show_bug.cgi?id=141578

--- Comment #111 from Michael Weghorn <[email protected]> ---
(In reply to Heiko Tietze from comment #110)
> Without reading previous comments: 
> 
> OutputDevice::GetDPIScaleFactor() takes the variable from
> CountDPIScaleFactor() initialized via vcl/source/window/window.cxx >>
> Window::ImplInit() >> mpWindowImpl->mpFrameData->mnDPIY().
> 
> The values are different on X vs. Wayland (Arch Linux/KDE)
> 
> Scaling  DPI/X   DPI/Wayland
>  75%                96
> 100%        96      96
> 125%       120     192
> 150%       144     192
> 175%       168     192
> 200%       192     192

Values seen for Wayland are possibly related to the fact that we currently
enforce `Qt::HighDpiScaleFactorRoundingPolicy::Round` (i.e. rounding to
integers), see tdf#159915 for background.

Changing the approach to scaling might allow to change that in the future.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to