Well that is a very broad question. I can tell you how to install a different font; how you work, which in your keyboard app is up to you.
Place the font (.ttf or .otf) in your resources folder and use the following code (assuming a font called "myfont.ttf" and a TextView with the identifier "key"):
Typeface myFont = Typeface.createFromAsset(getAssets(), "myfont.ttf"); TextView key = (TextView)findViewById(R.id.key); key.setTypeface(myFont);
Reminder: Remember to check the license of the font you are using. Most of them do not allow redistribution without compensation. One freely licensed font you can use is Bitstream Vera Sans.
kcoppock
source share