15

I am using Windows 7 and have set font smoothing to ClearType. However, Japanese characters display very roughly throughout the operating system. What can I do so they are rendered smoothly like other characters?

Here is a sample of what they currently look like:

screenshot

4
  • Are Japanese characters rendered roughly only in your web browser? If so, which browser are you using?
    – iglvzx
    Mar 13, 2012 at 6:19
  • @iglvzx, I use Chrome. But the problem is not limited to Chrome. Wordpad, Word etc behave the same. Mar 13, 2012 at 6:27
  • Ok. Thanks for clarifying. I will add this information to your question. :)
    – iglvzx
    Mar 13, 2012 at 6:27
  • by the way, it is not the "hiragana" that remembered something, it is you who remembered the hiragana. the correct phrase is "ひらがなを覚えた"
    – v.oddou
    Dec 17, 2014 at 9:03

3 Answers 3

6

The problem is that traditional Japanese fonts (MS Gothic, MS PGothic, MS Mincho…) also include bitmap fonts in small sizes in addition to outline ones (typically for characters 22pt and less). These bitmaps cannot be applied any type of smoothing, so it results in a crazily ugly aliasing, eye hurting appearance. There are several solutions for this:

Steps to strip bitmaps from fonts:

  • Copy the fonts files you need to strip, for example msgothic.ttc, from \Windows\Fonts into a folder

  • Download the BREAKTTC tool from MS TrueType SDK

  • Open a command prompt in the folder you copied the fonts to and type BREAKTTC msgothic.ttc. After that you can see all the ttf files in the ttc are extracted as FONT00.ttf ~ FONTxx.ttf

    breakttc

  • Now you to download the FontTools from Microsoft Typography. After that extract the SBIT32 tool which is needed to remove the EBDT (Embedded bitmap data table). The command syntax is as below

    SBIT32 -d <original font file> <metric file> [output file]
    

    You need to run this for each bitmap sizes (typically from 7 to 22) to remove all bitmaps, which is rather clumsy if typing by hand. An automated script would be of great help.

    @echo off
    copy %1 %2 >nul
    for /l %%i in ( 7,1,22 ) do (
        echo PPEM %%i > mtemp.txt
        echo END >> mtemp.txt
        sbit32 -d %2 mtemp.txt ftemp.ttf  
        del %2
        ren ftemp.ttf %2
    )
    del mtemp.txt
    

    Save the above content as rmEBDT.bat and run the following commands (3 for MS Gothic because we have 3 extracted ttf files)

    rmEBDT font00.ttf msgot2.ttf 
    rmEBDT font01.ttf msgotp2.ttf 
    rmEBDT font02.ttf msuigot2.ttf
    
  • Now we have stripped font files, we can rename those font names (which is independent from font file names), like to MS Gothic NB - No Bitmap, to use alongside with the old fonts, or just use the old name and replace the original ttc file, which is a little tricker.
    Either way we need to pack them again to a ttc file in order to install back to Windows. Use the tool MAKETTC which is in the same folder as BREAKTTC or you can also find them here. Run

    MAKETTC <TTC output file name> <TTF file 1> <TTF file 2> ...
    
  • After getting the ttc file, if you have changed the font name you just directly copy them to \Windows\Fonts to register it as a new font and change the default font in UI, apps... to that font. If you want to use the old font name you must boot from another OS like Linux live USB or Windows PE because Windows always load MS Gothic at boot time.

5
  • Five posts in three hours by a new user on this site recommending the same program. Looks too spammy. Please don't do that. Are you affiliated with the software developers in some way?
    – Daniel Beck
    Aug 4, 2013 at 7:52
  • Just answer a question and then find out some related question so I answer them too. Is that prohibited?
    – phuclv
    Aug 9, 2013 at 1:12
  • No. Unfortunately there are spammers, and their behavior is basically identical, advertising their own software on a bunch of similar questions. Moderators then need to determine whether it's legitimate advice, or spam. We sometimes make mistakes though and consider enthusiasts to be spammers. The previous comment was more of a suggestion to prevent your posts from mistakenly getting deleted.
    – Daniel Beck
    Aug 9, 2013 at 6:58
  • It would sure be nice if Microsoft would just provide an option to disable the use of the bitmaps in those fonts.
    – Wyck
    Apr 6, 2023 at 4:18
  • @Wyck they did that in Windows 8 RC. I don't know if they removed the bitmaps or ignored them but texts are crisp, beautiful and clear. But somehow in the official release the bitmaps are used again and the text came back ugly as a pain in the *ss
    – phuclv
    Apr 7, 2023 at 18:18
2

This depends on the font. Different fonts have different characteristics, including different behavior in font smoothing. You might be using a font in the Mincho group, as they are commonly used as default fonts and they may have problems like this; Gothic fonts may work better on screen.

2
  • 1
    How do I switch my font style for Japanese characters alone? Mar 13, 2012 at 6:52
  • 1
    @missingfaktor, that depends on the program being used; and normally you should not switch font style by language but instead select a font that is acceptable for all characters you need. When using Word, this might be Arial Unicode MS, if it’s OK to use such a sans-serif font of simple design–it has a very wide character coverage. Mar 13, 2012 at 6:58
2

Meiryo, the default Japanese font for Windows Vista/7, as well as some other Japanese fonts contain bitmap (pixel) characters at small sizes.

Going back to your example, I was able to confirm this using Firefox:

  • ClearType (hinted) characters:

    hinted

  • Smaller font-size; bitmap characters:

    bitmap


By default, Firefox uses the following settings for Japanese fonts:

font settings


So, the solution lies in using larger font sizes or replacing the default Japanese font uses in an application with one that supports hinted characters for all sizes (e.g. Arial Unicode).

To globally remap/substitute a font in Windows, you can modify or add Registry values under:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontSubstitutes
6
  • In my example, you can notice that Kanji are rendered smoothly, while Kana aren't. Mar 13, 2012 at 6:52
  • I assume that is due to a minor discrepancy in font size or browser settings. I used Firefox, while your example is in Google Chrome.
    – iglvzx
    Mar 13, 2012 at 7:20
  • 1
    No, Meiryo contains no bitmaps, as it was already designed for font smoothing, therefore it's always beautiful in any font sizes. You just need to change the default Japanese font to Meiryo. Only the old fonts with bitmaps are awful. It was decided that a new Japanese font was needed, as the current ones (mainly MS Gothic and MS Mincho) are incompatible with Microsoft's ClearType subpixel rendering technology[citation needed]: Meiryo is intended to increase legibility of characters on LCD screens
    – phuclv
    Jul 30, 2016 at 4:41
  • Unlike previous fonts designed for CJK environments, Meiryo contains no embedded bitmaps. To improve readability under small font sizes without using embedded bitmaps, TrueType hinting language was used for stroke-reduction. Similar technology was used on MingLiU and PMingLiU versions 5.03. en.wikipedia.org/wiki/Meiryo#Characteristics
    – phuclv
    Jul 30, 2016 at 4:43
  • absolutely, I've experienced that Meiryo actually fixes everything. I don't know why windows (even 10) in 2017 still uses 1990's tech by default and is happy with it.
    – v.oddou
    Jun 6, 2017 at 7:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .