修改这个文件 android2.2-froyo/build/target/product/languages_full.mk,添加 th_TH增加泰文支持。
make -j4
编译完成后在external/skia/src/ports/SkFontHost-android.cpp文件gSystemFonts结构中就会看到
static const FontInitRec gSystemFonts[] = {
{ "DroidSans.ttf", gSansNames },
{ "DroidSans-Bold.ttf", NULL },
{ "DroidSerif-Regular.ttf", gSerifNames },
{ "DroidSerif-Bold.ttf", NULL },
{ "DroidSerif-Italic.ttf", NULL },
{ "DroidSerif-BoldItalic.ttf", NULL },
{ "DroidSansMono.ttf", gMonoNames },
/* These are optional, and can be ignored if not found in the file system.
These are appended to gFallbackFonts[] as they are seen, so we list
them in the order we want them to be accessed by NextLogicalFont().
*/
{ "DroidSansAr
android2.2支持泰语
最新推荐文章于 2022-08-17 18:22:12 发布
