2025-02-03

I have been dreaming to change the fonts within my favorite Chinese learning app to be changed into Kaiti, since it's the best font for Chinese characters to learn. (It's like comparing TeX with .docx to me, if that's even relevant). Alas, the app I'm using is not currently developed anymore since more than 2 years ago. I have requested to the developer to consider replacing the boring plain font and haven't been answered yet.

So I discovered that for learning and trial-error purposes, I could change, for example the font in a Chinese android app (another app, the name will be given if that's necessary). With this one, I successfully changed the font into Kaiti by replacing the "ttf" file with the Kaiti font file that I got online. However not all apps are the same. For instance, some apps have assets or res folders that contains the ttf file, but sadly some not. I used chatGPT to do this problem and it suggested me to make a font folder myself and fill it in with the Kaiti font.

However it seems like it's not enough since I don't know whether the developer defines the textViewer globally or not, or using smali. So, assumming this app I want to reverse engineer doesn't have ttf for the fragment of textView stored somewhere, hidden? (I don't know). My question is, what to add? And what to replace? Also where? And what's the prompt? The only trick I know that sometimes does the job is doing something like

But it didn't change anything. It turned out, I found the font folder that says roboto_medium_numbers.ttf, however I'm not sure which font it is. Could be the header or for the button, etc.

If it's in smali, I was suggested to try looking up for something like

However, again, what to add? What's the prompt? I honestly have zero foundation knowledge of reverse engineering or even smali (familiar with it). If it's relevant, My device isn't rooted and not having any intentions to do so. I'm doing it using Apktool/MT Manager. But if you have a way to it using Android Studio, please do tell me how to. Thanks in advance.

Show more