如何使用Android的泰米尔语字体泰米尔、如何使用、字体、Android

2023-09-05 06:51:13 作者:勉强微笑

这是我的泰米尔UTF-8 UNI code字符串

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"

"\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"

我要脱code,并显示了泰米尔语字体

i want to decode it and display the tamil font

在Android是这更多钞票,怎么办?

in android is this posible,how to do ?

请帮我

推荐答案

您可以保存泰米尔语(TTF)字体的资产文件夹,并用它这样的:

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);