fontsupport/fontutils/rom/fonts_variant.iby
changeset 80 3bd7be4c9278
parent 53 8f0f421d3d0f
equal deleted inserted replaced
79:a1b3ef187795 80:3bd7be4c9278
    21 #ifdef __HINDI_ROM_CONTENT
    21 #ifdef __HINDI_ROM_CONTENT
    22 // Shaper needs to be included for proper looking Indic
    22 // Shaper needs to be included for proper looking Indic
    23  #include <iculayoutengine.iby>
    23  #include <iculayoutengine.iby>
    24 #endif
    24 #endif
    25 
    25 
    26 // Rasteriser always included
    26 // include ityperast.iby
    27 ECOM_PLUGIN(ityperast.dll, ityperast.RSC)
    27 #include <ityperast.iby>
    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 
    31 
    32  #ifdef __CHINESE_PRC_FONTS
    32  #ifdef __CHINESE_PRC_FONTS
    86 #elif defined(__LOCALES_65_IBY__)
    86 #elif defined(__LOCALES_65_IBY__)
    87 
    87 
    88  data=ABI_DIR\BUILD_DIR\Series60Korean.ttf                                                   resource\Fonts\Series60Korean.ttf
    88  data=ABI_DIR\BUILD_DIR\Series60Korean.ttf                                                   resource\Fonts\Series60Korean.ttf
    89 
    89 
    90 #else  // Must be western
    90 #else  // Must be western
    91 
    91 #ifndef FF_LINKED_FONTS_CHINESE
    92  data=ABI_DIR\BUILD_DIR\s60snr.ttf                                                   resource\Fonts\s60snr.ttf
    92  data=ABI_DIR\BUILD_DIR\s60snr.ttf                                                   resource\Fonts\s60snr.ttf
    93  data=ABI_DIR\BUILD_DIR\s60ssb.ttf                                                   resource\Fonts\s60ssb.ttf
    93  data=ABI_DIR\BUILD_DIR\s60ssb.ttf                                                   resource\Fonts\s60ssb.ttf
    94  data=ABI_DIR\BUILD_DIR\s60tsb.ttf                                                   resource\Fonts\s60tsb.ttf
    94  data=ABI_DIR\BUILD_DIR\s60tsb.ttf                                                   resource\Fonts\s60tsb.ttf
       
    95 #else
       
    96   #ifdef FF_CHINESE_FONTS_HIRES
    95 
    97 
       
    98    // HiRes fonts only used in high resolutions
       
    99    #if defined(__LAYOUT_360_640_TOUCH) || defined(__LAYOUT_640_360_TOUCH) \
       
   100     || defined(__LAYOUT_320_480) || defined(__LAYOUT_320_480_TOUCH) \
       
   101     || defined(__LAYOUT_480_320) || defined(__LAYOUT_480_320_TOUCH) \
       
   102     || defined(__LAYOUT_480_640) || defined(__LAYOUT_480_640_TOUCH) \
       
   103     || defined(__LAYOUT_640_480) || defined(__LAYOUT_640_480_TOUCH) \
       
   104     || defined (FF_LAYOUT_480_640_VGA3) || defined (FF_LAYOUT_640_480_VGA3)
       
   105 
       
   106     // Reso OK, include HiRes font
       
   107     data=ABI_DIR\BUILD_DIR\S60SC_C.ttf                                           resource\Fonts\S60SC_C.ttf
       
   108    #else
       
   109     // Invalid configuration: HiRes fonts enabled in low or unknown resolution device
       
   110     #error "Feature configuration error: Chinese HiRes fonts not supported in this resolution!"
       
   111    #endif
       
   112 
       
   113   #else  // Not FF_CHINESE_FONTS_HIRES - use regular stroke
       
   114     data=ABI_DIR\BUILD_DIR\S60SC.ccc                                            resource\Fonts\S60SC.ccc
       
   115   #endif
       
   116 #endif
    96 #endif //__CHINESE
   117 #endif //__CHINESE
    97 
   118 
    98  #ifdef FF_LINKED_FONTS_CHINESE
   119  #ifdef FF_LINKED_FONTS_CHINESE
    99  data=ABI_DIR\BUILD_DIR\s60snr.ttf                                                   resource\Fonts\s60snr.ttf
   120  data=ABI_DIR\BUILD_DIR\s60snr.ttf                                                   resource\Fonts\s60snr.ttf
   100  data=ABI_DIR\BUILD_DIR\s60ssb.ttf                                                   resource\Fonts\s60ssb.ttf
   121  data=ABI_DIR\BUILD_DIR\s60ssb.ttf                                                   resource\Fonts\s60ssb.ttf
   131 
   152 
   132 data=ABI_DIR\BUILD_DIR\typefaces_s60_Korean.xml                    			resource\Fonts\typefaces.xml   
   153 data=ABI_DIR\BUILD_DIR\typefaces_s60_Korean.xml                    			resource\Fonts\typefaces.xml   
   133 
   154 
   134 #else  // Must be western
   155 #else  // Must be western
   135 
   156 
   136 data=ABI_DIR\BUILD_DIR\typefaces_s60_English.xml                    			resource\Fonts\typefaces.xml   
   157 data=ABI_DIR\BUILD_DIR\typefaces_s60_Simplified_Chinese.xml   				resource\Fonts\typefaces.xml           
   137 
   158 
   138 #endif //__CHINESE
   159 #endif //__CHINESE
   139 
   160 
   140 #else  // Must be western
   161 #else  // Must be western
   141 
   162