Bug 319203 - kmail setting for minimum font size is not respected in received HTML mail
Summary: kmail setting for minimum font size is not respected in received HTML mail
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 4.10.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-02 04:10 UTC by Manuel Amador (Rudd-O)
Modified: 2016-09-17 16:43 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of a HTML mail with multiple font size settings (151.87 KB, image/jpeg)
2015-01-15 09:34 UTC, Martin Zbořil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Amador (Rudd-O) 2013-05-02 04:10:54 UTC
Regardless of the minimum font size specified in the settings, HTML messages are still shown with a microscopic font.  KControl font scaling setting (Force font DPI) is also simply not respected in that case.

Text plain mail is fine.

Reproducible: Always

Steps to Reproduce:
1. open kmail in a computer with a TV 10 feet from you and font DPI scaled to actually see the text
2.open html mail message
3.stab eyes out because you can't read email
Actual Results:  
"normal" (that is, relatively microscopic) fonts

Expected Results:  
font sizes scaled according to the rest of the DE.
Comment 1 masaj 2013-12-01 22:37:08 UTC
i can confirm the issue also on my QHD display. I can increase the size of html email, but the mail headers are very big then, covering half of the screen..
Comment 2 Martin Zbořil 2015-01-13 16:01:29 UTC
bump, this way, I am thinking about returning my new QHD notebook..
Comment 3 Laurent Montel 2015-01-15 08:49:37 UTC
Screenshot please
Comment 4 Martin Zbořil 2015-01-15 09:34:31 UTC
Created attachment 90412 [details]
screenshot of a HTML mail with multiple font size settings

Hello Laurent,

here it is, I wont be able to easily share the message with you without removing most of the content, but the styles would be fine. if you need it, please tell me.

Thanks!
Comment 5 Laurent Montel 2015-01-15 15:42:38 UTC
Thanks for screenshot.
I would like to be able to reproduce it.
I don't know how I can fake it to reproduce it here on my computer (without buy a tv :) )
Comment 6 Laurent Montel 2015-01-15 17:36:26 UTC
Could you give me info about header theme that you used ?
I don't understand why "to:" doesn't use the same font size as address email
Comment 7 Martin Zbořil 2015-01-15 17:44:13 UTC
I am using 'Enterprise Headers'
Comment 8 Laurent Montel 2015-01-16 07:00:20 UTC
Git commit 15cb0d564f9bf18df9fda01af518050394767837 by Montel Laurent.
Committed on 16/01/2015 at 06:59.
Pushed by mlaurent into branch 'KDE/4.14'.

Start to fix Bug 319203 - kmail setting for minimum font size is not respected in received HTML mail

M  +5    -5    messageviewer/header/entrepriseheaderstyle.cpp

http://commits.kde.org/kdepim/15cb0d564f9bf18df9fda01af518050394767837
Comment 9 Laurent Montel 2015-01-16 07:05:02 UTC
I started to fix "from"/"to/"date" size.
I changed dpi on my computer and see it.
I don't force font-size as pixel but use "em" unit.
Comment 10 Laurent Montel 2015-01-16 07:10:49 UTC
it's an html reply this mail I think ?
=> html generated by kmail ?
Comment 11 Laurent Montel 2015-01-17 07:29:33 UTC
Now when we write email in composer in html we export font as "em" => it will better now.