fontsupport/fontutils/rom/fonts_variant.iby
branchRCL_3
changeset 33 e2effe28d8cc
parent 2 abcbdabaa4c5
child 36 3cfc3bd625af
child 99 e871a07c0ce0
equal deleted inserted replaced
32:d9c996538b26 33:e2effe28d8cc
    27 ECOM_PLUGIN(ityperast.dll, ityperast.RSC)
    27 ECOM_PLUGIN(ityperast.dll, ityperast.RSC)
    28 
    28 
    29 // Include proper font set based on configuration
    29 // Include proper font set based on configuration
    30 #ifdef __CHINESE
    30 #ifdef __CHINESE
    31  #ifdef FF_LINKED_FONTS_CHINESE
    31  #ifdef FF_LINKED_FONTS_CHINESE
    32  data=ABI_DIR\BUILD_DIR\s60snr.ttf                                                   resource\Fonts\s60snr.ttf
    32   // Do not include S60 fonts if product fonts flag is set
    33  data=ABI_DIR\BUILD_DIR\s60ssb.ttf                                                   resource\Fonts\s60ssb.ttf
    33   #ifndef FF_PRODUCT_FONTS
    34  data=ABI_DIR\BUILD_DIR\s60tsb.ttf                                                   resource\Fonts\s60tsb.ttf
    34    data=ABI_DIR\BUILD_DIR\s60snr.ttf          resource\Fonts\s60snr.ttf
       
    35    data=ABI_DIR\BUILD_DIR\s60ssb.ttf          resource\Fonts\s60ssb.ttf
       
    36    data=ABI_DIR\BUILD_DIR\s60tsb.ttf          resource\Fonts\s60tsb.ttf
       
    37   #endif
    35  #endif
    38  #endif
    36 
    39 
    37  #ifdef __CHINESE_PRC_FONTS
    40  #ifdef __CHINESE_PRC_FONTS
    38 
    41 
    39   #ifdef FF_CHINESE_FONTS_HIRES
    42   #ifdef FF_CHINESE_FONTS_HIRES
    45    || defined(__LAYOUT_480_640) || defined(__LAYOUT_480_640_TOUCH) \
    48    || defined(__LAYOUT_480_640) || defined(__LAYOUT_480_640_TOUCH) \
    46    || defined(__LAYOUT_640_480) || defined(__LAYOUT_640_480_TOUCH) \
    49    || defined(__LAYOUT_640_480) || defined(__LAYOUT_640_480_TOUCH) \
    47    || defined (FF_LAYOUT_480_640_VGA3) || defined (FF_LAYOUT_640_480_VGA3)
    50    || defined (FF_LAYOUT_480_640_VGA3) || defined (FF_LAYOUT_640_480_VGA3)
    48 
    51 
    49     // Reso OK, include HiRes font
    52     // Reso OK, include HiRes font
    50     data=ABI_DIR\BUILD_DIR\S60SC_C.ttf                                               resource\Fonts\S60SC_C.ttf
    53     data=ABI_DIR\BUILD_DIR\S60SC_C.ttf        resource\Fonts\S60SC_C.ttf
    51    #else
    54    #else
    52     // Invalid configuration: HiRes fonts enabled in low or unknown resolution device
    55     // Invalid configuration: HiRes fonts enabled in low or unknown resolution device
    53     #error "Feature configuration error: Chinese HiRes fonts not supported in this resolution!"
    56     #error "Feature configuration error: Chinese HiRes fonts not supported in this resolution!"
    54    #endif
    57    #endif
    55 
    58 
    56   #else  // Not FF_CHINESE_FONTS_HIRES - use regular stroke
    59   #else  // Not FF_CHINESE_FONTS_HIRES - use regular stroke
    57     data=ABI_DIR\BUILD_DIR\S60SC.ccc                                                 resource\Fonts\S60SC.ccc
    60     data=ABI_DIR\BUILD_DIR\S60SC.ccc          resource\Fonts\S60SC.ccc
    58   #endif
    61   #endif
    59 
    62 
    60  #endif //__CHINESE_PRC_FONTS
    63  #endif //__CHINESE_PRC_FONTS
    61 
    64 
    62  #ifdef __CHINESE_TAIWAN_HK_FONTS
    65  #ifdef __CHINESE_TAIWAN_HK_FONTS
    70     || defined(__LAYOUT_480_640) || defined(__LAYOUT_480_640_TOUCH) \
    73     || defined(__LAYOUT_480_640) || defined(__LAYOUT_480_640_TOUCH) \
    71     || defined(__LAYOUT_640_480) || defined(__LAYOUT_640_480_TOUCH) \
    74     || defined(__LAYOUT_640_480) || defined(__LAYOUT_640_480_TOUCH) \
    72     || defined (FF_LAYOUT_480_640_VGA3) || defined (FF_LAYOUT_640_480_VGA3)
    75     || defined (FF_LAYOUT_480_640_VGA3) || defined (FF_LAYOUT_640_480_VGA3)
    73 
    76 
    74     // Reso OK, include HiRes font
    77     // Reso OK, include HiRes font
    75     data=ABI_DIR\BUILD_DIR\S60TCHK_C.ttf                                             resource\Fonts\S60TCHK_C.ttf
    78     data=ABI_DIR\BUILD_DIR\S60TCHK_C.ttf      resource\Fonts\S60TCHK_C.ttf
    76    #else
    79    #else
    77     // Invalid configuration: HiRes fonts enabled in low or unknown resolution device
    80     // Invalid configuration: HiRes fonts enabled in low or unknown resolution device
    78     #error "Feature configuration error: Chinese HiRes fonts not supported in this resolution!"
    81     #error "Feature configuration error: Chinese HiRes fonts not supported in this resolution!"
    79    #endif
    82    #endif
    80 
    83 
    81   #else  // Not FF_CHINESE_FONTS_HIRES - use regular stroke
    84   #else  // Not FF_CHINESE_FONTS_HIRES - use regular stroke
    82     data=ABI_DIR\BUILD_DIR\S60TCHK.ccc                                               resource\Fonts\S60TCHK.ccc
    85     data=ABI_DIR\BUILD_DIR\S60TCHK.ccc        resource\Fonts\S60TCHK.ccc
    83   #endif
    86   #endif
    84 
    87 
    85  #endif //__CHINESE_TAIWAN_HK_FONTS
    88  #endif //__CHINESE_TAIWAN_HK_FONTS
    86 
    89 
    87 #elif defined(__JAPANESE)
    90 #elif defined(__JAPANESE)
    88 
    91 
    89  data=ABI_DIR\BUILD_DIR\HeiseiGothS60.ttf                                            resource\Fonts\HeiseiGothS60.ttf
    92  data=ABI_DIR\BUILD_DIR\HeiseiGothS60.ttf     resource\Fonts\HeiseiGothS60.ttf
    90 	
    93 	
    91 #elif defined(__LOCALES_65_IBY__)
    94 #elif defined(__LOCALES_65_IBY__)
    92 
    95 
    93  data=ABI_DIR\BUILD_DIR\Series60Korean.ttf                                                   resource\Fonts\Series60Korean.ttf
    96  data=ABI_DIR\BUILD_DIR\Series60Korean.ttf    resource\Fonts\Series60Korean.ttf
    94 
    97 
    95 #else  // Must be western
    98 #else  // Must be western
    96 
    99  // Do not include S60 fonts if product fonts flag is set
    97  data=ABI_DIR\BUILD_DIR\s60snr.ttf                                                   resource\Fonts\s60snr.ttf
   100  #ifndef FF_PRODUCT_FONTS
    98  data=ABI_DIR\BUILD_DIR\s60ssb.ttf                                                   resource\Fonts\s60ssb.ttf
   101   data=ABI_DIR\BUILD_DIR\s60snr.ttf           resource\Fonts\s60snr.ttf
    99  data=ABI_DIR\BUILD_DIR\s60tsb.ttf                                                   resource\Fonts\s60tsb.ttf
   102   data=ABI_DIR\BUILD_DIR\s60ssb.ttf           resource\Fonts\s60ssb.ttf
       
   103   data=ABI_DIR\BUILD_DIR\s60tsb.ttf           resource\Fonts\s60tsb.ttf
       
   104  #endif
   100 
   105 
   101 #endif //__CHINESE
   106 #endif //__CHINESE
   102 
   107 
   103 // Digi font available in all variants
   108 // Digi font available in all variants
   104 data=ABI_DIR\BUILD_DIR\S60ZDIGI.ttf                                                  resource\Fonts\S60ZDIGI.ttf
   109 data=ABI_DIR\BUILD_DIR\S60ZDIGI.ttf           resource\Fonts\S60ZDIGI.ttf
   105 
   110 
   106 #endif // FONTS_VARIANT_IBY
   111 #endif // FONTS_VARIANT_IBY