在 Android 模拟器上安装孟加拉语字体 [英] Install Bengali fonts on Android emulator

查看:25
本文介绍了在 Android 模拟器上安装孟加拉语字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在模拟器中使用孟加拉语字符时,它们显示为框.如何安装必要的字体?

When I use Bengali characters in the emulator they are shown as boxes. How can I install the necessary font?

推荐答案

每当 android 无法找到特定字符时,它都会查找 DroidSansFallback.ttf,因此您需要做的是通过重命名模拟器来替换模拟器的 DroidSansFallback.ttfBangla ttf 字体到 DroidSansFallback.ttf.执行以下步骤.

Whenever android fails to find a specific character it looks to DroidSansFallback.ttf, so what you need to do is replace the DroidSansFallback.ttf of the emulator by renaming a Bangla ttf font to DroidSansFallback.ttf. Do the following steps.

1.获得一个支持市场的root android模拟器.你可以在这里找到一个:根植市场启用 AVD

1.Get a market enabled rooted android emulator. You can find one here: Rooted Market Enabled AVD

2.然后拿一个资源管理器应用程序,我更喜欢rootexplorer.

2.Then grab a explorer app, I prefer rootexplorer.

3.将免费的 Bangla ttf 字体重命名为 DroidSansFallback.ttf.

3.Rename a free Bangla ttf font to DroidSansFallback.ttf.

4.从您在步骤 1 中下载的图像创建一个 AVD.

4.Create an AVD from the image you downloaded in step 1.

5.通过DDMS中的文件资源管理器将rootexplorer和DroidSansFallback.ttf推送到模拟器的sdcard(我使用的是Eclipse Indigo IDE).

5.Push rootexplorer and DroidSansFallback.ttf to the sdcard of emulator via file explorer in DDMS (i'm using Eclipse Indigo IDE).

6.安装 rootexplorer(您可以使用从市场下载的另一个浏览器).

6.Install rootexplorer (you can use another explorer downloaded via market).

7.打开rootexplorer,点击mount r/w.

7.Open rootexplorer, click mount r/w.

8.然后进入sdcard并复制DroidSansFallback.ttf,然后进入系统,点击mount r/w.

8.Then goto sdcard and copy DroidSansFallback.ttf, then goto system, click mount r/w.

9.然后转到字体并覆盖现有的 DroidSansFallback.ttf.

9.Then goto fonts and overwrite the existing DroidSansFallback.ttf.

10.然后从权限选项中将所有权限授予新的 DroidSansFallback.ttf.

10.Then give all permissions to the new DroidSansFallback.ttf from permissions option.

就是这样,您现在可以在模拟器中的任何地方使用 bangla,但无法正确显示复杂的字形.

That's it, you can now use bangla anywhere in emulator but complex glyphs are not shown correctly.

这篇关于在 Android 模拟器上安装孟加拉语字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆