Bug 238305

Summary: KDE default fonts not used
Product: [Unmaintained] rekonq Reporter: Jonathan Riddell <jr>
Component: generalAssignee: Andrea Diamantini <adjam7>
Status: RESOLVED FIXED    
Severity: normal CC: kamikazow, lindsay.mathieson
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jonathan Riddell 2010-05-20 16:37:26 UTC
Version:            (using KDE 4.4.3)
OS:                Linux

rekonq does not use KDE's default fonts by default.  It default to "Arial" and "Courier New" when my defaults
Comment 1 Jonathan Riddell 2010-05-20 16:38:04 UTC
rekonq does not use KDE's default fonts by default.  It default to "Arial" and
"Courier New" when my defaults are "Sans Serif" and "Serif".  rekonq should trust KDE in its font choices, there is probably a good reason why they are chosen.
Comment 2 Andrea Diamantini 2010-05-24 10:51:39 UTC
While font situation has been improved in 0.4.71, the default font decision is left to QtWebkit default fonts.
So, while rekonq uses KDE default fonts in its simple UI, it chooses QtWebkit fonts by default on pages.
Isn't this reasonable?
Comment 3 Blackpaw 2010-05-26 01:05:35 UTC
Some correct me if I'm wrong, but I ebelive Arial, Courier New and Times New Roman are MS fonts - odds are they won't be installed on most KDE boxes.
Comment 4 markuss 2010-05-26 01:12:11 UTC
(In reply to comment #2)

> So, while rekonq uses KDE default fonts in its simple UI, it chooses QtWebkit
> fonts by default on pages.
> Isn't this reasonable?

I, too, think that Rekonq should use SC's fonts as default. QtWebKit was not primarily designed with KDE in mind which is why some of its design decisions should be changed by KDE apps.
That said, Rekonq should still offer to override SC's defined fonts (hence not remove the prefpane). After all, a monospace font on a website may have a different purpose than a monospace font in Konsole.