How to avoid CJK font when use Dolphin Jetpack on Nexus7

Last edited on Tue, 2021-12-28 14:48
nexus7 fallback_fonts.xml

I tried Dolphin Jetpack, which is said that it makes Dolphin browser extremely fast.

Dolphin Jetpack uses its own improved Webkit rendering engine. They say that Dolphin browser with Jetpack is 5x-10x faster than Android browser and 2x faster than Chrome.

I certainly feel Dolphin browser become much faster. I haven't use Dolphin browser after Chrome came, but I want to use Dolphin again.

However, on Nexus7, Dolphin browser with Jetpack uses CJK font instead of Japanese font. CJK font is a package of Chinese, Japanese, and Korean fonts. It contains 30K characters into only 3Mbyte size. But it is not appropriate for displaying Japanese. It's not good to use CJK font becuase Nexus7 has a beautiful Japanese font.

I fonud a reason by checking the Internet. I have to fix the order of fonts in the fallback_fonts.xml.

There is a file named fallback_fonts.xml under the /system/etc, which describes font name to be applied. The written order of the fonts means priority. The last three entries of the file is AndroidEmoji.ttf, DroidSansFallback.ttf, and MTLmr3m.ttf. DroidSansFallback.ttf is CJK font, and it is written above Japanese font (MTLmr3m.ttf), and prior to it.

There is also a file named fallback_fonts-ja.xml. In this file, MTLmr3m.ttf is written above DroidSansFallback.ttf. fallback_fonts-ja.xml may be used when LOCALE value is ja_JP, but when using the Dolphin Jetpack, fallcack_fonts.xlm is used with unknown reason.

So, I changed the order of the last two entries of fallback_fonts.xml. Then beautiful Motoya font (Japanese) displayed even Dolphin Jetpack is on.

You must have root privileges to rewrite fallback_fonts.xml.