General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Font change
Posted by: Mister M
Date: July 24, 2010 11:27PM

Hello. I installed 1.5.4 yesterday and I've been unable to change the font to bold (if that's the correct term).

I'm trying to get my type to render like in my IE7. I've supplied screen shots to show how they are both currently rendering.

I'd be grateful if someone could advise me how to accomplish this (changing the fonts in the preferances doesn't seem to do anything). I hope this is acceptable.

(Click on images)

This is how K-Meleon is rendered:


This is how IE7 is rendered:




Edited 1 time(s). Last edit at 07/24/2010 11:47PM by Mister M.

Options: ReplyQuote
Re: Font change
Posted by: JamesD
Date: July 24, 2010 11:57PM

Try menu item Preferences - Page Display - Fonts.

Options: ReplyQuote
Re: Font change
Posted by: siria
Date: July 25, 2010 12:20AM

That's a bit complicated, but on the other hand very flexible, you need CSS for this:

Edit > Configuration > User-Defined stylesheet

Add this, save, then restart browser and loader:
* {font-weight: bold !important;}

The disadvantage with user.css is that you always need to restart the browser for changes, that's why I'm cheating and adding such stuff to the adblock.css, which works without restart, just a short toggle on/off of the Adblock, for which I have a button :cool:

Configuration: Edit > Configuration > Ad-Blocking stylesheet
On/Off: Tools > Privacy > Block Advertisement
... or: Edit > Preferences (F2) > Content Filters > CSS-Ad-Blocking

By the way you can restrict CSS to certain URLs if you like (I love this! grinning smiley)
Syntax Example:
@-moz-document url-prefix(http://www.google.com) {
* {font-weight: bold !important;}
}




Edited 1 time(s). Last edit at 07/25/2010 12:25AM by siria.

Options: ReplyQuote
Re: Font change
Posted by: Mister M
Date: July 25, 2010 12:38AM

Quote
siria
Add this, save, then restart browser and loader:
* {font-weight: bold !important;}

Thanks for the code. Unfortunately, I have no idea how to add it to the text. Sorry, but I'm completely new to this program. I can see the code examples in the existing userContent text file, but where do I add the actual text to accomplish this?

Thanks.

Options: ReplyQuote
Re: Font change
Posted by: disrupted
Date: July 25, 2010 12:54AM

the differences between the 2 screenshots has nothing to do with font-weight (bold vs normal).

IE is rendering text with cleartype..your other browsers are not, what you need to do is to enable cleartype system wide and not just for ie.this can be done in your system display>themes>effects>enable cleartype

more help there
http://samanathon.com/love-cleartype-in-ie7-use-it-in-firefox-and-everywhere-else/
http://www.technixupdate.com/how-to-make-font-render-smoothly-in-firefox-just-like-safari-and-ie7/

Options: ReplyQuote
Re: Font change
Posted by: Mister M
Date: July 25, 2010 01:44AM

Quote
disrupted
the differences between the 2 screenshots has nothing to do with font-weight (bold vs normal).

IE is rendering text with cleartype..your other browsers are not, what you need to do is to enable cleartype system wide and not just for ie.this can be done in your system display>themes>effects>enable cleartype

more help there
http://samanathon.com/love-cleartype-in-ie7-use-it-in-firefox-and-everywhere-else/
http://www.technixupdate.com/how-to-make-font-render-smoothly-in-firefox-just-like-safari-and-ie7/

That did the trick, perfectly! grinning smiley Thank you again, disrupted.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.