[kmail2] [Bug 316707] Use em font size rather than absolute px values in HTML messages

Michi woskimi at yahoo.de
Fri Jan 16 15:06:41 GMT 2015


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

Michi <woskimi at yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #8 from Michi <woskimi at yahoo.de> ---
Hallo Laurent,

first of all, many thanks for your fix. I can acknowledge that the receiver
gets relative font sizes now.

Flying over the code, your scaling the whole thing relative to 12pt, right? I
think this doesn't really do the trick.

On HiDPI displays you normally use very small font sizes for your normal
desktop context, in my case it used to be 6. But not just on HiDPI screens font
size 12 can't be considered the "normal" font size. People might conceive
different font sizes as their sweet spot.
When you write an email you generally would consider your "normal" screen font
as the reference. And really, I think that reference should translate into the
receiver's reference, and should denote 1em.

Therefore, I think, the scaling factor should really be taken from the
systemsettings.

Directly related to this are the font size selection widget(s) (e.g. spin box
in the composer). Working with absolute font sizes carries the wrong
information, I would say. Personally, I think it should also be a percentage
rather than a fixed font size, because the result isn't.

I also found something that might be another bug though. When you reply to or
forward a message, the composer looses the formatting (or at least the font
sizes). Should I open a new bug for this, or is this included in this one?

thanks Michi

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



More information about the Kdepim-bugs mailing list