Skip to content Skip to sidebar Skip to footer

How To Display Local Languages Fonts From Unicode?

Basically i am creating an app which have multiple languages fonts means english as well as local language(Hindi & some other) fonts. but the problem is it display only english

Solution 1:

I got my answer. here is the link This file support all Indian language fonts and english too. Just copy paste this file in assets filder and include in the code

Typeface tf = Typeface.createFromAsset(getAssets(),
            "fonts/file_name.ttf");
    TextView tv = (TextView) findViewById(R.id.yourtextview);
    tv.setTypeface(tf);

Post a Comment for "How To Display Local Languages Fonts From Unicode?"