1 |
// TetiSoft: To specify which modules you need, |
// To specify which modules you need, |
2 |
// insert the following in your source file and uncomment as needed: |
// insert the following in your source file and uncomment as needed: |
3 |
|
|
4 |
/* |
/* |
5 |
//#define FT_USE_AUTOHINT // autohinter |
//#define FT_USE_AUTOFIT // autofitter |
6 |
//#define FT_USE_RASTER // monochrome rasterizer |
//#define FT_USE_RASTER // monochrome rasterizer |
7 |
//#define FT_USE_SMOOTH // anti-aliasing rasterizer |
//#define FT_USE_SMOOTH // anti-aliasing rasterizer |
8 |
//#define FT_USE_TT // truetype font driver |
//#define FT_USE_TT // truetype font driver |
9 |
//#define FT_USE_T1 // type1 font driver |
//#define FT_USE_T1 // type1 font driver |
10 |
//#define FT_USE_T42 // type42 font driver |
//#define FT_USE_T42 // type42 font driver |
11 |
//#define FT_USE_T1CID // cid-keyed type1 font driver // no cmap support |
//#define FT_USE_T1CID // cid-keyed type1 font driver // no cmap support |
12 |
//#define FT_USE_CFF // opentype font driver |
//#define FT_USE_CFF // opentype font driver |
13 |
//#define FT_USE_BDF // bdf bitmap font driver |
//#define FT_USE_BDF // bdf bitmap font driver |
14 |
//#define FT_USE_PCF // pcf bitmap font driver |
//#define FT_USE_PCF // pcf bitmap font driver |
15 |
//#define FT_USE_PFR // pfr font driver |
//#define FT_USE_PFR // pfr font driver |
16 |
//#define FT_USE_WINFNT // windows .fnt|.fon bitmap font driver |
//#define FT_USE_WINFNT // windows .fnt|.fon bitmap font driver |
17 |
|
//#define FT_USE_OTV // opentype validator |
18 |
#include "FT:src/base/ftinit.c" |
#include "FT:src/base/ftinit.c" |
19 |
*/ |
*/ |
20 |
|
|
21 |
// TetiSoft: make sure that needed support modules are built in. |
// Make sure that needed support modules are built in. |
22 |
// Dependencies can be found by searching for FT_Get_Module. |
// Dependencies can be found by searching for FT_Get_Module. |
23 |
|
|
24 |
#ifdef FT_USE_T42 |
#ifdef FT_USE_T42 |
55 |
#define FT_USE_PSNAMES |
#define FT_USE_PSNAMES |
56 |
#endif |
#endif |
57 |
|
|
58 |
// TetiSoft: Now include the modules |
// Now include the modules |
59 |
|
|
60 |
#ifdef FT_USE_AUTOHINT |
#ifdef FT_USE_AUTOFIT |
61 |
FT_USE_MODULE(autohint_module_class) |
FT_USE_MODULE(autofit_module_class) |
62 |
#endif |
#endif |
63 |
|
|
64 |
#ifdef FT_USE_PSHINT |
#ifdef FT_USE_TT |
65 |
FT_USE_MODULE(pshinter_module_class) |
FT_USE_MODULE(tt_driver_class) |
66 |
|
#endif |
67 |
|
|
68 |
|
#ifdef FT_USE_T1 |
69 |
|
FT_USE_MODULE(t1_driver_class) |
70 |
#endif |
#endif |
71 |
|
|
72 |
#ifdef FT_USE_CFF |
#ifdef FT_USE_CFF |
77 |
FT_USE_MODULE(t1cid_driver_class) |
FT_USE_MODULE(t1cid_driver_class) |
78 |
#endif |
#endif |
79 |
|
|
80 |
#ifdef FT_USE_BDF |
#ifdef FT_USE_PFR |
81 |
FT_USE_MODULE(bdf_driver_class) |
FT_USE_MODULE(pfr_driver_class) |
82 |
#endif |
#endif |
83 |
|
|
84 |
#ifdef FT_USE_PCF |
#ifdef FT_USE_T42 |
85 |
FT_USE_MODULE(pcf_driver_class) |
FT_USE_MODULE(t42_driver_class) |
86 |
#endif |
#endif |
87 |
|
|
88 |
#ifdef FT_USE_PFR |
#ifdef FT_USE_WINFNT |
89 |
FT_USE_MODULE(pfr_driver_class) |
FT_USE_MODULE(winfnt_driver_class) |
90 |
|
#endif |
91 |
|
|
92 |
|
#ifdef FT_USE_PCF |
93 |
|
FT_USE_MODULE(pcf_driver_class) |
94 |
#endif |
#endif |
95 |
|
|
96 |
#ifdef FT_USE_PSAUX |
#ifdef FT_USE_PSAUX |
101 |
FT_USE_MODULE(psnames_module_class) |
FT_USE_MODULE(psnames_module_class) |
102 |
#endif |
#endif |
103 |
|
|
104 |
|
#ifdef FT_USE_PSHINT |
105 |
|
FT_USE_MODULE(pshinter_module_class) |
106 |
|
#endif |
107 |
|
|
108 |
#ifdef FT_USE_RASTER |
#ifdef FT_USE_RASTER |
109 |
FT_USE_MODULE(ft_raster1_renderer_class) |
FT_USE_MODULE(ft_raster1_renderer_class) |
110 |
#endif |
#endif |
119 |
FT_USE_MODULE(ft_smooth_lcdv_renderer_class) |
FT_USE_MODULE(ft_smooth_lcdv_renderer_class) |
120 |
#endif |
#endif |
121 |
|
|
122 |
#ifdef FT_USE_TT |
#ifdef FT_USE_OTV |
123 |
FT_USE_MODULE(tt_driver_class) |
FT_USE_MODULE(otv_module_class) |
124 |
#endif |
#endif |
125 |
|
|
126 |
#ifdef FT_USE_T1 |
#ifdef FT_USE_BDF |
127 |
FT_USE_MODULE(t1_driver_class) |
FT_USE_MODULE(bdf_driver_class) |
|
#endif |
|
|
|
|
|
#ifdef FT_USE_T42 |
|
|
FT_USE_MODULE(t42_driver_class) |
|
|
#endif |
|
|
|
|
|
#ifdef FT_USE_WINFNT |
|
|
FT_USE_MODULE(winfnt_driver_class) |
|
128 |
#endif |
#endif |