Bug 243911 - User stylesheet doesn't always override fonts
Summary: User stylesheet doesn't always override fonts
Status: RESOLVED UNMAINTAINED
Alias: None
Product: rekonq
Classification: Applications
Component: general (show other bugs)
Version: 0.5.0
Platform: Exherbo Linux
: NOR normal
Target Milestone: ---
Assignee: Andrea Diamantini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 05:03 UTC by Sterling X. Winter
Modified: 2018-05-11 16:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
User stylesheet in Rekonq vs. Konqueror (223.67 KB, image/jpeg)
2010-07-08 05:03 UTC, Sterling X. Winter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.