https://bugs.kde.org/show_bug.cgi?id=490866

--- Comment #7 from Freddie Witherden <fred...@witherden.org> ---
(In reply to Maik Qualmann from comment #6)
> Hmm ok, I see the different text spacing. But text size is the same. I have
> no idea what is causing it at the moment. We are not doing anything
> different than Gwenview or Dolphin.

That's what they all say ;)

In digikam we have in main.cpp:

   
QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::RoundPreferFloor);

which breaks fractional scaling since 1.5 => 1 which gives the incorrect
spacing.  This is not a line you'll find in Dolphin.  Thankfully, Qt lets us
override this with an environment variable back to the default.  Running:

QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough digikam

and life is (mostly) good again.  It is certainly not a panacea; rendering code
which is not prepared for fractional scale factors is likely to show issues
(and this appears to be why the line was introduced in the first place).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to