Changing default
Posted by: Ken T.
Date: September 29, 2001 04:17PM

I just want to be able to change the default display font from Times New Roman to something else

Re: Changing default
Posted by: Andrew
Date: September 29, 2001 06:50PM

Ken,

If you want to simply change the default font from Times New Roman to your default Sans-Serif font, Arial, do the following:

1. Open up your favorite text editor. Notepad will do.

2. Copy the following line into a new file:

user_pref("font.default", "sans-serif");

3. Save the file as:

user.js

to your *.slt directory located here:

Profiles\default\*.slt

This link will tell you where that directory is located for your OS:

http://kmeleon.sourceforge.net/docs/faq.php#favorites1

Now, the next time that K-Meleon starts, this preference is copied over into your prefs.js file, which is located in the same directory. Technically, you could add that line to prefs.js but by locating it in user.js, you don't have to worry about it getting hosed if the prefs.js file is overwritten. If you have done this properly, your default font should be your Sans-Serif font [CSS might override that in some cases - not sure].

If instead, you want to change your default Serif font from Times New Roman to say, Georgia, add the following line instead:

user_pref("font.name.serif.x-western", "Georgia");

I hope that helps.

Andrew

Re: Changing default
Posted by: Andrew
Date: October 01, 2001 05:21AM

For those interested in changing this and other settings, see the following new Docs:

http://kmeleon.sourceforge.net/docs/custompref.php

http://kmeleon.sourceforge.net/docs/mozpref.php

K-Meleon forum is powered by Phorum.