Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use tamil font in android

Tags:

android

fonts

this is my tamil UTF-8 unicode string

"\u00e0\u00ae\u009c\u00e0\u00af\u0086\u00e0\u00ae\u00a9\u00e0\u00ae\u00bf\u00e0\u00ae\u00b2\u00e0\u00ae\u00bf\u00e0\u00ae\u00af\u00e0\u00ae\u00be \u00e0\u00ae\u00aa\u00e0\u00af\u0081\u00e0\u00ae\u0095\u00e0\u00af\u0088\u00e0\u00ae\u00aa\u00e0\u00af\u008d\u00e0\u00ae\u00aa\u00e0\u00ae\u009f\u00e0\u00ae\u00ae\u00e0\u00af\u008d"

i want to decode it and display the tamil font

in android is this posible,how to do ?

please help me

like image 599
tamil Avatar asked Apr 18 '11 10:04

tamil


People also ask

How can I type Tamil letters using English keyboard?

Press (Ctrl + G) together to toggle (switch) between English and Tamil language. Any text you type on the above text area is automatically saved on your computer for a week.

Which font is used for Tamil typing?

Kavivanar - by Tharique Azeez Kavivanar is a handwriting font that support both Tamil and Latin script. It has bold and slightly slanted letterform that show a calligraphic pen stress.


1 Answers

You can save the tamil (ttf) font in the assets folder, and use it like this:

TextView text; // initialize to your textview
Typeface tf = Typeface.createFromAsset(this.getAssets(),"fonts/tamil.ttf");
text.setTypeface(tf);
like image 124
sparkymat Avatar answered Sep 21 '22 18:09

sparkymat