1
Solved

Text font is defaulting to Chinese fonts for certain characters

Characters like 直 and 写  get rendered using Chinese font on Android. I have Japanese set as a system language and a japanese key board installed. To resolve all text in app should be explicitly tagged as japanese to prevent defaulting to Chinese encoding.

5 replies

Do you have a screenshot?  I went through a lot (A LOT) of work to get Japanese characters to render correctly, because the framework I'm using (Xamarin) has no support for it.  But I may have missed a spot in the app. Original ticket.

Oh also, could you provide your phone model and Android version, in case it's a missing font issue?

HB

My phone and android version are Oneplus 6 with Android 11 (Oxygen Os 11.1.2.2). Screen shots are from the Custom Review tab but also appear this way in the lesson text. The Kanji in question are underline in red. 

Hmm, I'm not able to reproduce that on any of my phones.  I've also verified I'm correctly setting the label TextLocale to Japan. It seems like this is likely a bug in Oxygen OS or Xamarin? In which case I don't think there's anything I can do to fix it, sorry.

HB

Thanks, I appreciate you looking into it so quickly. 

HB

https://ibb.co/52cSWbN

https://ibb.co/3drBncT

HB

Interestingly I fixed the issue by switching the system font from OnePlus Sans to Roboto. 

Interesting! I'm going to close this as solved, but I opened another ticket (https://ringotan.helprace.com/i459-when-system-font-is-oneplus-sans-chinese-encoding-is-used) to try and detect the issue in the future.