【发布时间】:2012-11-10 13:12:30
【问题描述】:
为了在 Android 模拟器上显示 Tifinagh 字符,我尝试了以下方法:
TextView tv=(TextView)findViewById(R.id.font);
Typeface face=Typeface.createFromAsset(getAssets(),"fonts/MZTIFIYU.TTF");
tv.setTypeface(face);
但是没有用。我仍然看到框而不是字符。
有没有其他方法可以解决这个问题?
【问题讨论】:
-
什么是 MZTIFIYU.TTF?是将 Tifinagh 映射到任意 ASCII 字母的符号字体,还是在 U+2D30-7F 块中提供字符的适当 Unicode 字体?
-
这是一个适合 tifinagh 字符的 unicode 字体。
标签: android unicode android-emulator