Calendar
Recent posts
- Priority Queue for .Net
- New download: Ookii.Dialogs
- Randomizing a list with LINQ
- The effects of x64 on your .Net application
- .Net Remoting and IPv6
- New year trip to Mt. Haguro
- Improving Japanese fonts in Internet Explorer and Firefox on Vista
- Enumerating the lines of a file
- FormatC source code formatting
- Find As You Type and IE8 beta 2
Post categories
Syndication
Search
Improving Japanese fonts in Internet Explorer and Firefox on Vista
If you've visited Japanese sites, you're probably used to the text looking something like this:

The font used here is called MS PGothic. It's quite an old font, and it actually uses bitmaps for smaller sizes like that one. This means there's no anti-aliasing at all, including ClearType. So Japanese text ends up looking a lot less nice than western text, especially if you've got ClearType enabled (which you probably do; it's on by default in Vista).
Windows Vista includes a brand new, much better, Japanese font, called Meiryo, which is optimized for screen reading and is fully ClearType enabled. Unfortunately, MS PGothic is still the default Japanese font in both Internet Explorer and Firefox.
Fortunately, we can change that by doing the following:
- Click Tools, Internet Options;
- Click the Fonts button;
- Under Language script, choose Japanese;
- Under Webpage font, choose Meiryo;

- Now, under Language script, choose Chinese (simplified);
- Again, set Webpage font to Meiryo.
You must do this for both Japanese and Chinese, otherwise not all characters will be displayed with the new font. Now your fonts should look something like this:

You can achieve the same effect in Firefox. The following instructions apply to Firefox 3:
- Click Tools, Options;
- Click Content;
- Under Fonts & Colors, click Advanced;
- Set Fonts for to Japanese;
- Set the desired fonts to Meiryo;
Of course this only applies to sites that don't specify a font. If a webpage specifies in the HTML or CSS that it wants t use PGothic or another Japanese font, it will use that instead of your selection. In Firefox you can choose to have your choice override whatever font the page specifies; in IE, you cannot.
Category: General computing
Posted on 2008-10-10 09:32:00 UTC.

Comments
how to set the Japanese font.
Posted by manhquan on 2008-10-29 10:30:14 UTC
thanks for the tip. unfortunately, it still looks like ass compared to mac osx.
Posted by bart on 2008-11-22 16:38:46 UTC
Thanks for the tip the text looks much better now and works very nice in my firfox.
Posted by Search Engine Optimization on 2008-12-15 20:47:58 UTC
Thanks so much! Works like a charm :)
Posted by Watashi on 2009-02-04 12:40:31 UTC