[akregator] [Bug 397752] HTML articles appear very small
Albert Astals Cid
bugzilla_noreply at kde.org
Mon Feb 8 23:44:46 GMT 2021
https://bugs.kde.org/show_bug.cgi?id=397752
Albert Astals Cid <aacid at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Latest Commit| |https://invent.kde.org/pim/
| |akregator/commit/b665d515cb
| |025cbad11ff129aed8fe0467d9f
| |476
Status|ASSIGNED |RESOLVED
--- Comment #11 from Albert Astals Cid <aacid at kde.org> ---
Git commit b665d515cb025cbad11ff129aed8fe0467d9f476 by Albert Astals Cid, on
behalf of Lukáš Turek.
Committed on 08/02/2021 at 23:30.
Pushed by aacid into branch 'master'.
Fix Bug 397752 - HTML articles appear very small
GrantleeViewFormatter converts user configured font size from points
to pixels, but there's no such conversion in AkregatorPart, where
QWebEngineSettings::setFontSize also expects the font size in pixels.
As a result fonts on sites using relative units (em or rem) are small,
unless DPI is close to 72. The point to pixel conversion should be
either in both places, or none. I chose the latter option, because
then the font sizes in Akregator match values in Falkon.
M +1 -1 src/formatter/grantleeviewformatter.cpp
https://invent.kde.org/pim/akregator/commit/b665d515cb025cbad11ff129aed8fe0467d9f476
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list