2

I want to know that how good is android when supporting non-english characters? Is it possible to embed fonts in my app and make the app to use that font?

Nibha Jain
  • 7,742
  • 11
  • 47
  • 71

3 Answers3

3

The system fonts already support Unicode language very well (as well as Eclipse, but you will have to select new encoding when saving, Eclipse will confirm this).

You can embed your fonts as well. Look at this tutorial and this discusstion.

More information: I'm working on Vietnamese. The system is perfect for Vietnamese, and I think it is for other languages, too.

Community
  • 1
  • 1
Luke Vo
  • 17,859
  • 21
  • 105
  • 181
2

FYI the emulator with android 2.3.3 support hebrew characters.

But you can use your own fonts if you want. Place them in the res/assets folder, then

TextView txt = (TextView) findViewById(R.id.custom_font);  
Typeface font = Typeface.createFromAsset(getAssets(), "my_font.ttf");  
txt.setTypeface(font);  
vieux
  • 23,887
  • 3
  • 26
  • 26
1

I'm a developer for a japanese company and i've hadno problems with japanese characters even on devices set for english. However, if you want to use custom fonts, use vvieux's code :)

DallaRosa
  • 5,737
  • 2
  • 35
  • 53