Re: How can I change the default font for a language

Jean-Marc Desperrier <[email protected]> Tue, 22 Feb 2005 16:32:31 +0100
Newsgroups gmane.comp.mozilla.internationalization
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Samphan Raruenrom wrote:
> How can I change the default font for a language (e.g. Thai) in 
> Mozilla/Firefox source?
> IIRC, the default fonts for Thai are not very appropriate after fresh 
> install.

If you want Mozilla to have better defaut, then we need to enter a bug 
in bugzilla to change the default settings to better one.

Just like was done for exemple in bug 88579 for chinese :
https://bugzilla.mozilla.org/show_bug.cgi?id=88579

This will be a platform specific bug, ie Mozilla uses different default 
values for Windows/Linux/Mac OS X, and if you are competent to give the 
correct value to use for several platforms, open several bugs.

You can see in the attachement to bug 88579 that what needs to be 
changed in the source is the content of some pref inside 
modules/libpref/src/init/all.js.
You must make the change at the right place according to the OS ; during 
compilation the file runs through a preprocessor and only the adequate 
part is keeped.