Bug 448344 - Some CJK letters are not using the correct font in Krita's Android version
Summary: Some CJK letters are not using the correct font in Krita's Android version
Status: ASSIGNED
Alias: None
Product: krita
Classification: Applications
Component: Translation (show other bugs)
Version: 5.0.2
Platform: Android Android 11.x
: NOR normal
Target Milestone: ---
Assignee: sh_zam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-13 03:58 UTC by Tyson Tan
Modified: 2022-02-01 18:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
The CJK letters 日 中 are not using the correct font in Krita's Android version (368.70 KB, image/jpeg)
2022-01-13 03:58 UTC, Tyson Tan
Details
The CJK letter 上 is not using the correct font (400.88 KB, image/jpeg)
2022-01-13 03:59 UTC, Tyson Tan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2022-01-13 03:58:09 UTC
Created attachment 145391 [details]
The CJK letters 日 中 are not using the correct font in Krita's Android version

Some CJK letters are not using the correct font in Krita's Android version. I suppose we should assign Noto-Sans-CJK fonts as the default fonts for CJK translation.
Comment 1 Tyson Tan 2022-01-13 03:59:54 UTC
Created attachment 145392 [details]
The CJK letter 上 is not using the correct font

In this screenshot of Create New Document dialogue, the CJK letter 上 from 添加上述尺寸到预设 is not using the correct font.
Comment 2 Tyson Tan 2022-01-13 04:04:37 UTC
It is also possible that Krita is using a wrong priority order of the subset of the Noto-Sans-CJK fonfamily. The font family has 5 language variants (HK/JP/KR/SC/TC), each with 7 weight styles. 

It looks to me that Krita is using a Thin/Light variant for those affected letters.
Comment 3 Tyson Tan 2022-01-13 04:07:08 UTC
Or, it is also possible that Krita sees the OS's default font (which is not Noto-Sans-CJK on my phone) as higher priority.

But it's still weird that only a few letters are affected.
Comment 4 Alvin Wong 2022-01-13 12:01:38 UTC
I can't reproduce this on my device (running LineageOS 15.1). CJK text renders fine for me here with 5.0.2.
Comment 5 Tyson Tan 2022-01-14 03:35:22 UTC
I'm using MIUI 12.5 International on a Mi 10T Pro (Hong Kong version). Language is set to Simplified Chinese. I'm pretty sure MIUI is using a unique default font other than Noto-Sans-CJK, maybe 小米兰亭 Pro. There is no way to customize MIUI's system font to confirm though. I'm also sure that all major Chinese manufactures has their unique default font as well.

It's also possible that MIUI International ROM has some weird font issues, the font style looks less coherent than the mainland version. I will test this later on a mainland Chinese MIUI.
Comment 6 Tyson Tan 2022-01-14 04:28:43 UTC
I was able to get the fonts displayed correctly by using Configure Krita > General > Window > Custom fonts.