Bug 243911

Summary: User stylesheet doesn't always override fonts
Product: [Applications] rekonq Reporter: Sterling X. Winter <sterling.winter>
Component: generalAssignee: Andrea Diamantini <adjam7>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: keripix, leusmag
Priority: NOR    
Version: 0.5.0   
Target Milestone: ---   
Platform: Exherbo   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: User stylesheet in Rekonq vs. Konqueror

Description Sterling X. Winter 2010-07-08 05:03:37 UTC
Created attachment 48677 [details]
User stylesheet in Rekonq vs. Konqueror

I have a user stylesheet for overriding webpage-specified fonts with my preferred fonts but on some websites (ironically, on both rekonq.sourceforge.net and adjamblog.wordpress.com) Rekonq doesn't seem to apply it properly. I suspect it's being applied before all other stylesheets and JavaScripts have been fully processed for a page.

Here's my stylesheet. It uses the conventional CSS approach to overriding fonts:


* {
    font-family: "DejaVu Sans" !important;
}
code, kbd, pre, samp, tt, var {
    font-family: "DejaVu Sans Mono" !important;
}


With that same user stylesheet Konqueror and Firefox always override fonts, even when displaying pages which use CSS or JavaScript hacks for font settings. (Firefox's font configuration dialog has a convenience option -- "Allow pages to choose their own fonts, instead of my selections above" -- which can be disabled to allow font overriding without the need for user stylesheets. It'd be nice to have such a convenience option in Rekonq, but I'd be happy to just have the existing user stylesheet feature working properly.)

Attached is a montage comparing Rekonq's handling of the above user stylesheet to Konqueror's handling.
Comment 1 akbar hidayat 2012-07-22 22:25:59 UTC
I have tried this approach on the rekonq version 1. I tried to use a different font, Ubuntu, but with the same style as above, and it works.
Comment 2 Andrea Diamantini 2012-07-23 07:50:02 UTC
Nice to hear, good :D
Comment 3 Nate Graham 2018-05-11 16:20:44 UTC
Development on Rekonq ceased four years ago, and it has been unmaintained since then. KDE recommends using Falkon instead.