1 /***************************************************************************/ 2 /* */ 3 /* ftmodule.h */ 4 /* */ 5 /* Amiga-specific FreeType module selection. */ 6 /* */ 7 /* Copyright 2005-2018 by */ 8 /* Werner Lemberg and Detlef W�rkner. */ 9 /* */ 10 /* This file is part of the FreeType project, and may only be used, */ 11 /* modified, and distributed under the terms of the FreeType project */ 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 /* this file you indicate that you have read the license and */ 14 /* understand and accept it fully. */ 15 /* */ 16 /***************************************************************************/ 17 18 /* 19 * To avoid that all your programs include all FreeType modules, 20 * you copy the following piece of source code into your own 21 * source file and specify which modules you really need in your 22 * application by uncommenting the appropriate lines. 23 */ 24 /* 25 //#define FT_USE_AUTOFIT // autofitter 26 //#define FT_USE_RASTER // monochrome rasterizer 27 //#define FT_USE_SMOOTH // anti-aliasing rasterizer 28 //#define FT_USE_TT // truetype font driver 29 //#define FT_USE_T1 // type1 font driver 30 //#define FT_USE_T42 // type42 font driver 31 //#define FT_USE_T1CID // cid-keyed type1 font driver // no cmap support 32 //#define FT_USE_CFF // opentype font driver 33 //#define FT_USE_BDF // bdf bitmap font driver 34 //#define FT_USE_PCF // pcf bitmap font driver 35 //#define FT_USE_PFR // pfr font driver 36 //#define FT_USE_WINFNT // windows .fnt|.fon bitmap font driver 37 //#define FT_USE_OTV // opentype validator 38 //#define FT_USE_GXV // truetype gx validator 39 #include "FT:src/base/ftinit.c" 40 */ 41 42 /* Make sure that the needed support modules are built in. 43 * Dependencies can be found by searching for FT_Get_Module. 44 */ 45 46 #ifdef FT_USE_T42 47 #define FT_USE_TT 48 #endif 49 50 #ifdef FT_USE_TT 51 #define FT_USE_SFNT 52 #endif 53 54 #ifdef FT_USE_CFF 55 #define FT_USE_SFNT 56 #define FT_USE_PSHINT 57 #define FT_USE_PSNAMES 58 #endif 59 60 #ifdef FT_USE_T1 61 #define FT_USE_PSAUX 62 #define FT_USE_PSHINT 63 #define FT_USE_PSNAMES 64 #endif 65 66 #ifdef FT_USE_T1CID 67 #define FT_USE_PSAUX 68 #define FT_USE_PSHINT 69 #define FT_USE_PSNAMES 70 #endif 71 72 #ifdef FT_USE_PSAUX 73 #define FT_USE_PSNAMES 74 #endif 75 76 #ifdef FT_USE_SFNT 77 #define FT_USE_PSNAMES 78 #endif 79 80 /* Now include the modules */ 81 82 #ifdef FT_USE_AUTOFIT 83 FT_USE_MODULE( FT_Module_Class, autofit_module_class ) 84 #endif 85 86 #ifdef FT_USE_TT 87 FT_USE_MODULE( FT_Driver_ClassRec, tt_driver_class ) 88 #endif 89 90 #ifdef FT_USE_T1 91 FT_USE_MODULE( FT_Driver_ClassRec, t1_driver_class ) 92 #endif 93 94 #ifdef FT_USE_CFF 95 FT_USE_MODULE( FT_Driver_ClassRec, cff_driver_class ) 96 #endif 97 98 #ifdef FT_USE_T1CID 99 FT_USE_MODULE( FT_Driver_ClassRec, t1cid_driver_class ) 100 #endif 101 102 #ifdef FT_USE_PFR 103 FT_USE_MODULE( FT_Driver_ClassRec, pfr_driver_class ) 104 #endif 105 106 #ifdef FT_USE_T42 107 FT_USE_MODULE( FT_Driver_ClassRec, t42_driver_class ) 108 #endif 109 110 #ifdef FT_USE_WINFNT 111 FT_USE_MODULE( FT_Driver_ClassRec, winfnt_driver_class ) 112 #endif 113 114 #ifdef FT_USE_PCF 115 FT_USE_MODULE( FT_Driver_ClassRec, pcf_driver_class ) 116 #endif 117 118 #ifdef FT_USE_PSAUX 119 FT_USE_MODULE( FT_Module_Class, psaux_module_class ) 120 #endif 121 122 #ifdef FT_USE_PSNAMES 123 FT_USE_MODULE( FT_Module_Class, psnames_module_class ) 124 #endif 125 126 #ifdef FT_USE_PSHINT 127 FT_USE_MODULE( FT_Module_Class, pshinter_module_class ) 128 #endif 129 130 #ifdef FT_USE_RASTER 131 FT_USE_MODULE( FT_Renderer_Class, ft_raster1_renderer_class ) 132 #endif 133 134 #ifdef FT_USE_SFNT 135 FT_USE_MODULE( FT_Module_Class, sfnt_module_class ) 136 #endif 137 138 #ifdef FT_USE_SMOOTH 139 FT_USE_MODULE( FT_Renderer_Class, ft_smooth_renderer_class ) 140 FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcd_renderer_class ) 141 FT_USE_MODULE( FT_Renderer_Class, ft_smooth_lcdv_renderer_class ) 142 #endif 143 144 #ifdef FT_USE_OTV 145 FT_USE_MODULE( FT_Module_Class, otv_module_class ) 146 #endif 147 148 #ifdef FT_USE_BDF 149 FT_USE_MODULE( FT_Driver_ClassRec, bdf_driver_class ) 150 #endif 151 152 #ifdef FT_USE_GXV 153 FT_USE_MODULE( FT_Module_Class, gxv_module_class ) 154 #endif 155 156 /* 157 Local Variables: 158 coding: latin-1 159 End: 160 */ 161