mtk font inputmethod mtk输入法

mtk inputmethod

举例:简体中文,320*240 LCD

1。MMI_featuresPLUTO.h (plutommi/customer/custresource/pluto_mmi)  
       #define __MMI_LANG_SM_CHINESE__   //定义宏开关

2。FontRes.c (plutommi/customer/lcdresource/mainlcd240x320)
       <1>
       #ifdef __MMI_16X16_CHINESE_FONT__
       #include "L_Pluto_16x16_ch.h"                   //引入字库头文件
       #else

      <2>
       const RangeData XXX_RangeData[a]={...}

      <3>
       const U16 mtk_gMaxDeployedLangs = 1;

      <4>
       #if defined(__MMI_LANG_SM_CHINESE__)
       sFontFamily pluto_ch_standardFamily = {6,{&Pluto_ch, &Pluto_ch, &Pluto_ch, &Pluto_ch, &Pluto_ch,&gVirtualKeyboardFont}};
       #endif

       <5>
       #if defined(__MMI_LANG_SM_CHINESE__)
       {
       {(char)0x80,(char)0x7B,(char)0x53,(char)0x4F,(char)0x2D,(char)0x4E,(char)0x87,(char)0x65,(char)0x00,(char)0x00},//Language Name
        "*#0086#",//SSC string name
         0,
        { &pluto_ch_standardFamily },
        "zh"
       },
       #endif

3。//对应语言之输入法
       Zi8DatZH_Prc.h (plutommi/customer/lcdresource/mainlcd240x320/inputmethod/inc)

你可能感兴趣的:(String,输入法,语言,MTK)