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