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 // include ityperast.iby |
26 // Rasteriser always included |
27 #include <ityperast.iby> |
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 |
|
32 // Do not include S60 fonts if product fonts flag is set |
|
33 #ifndef FF_PRODUCT_FONTS |
|
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 |
|
38 #endif |
31 |
39 |
32 #ifdef __CHINESE_PRC_FONTS |
40 #ifdef __CHINESE_PRC_FONTS |
33 |
41 |
34 #ifdef FF_CHINESE_FONTS_HIRES |
42 #ifdef FF_CHINESE_FONTS_HIRES |
35 |
43 |
37 #if defined(__LAYOUT_360_640_TOUCH) || defined(__LAYOUT_640_360_TOUCH) \ |
45 #if defined(__LAYOUT_360_640_TOUCH) || defined(__LAYOUT_640_360_TOUCH) \ |
38 || defined(__LAYOUT_320_480) || defined(__LAYOUT_320_480_TOUCH) \ |
46 || defined(__LAYOUT_320_480) || defined(__LAYOUT_320_480_TOUCH) \ |
39 || defined(__LAYOUT_480_320) || defined(__LAYOUT_480_320_TOUCH) \ |
47 || defined(__LAYOUT_480_320) || defined(__LAYOUT_480_320_TOUCH) \ |
40 || defined(__LAYOUT_480_640) || defined(__LAYOUT_480_640_TOUCH) \ |
48 || defined(__LAYOUT_480_640) || defined(__LAYOUT_480_640_TOUCH) \ |
41 || defined(__LAYOUT_640_480) || defined(__LAYOUT_640_480_TOUCH) \ |
49 || defined(__LAYOUT_640_480) || defined(__LAYOUT_640_480_TOUCH) \ |
42 || 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) \ |
|
51 || defined (FF_LAYOUT_480_640_TOUCH_VGA4) || defined (FF_LAYOUT_640_480_TOUCH_VGA4) |
43 |
52 |
44 // Reso OK, include HiRes font |
53 // Reso OK, include HiRes font |
45 data=ABI_DIR\BUILD_DIR\S60SC_C.ttf resource\Fonts\S60SC_C.ttf |
54 data=ABI_DIR\BUILD_DIR\S60SC_C.ttf resource\Fonts\S60SC_C.ttf |
46 #else |
55 #else |
47 // Invalid configuration: HiRes fonts enabled in low or unknown resolution device |
56 // Invalid configuration: HiRes fonts enabled in low or unknown resolution device |
48 #error "Feature configuration error: Chinese HiRes fonts not supported in this resolution!" |
57 #error "Feature configuration error: Chinese HiRes fonts not supported in this resolution!" |
49 #endif |
58 #endif |
50 |
59 |
51 #else // Not FF_CHINESE_FONTS_HIRES - use regular stroke |
60 #else // Not FF_CHINESE_FONTS_HIRES - use regular stroke |
52 data=ABI_DIR\BUILD_DIR\S60SC.ccc resource\Fonts\S60SC.ccc |
61 data=ABI_DIR\BUILD_DIR\S60SC.ccc resource\Fonts\S60SC.ccc |
53 #endif |
62 #endif |
54 |
63 |
55 #endif //__CHINESE_PRC_FONTS |
64 #endif //__CHINESE_PRC_FONTS |
56 |
65 |
57 #ifdef __CHINESE_TAIWAN_HK_FONTS |
66 #ifdef __CHINESE_TAIWAN_HK_FONTS |
62 #if defined(__LAYOUT_360_640_TOUCH) || defined(__LAYOUT_640_360_TOUCH) \ |
71 #if defined(__LAYOUT_360_640_TOUCH) || defined(__LAYOUT_640_360_TOUCH) \ |
63 || defined(__LAYOUT_320_480) || defined(__LAYOUT_320_480_TOUCH) \ |
72 || defined(__LAYOUT_320_480) || defined(__LAYOUT_320_480_TOUCH) \ |
64 || defined(__LAYOUT_480_320) || defined(__LAYOUT_480_320_TOUCH) \ |
73 || defined(__LAYOUT_480_320) || defined(__LAYOUT_480_320_TOUCH) \ |
65 || defined(__LAYOUT_480_640) || defined(__LAYOUT_480_640_TOUCH) \ |
74 || defined(__LAYOUT_480_640) || defined(__LAYOUT_480_640_TOUCH) \ |
66 || defined(__LAYOUT_640_480) || defined(__LAYOUT_640_480_TOUCH) \ |
75 || defined(__LAYOUT_640_480) || defined(__LAYOUT_640_480_TOUCH) \ |
67 || defined (FF_LAYOUT_480_640_VGA3) || defined (FF_LAYOUT_640_480_VGA3) |
76 || defined (FF_LAYOUT_480_640_VGA3) || defined (FF_LAYOUT_640_480_VGA3) \ |
|
77 || defined (FF_LAYOUT_480_640_TOUCH_VGA4) || defined (FF_LAYOUT_640_480_TOUCH_VGA4) |
68 |
78 |
69 // Reso OK, include HiRes font |
79 // Reso OK, include HiRes font |
70 data=ABI_DIR\BUILD_DIR\S60TCHK_C.ttf resource\Fonts\S60TCHK_C.ttf |
80 data=ABI_DIR\BUILD_DIR\S60TCHK_C.ttf resource\Fonts\S60TCHK_C.ttf |
71 #else |
81 #else |
72 // Invalid configuration: HiRes fonts enabled in low or unknown resolution device |
82 // Invalid configuration: HiRes fonts enabled in low or unknown resolution device |
73 #error "Feature configuration error: Chinese HiRes fonts not supported in this resolution!" |
83 #error "Feature configuration error: Chinese HiRes fonts not supported in this resolution!" |
74 #endif |
84 #endif |
75 |
85 |
76 #else // Not FF_CHINESE_FONTS_HIRES - use regular stroke |
86 #else // Not FF_CHINESE_FONTS_HIRES - use regular stroke |
77 data=ABI_DIR\BUILD_DIR\S60TCHK.ccc resource\Fonts\S60TCHK.ccc |
87 data=ABI_DIR\BUILD_DIR\S60TCHK.ccc resource\Fonts\S60TCHK.ccc |
78 #endif |
88 #endif |
79 |
89 |
80 #endif //__CHINESE_TAIWAN_HK_FONTS |
90 #endif //__CHINESE_TAIWAN_HK_FONTS |
81 |
91 |
82 #elif defined(__JAPANESE) |
92 #elif defined(__JAPANESE) |
83 |
93 |
84 data=ABI_DIR\BUILD_DIR\HeiseiGothS60.ttf resource\Fonts\HeiseiGothS60.ttf |
94 data=ABI_DIR\BUILD_DIR\HeiseiGothS60.ttf resource\Fonts\HeiseiGothS60.ttf |
85 |
95 |
86 #elif defined(__LOCALES_65_IBY__) |
96 #elif defined(__LOCALES_65_IBY__) |
87 |
97 |
88 data=ABI_DIR\BUILD_DIR\Series60Korean.ttf resource\Fonts\Series60Korean.ttf |
98 data=ABI_DIR\BUILD_DIR\Series60Korean.ttf resource\Fonts\Series60Korean.ttf |
89 |
99 |
90 #else // Must be western |
100 #else // Must be western |
91 #ifndef FF_LINKED_FONTS_CHINESE |
101 // Do not include S60 fonts if product fonts flag is set |
92 data=ABI_DIR\BUILD_DIR\s60snr.ttf resource\Fonts\s60snr.ttf |
102 #ifndef FF_PRODUCT_FONTS |
93 data=ABI_DIR\BUILD_DIR\s60ssb.ttf resource\Fonts\s60ssb.ttf |
103 data=ABI_DIR\BUILD_DIR\s60snr.ttf resource\Fonts\s60snr.ttf |
94 data=ABI_DIR\BUILD_DIR\s60tsb.ttf resource\Fonts\s60tsb.ttf |
104 data=ABI_DIR\BUILD_DIR\s60ssb.ttf resource\Fonts\s60ssb.ttf |
95 #else |
105 data=ABI_DIR\BUILD_DIR\s60tsb.ttf resource\Fonts\s60tsb.ttf |
96 #ifdef FF_CHINESE_FONTS_HIRES |
|
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 |
|
117 #endif //__CHINESE |
|
118 |
|
119 #ifdef FF_LINKED_FONTS_CHINESE |
|
120 data=ABI_DIR\BUILD_DIR\s60snr.ttf resource\Fonts\s60snr.ttf |
|
121 data=ABI_DIR\BUILD_DIR\s60ssb.ttf resource\Fonts\s60ssb.ttf |
|
122 data=ABI_DIR\BUILD_DIR\s60tsb.ttf resource\Fonts\s60tsb.ttf |
|
123 #endif |
106 #endif |
124 // Digi font available in all variants |
|
125 data=ABI_DIR\BUILD_DIR\S60ZDIGI.ttf resource\Fonts\S60ZDIGI.ttf |
|
126 |
|
127 |
|
128 // Export typeface xml files |
|
129 #ifdef FF_LINKED_FONTS_CHINESE // Now this is a global font linking macro |
|
130 #ifdef __CHINESE |
|
131 |
|
132 #if defined(__CHINESE_PRC_FONTS) && defined(__CHINESE_TAIWAN_HK_FONTS) |
|
133 |
|
134 |
|
135 data=ABI_DIR\BUILD_DIR\typefaces_s60_Simplified_Traditional.xml resource\Fonts\typefaces.xml |
|
136 |
|
137 #elif defined(__CHINESE_PRC_FONTS) |
|
138 |
|
139 data=ABI_DIR\BUILD_DIR\typefaces_s60_Simplified_Chinese.xml resource\Fonts\typefaces.xml |
|
140 |
|
141 #elif defined(__CHINESE_TAIWAN_HK_FONTS) |
|
142 |
|
143 data=ABI_DIR\BUILD_DIR\typefaces_s60_Traditional_Chinese.xml resource\Fonts\typefaces.xml |
|
144 |
|
145 #endif //defined(__CHINESE_PRC_FONTS) && defined(__CHINESE_TAIWAN_HK_FONTS) |
|
146 |
|
147 #elif defined(__JAPANESE) |
|
148 |
|
149 data=ABI_DIR\BUILD_DIR\typefaces_s60_Japanese.xml resource\Fonts\typefaces.xml |
|
150 |
|
151 #elif defined(__LOCALES_65_IBY__) |
|
152 |
|
153 data=ABI_DIR\BUILD_DIR\typefaces_s60_Korean.xml resource\Fonts\typefaces.xml |
|
154 |
|
155 #else // Must be western |
|
156 |
|
157 data=ABI_DIR\BUILD_DIR\typefaces_s60_Simplified_Chinese.xml resource\Fonts\typefaces.xml |
|
158 |
107 |
159 #endif //__CHINESE |
108 #endif //__CHINESE |
160 |
109 |
161 #else // Must be western |
110 // Digi font available in all variants |
162 |
111 data=ABI_DIR\BUILD_DIR\S60ZDIGI.ttf resource\Fonts\S60ZDIGI.ttf |
163 data=ABI_DIR\BUILD_DIR\typefaces_s60_English.xml resource\Fonts\typefaces.xml |
|
164 |
|
165 #endif //FF_LINKED_FONTS_CHINESE |
|
166 |
112 |
167 #endif // FONTS_VARIANT_IBY |
113 #endif // FONTS_VARIANT_IBY |