问题
As I understand it, it is not possible to set a custom font as a system font in standard Android devices that have not been rooted. However, I hear that it is possible to do on devices from certain manufacturers, like Samsung. So I would like to know how to install a bundled font from my app as a system font if the user has a Samsung phone. Or even if I can't install it directly, how do I make the font available for the user to go into settings to choose it? This is apparently possible since such functionality is provided by iFont and other apps.
Notes
I am not asking how to use use a custom font in my own app.
I am not asking how to set a custom system font generally in Android.
- How to install custom font in android device
- Android Device install new font
- android - setup and install Custom Font in Android without root
- android - install font to android platform without root
- How to Change Mobile fonts mean install custom fonts, to system
I am asking specifically how to do it on a Samsung device.
来源:https://stackoverflow.com/questions/49850865/how-to-install-a-system-font-programmatically-on-a-samsung-android-device