[akregator] [Bug 397752] HTML articles appear very small

Lukáš Turek bugzilla_noreply at kde.org
Wed Dec 19 14:05:24 GMT 2018


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

Lukáš Turek <8an at 8an.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |8an at 8an.cz

--- Comment #1 from Lukáš Turek <8an at 8an.cz> ---
I have the same problem, but only on some feeds (websites): those that don't
set fixed font size (in pt or px), but use relative units (em or rem).

I think it happens because QWebEngineSettings::DefaultFontSize expects the size
in pixels, not points. However, GrantleeViewFormatter converts the configured
Medium Font Size from points to pixels. This inconsistency means that depending
on what Medium Font Size you set, you will either have normal fonts on websites
and huge fonts in feeds, or tiny fonts on websites and normal fonts in feeds.

The simplest fix would be to drop the conversion in GrantleeViewFormatter, but
that would change font size in feeds for current users.

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


More information about the Kdepim-bugs mailing list