0

I have seen android applications once installed on any Android device, I can see new fonts coming to Settings and I can set the system font to what it had installed. How to write such an application so that I can setup unicode for Sinhala with my MalithiWeb.ttf? I have the ttf. I have experience in writing Android apps.

Found the answer myself. Thanks guys for your replies! http://forum.xda-developers.com/showthread.php?t=755472

3

1 Answer 1

2

Just follow the instructions here: http://www.barebonescoder.com/2010/05/android-development-using-custom-fonts/

I'm pretty sure it works just as well with ttf. I use TTF in my apps all the time, but I'm drawing them manually (not via XML), however, I think it works the same way under the hood.

Sign up to request clarification or add additional context in comments.

3 Comments

It does not allow you to set the system font right? I need to build an apk myself which allows me to add my own fonts to System fonts list.
are you saying you want to overwrite the system font, so that without specifying any font at all it will just default to some alternate font? I don't believe you can do that.
I don't want to overwrite. I just need to add one more item into the existing list. It is doable using forum.xda-developers.com/showthread.php?t=755472

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.