我知道在安卓模拟器上安装字体有很多问题.我正在分享对我有用的方法作为答案,如果有人有更好的方法,请分享.
当android找不到特定字符时,它会查找DroidSansFallback.ttf
,所以你需要做的是替换DroidSansFallback.ttf
通过将所需语言的 ttf 字体重命名为 DroidSansFallback.ttf
.执行以下步骤.
1.获取市场支持的root android模拟器.您可以在这里找到:Rooted Market Enabled AVDp>
2.然后抓一个资源管理器应用,我更喜欢根资源管理器.
3.将免费的ttf字体(您要安装的)重命名为DroidSansFallback.ttf.
4.从您在步骤 1 中下载的图像创建一个 AVD.
通过 DDMS 中的文件资源管理器将 DroidSansFallback.ttf 推送到模拟器的 sdcard(我使用的是 Eclipse Indigo IDE).
安装根资源管理器(您可以使用通过市场下载的其他资源管理器).
打开root explorer,点击mount r/w.
然后到sd卡复制DroidSansFallback.ttf,然后到system,点击mount r/w.
9.然后转到字体并覆盖现有的 DroidSansFallback.ttf.
就是这样.我用这个方法回答了一个关于Bangla Font Insatallation一个>
I know there are many questions regarding font installation on android emulator. I'm sharing the method that worked for me as an answer, if anyone have a better way please share it.
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 ttf font of your required language to DroidSansFallback.ttf
. Do the following steps.
1.Get a market enabled rooted android emulator. You can find one here: Rooted Market Enabled AVD
2.Then grab an explorer app, I prefer root explorer.
3.Rename a free ttf font(which you want to install) to DroidSansFallback.ttf.
4.Create an AVD from the image you downloaded in step 1.
Push DroidSansFallback.ttf to the sdcard of emulator via file explorer in DDMS (I'm using Eclipse Indigo IDE).
Install root explorer (you can use another explorer downloaded via market).
Open root explorer, click mount r/w.
Then go to sd card and copy DroidSansFallback.ttf, then go to system, click mount r/w.
9.Then go to fonts and overwrite the existing DroidSansFallback.ttf.
- Then give all permissions to the new DroidSansFallback.ttf from permissions option.
That's it. I used this method to answer a question about Bangla Font Insatallation
这篇关于将新字体安装到 android 模拟器的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!