Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[FONT][MOD] [4.4/5.0] Japanese Unicode Fallback/Han Unification Default

OP epithetic

9th June 2014, 10:22 AM   |  #1  
epithetic's Avatar
OP Senior Member
Thanks Meter: 66
 
102 posts
Join Date:Joined: May 2012
More
If you don't know what the title is about this is probably irrelevant to you If,on the other hand, you're reading Japanese text on android you will have noticed that characters default to Chinese variants for unified characters with no obvious way to change that (short of changing the system locale). This problem goes way back on android and I know I'm not the only one bothered by this (see this person from 2011). Feel free to read up on why this is happening or see examples here.

This can easily be fixed by installing and inserting the Japanese version of DroidSans in the font fallback order, which I've been doing manually for a while but is a bit of a hassle if you like to flash or update roms as it will involve doing just that every single time. Hence I've made a flashable zip for those who are lazy like me or don't know how to/are reluctant to edit the files themselves.

Update: Font handling and default fonts have slightly changed with Lollipop, so here is a new flashable zip for those versions going forward (NotoSans fallback). What this does is change the fallback order for both fonts.xml and fallback_fonts.xml, as well as while we're at it install a complete version of Google's Japanese NotoSans font (the one in system/fonts by default is missing kana, leading to inconsistent rendering).

tl;dr

Before:


4.4/DroidSans

After:


4.4/DroidSans


5.x/NotoSans

Should work on most devices and ROMs.

Download & flash DroidSansFallback for Android 4.4/Kitkat

Download & flash NotoSansFallback for Android 5.x/Lollipop



Enjoy!
Last edited by epithetic; 5th December 2014 at 12:45 AM.
The Following 4 Users Say Thank You to epithetic For This Useful Post: [ View ]
5th December 2014, 12:45 AM   |  #2  
epithetic's Avatar
OP Senior Member
Thanks Meter: 66
 
102 posts
Join Date:Joined: May 2012
More
Updated with flashable zip for Lollipop.
5th December 2014, 04:18 AM   |  #3  
Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Mar 2011
More
Thanks so much for sharing this! I've been doing the same thing since I moved to Android. It's nice to have a simple way of doing this. I was just contemplating moving to Cyanogen nightlies but was hesitating because I'd have to fix the font order every time.

I'm just wondering though, why DroidSans and not the MTLmr3m font that is included with stock?
5th December 2014, 06:53 AM   |  #4  
epithetic's Avatar
OP Senior Member
Thanks Meter: 66
 
102 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by muddog

Thanks so much for sharing this! I've been doing the same thing since I moved to Android. It's nice to have a simple way of doing this. I was just contemplating moving to Cyanogen nightlies but was hesitating because I'd have to fix the font order every time.

I'm just wondering though, why DroidSans and not the MTLmr3m font that is included with stock?

Glad this was of use! The problem with niche things like this is always they get buried and are hard to find for the rare person who actually needs them. But I figured I might as well upload it anyway.

DroidSans was the default on Kitkat for Han characters (unless you switched locale) and is clearly intended to be (being a Droid font). I'm not a fan of the rounded Motoya font; it doesn't look very appealing and doesn't mix as well with the design language as the Droid fonts. Personal opinion, of course, but if there's a Japanese DroidSans available I figured why not use that instead?

It's pretty much what Google figured with Lollipop (which does come with the Japanese NotoSans, although mystifyingly an abridged set).
Last edited by epithetic; 5th December 2014 at 07:03 AM.
The Following User Says Thank You to epithetic For This Useful Post: [ View ]
7th December 2014, 11:17 PM   |  #5  
Member
Flag Huddersfield
Thanks Meter: 15
 
46 posts
Join Date:Joined: Mar 2010
More
Nice, was looking for a way to fix this.  

有難うございます
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes