Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # modules.cfg |
michael@0 | 2 | # |
michael@0 | 3 | # Copyright 2005-2007, 2009-2011, 2013 by |
michael@0 | 4 | # David Turner, Robert Wilhelm, and Werner Lemberg. |
michael@0 | 5 | # |
michael@0 | 6 | # This file is part of the FreeType project, and may only be used, modified, |
michael@0 | 7 | # and distributed under the terms of the FreeType project license, |
michael@0 | 8 | # LICENSE.TXT. By continuing to use, modify, or distribute this file you |
michael@0 | 9 | # indicate that you have read the license and understand and accept it |
michael@0 | 10 | # fully. |
michael@0 | 11 | # |
michael@0 | 12 | # |
michael@0 | 13 | # In case you compile the FreeType library with GNU make or makepp, this |
michael@0 | 14 | # file controls which components are built into the library. Otherwise, |
michael@0 | 15 | # please read this file for information on the various modules and its |
michael@0 | 16 | # dependencies, then follow the instructions in the file `docs/INSTALL.ANY'. |
michael@0 | 17 | # |
michael@0 | 18 | # To deactivate a module, simply comment out the corresponding line. To |
michael@0 | 19 | # activate a module, remove the comment character. |
michael@0 | 20 | # |
michael@0 | 21 | # Note that many modules and components are further controlled with macros |
michael@0 | 22 | # in the file `include/config/ftoption.h'. |
michael@0 | 23 | |
michael@0 | 24 | |
michael@0 | 25 | #### |
michael@0 | 26 | #### font modules -- at least one is required |
michael@0 | 27 | #### |
michael@0 | 28 | #### The order given here (from top to down) is the order used for testing |
michael@0 | 29 | #### font formats in the compiled library. |
michael@0 | 30 | #### |
michael@0 | 31 | |
michael@0 | 32 | # TrueType font driver. |
michael@0 | 33 | # |
michael@0 | 34 | # This driver needs the `sfnt' module. |
michael@0 | 35 | FONT_MODULES += truetype |
michael@0 | 36 | |
michael@0 | 37 | # PostScript Type 1 font driver. |
michael@0 | 38 | # |
michael@0 | 39 | # This driver needs the `psaux', `pshinter', and `psnames' modules. |
michael@0 | 40 | FONT_MODULES += type1 |
michael@0 | 41 | |
michael@0 | 42 | # CFF/OpenType font driver. |
michael@0 | 43 | # |
michael@0 | 44 | # This driver needs the `sfnt', `pshinter', and `psnames' modules. |
michael@0 | 45 | FONT_MODULES += cff |
michael@0 | 46 | |
michael@0 | 47 | # Type 1 CID-keyed font driver. |
michael@0 | 48 | # |
michael@0 | 49 | # This driver needs the `psaux', `pshinter', and `psnames' modules. |
michael@0 | 50 | FONT_MODULES += cid |
michael@0 | 51 | |
michael@0 | 52 | # PFR/TrueDoc font driver. See optional extension ftpfr.c below also. |
michael@0 | 53 | FONT_MODULES += pfr |
michael@0 | 54 | |
michael@0 | 55 | # PostScript Type 42 font driver. |
michael@0 | 56 | # |
michael@0 | 57 | # This driver needs the `truetype' and `psaux' modules. |
michael@0 | 58 | FONT_MODULES += type42 |
michael@0 | 59 | |
michael@0 | 60 | # Windows FONT/FNT font driver. See optional extension ftwinfnt.c below |
michael@0 | 61 | # also. |
michael@0 | 62 | FONT_MODULES += winfonts |
michael@0 | 63 | |
michael@0 | 64 | # PCF font driver. |
michael@0 | 65 | FONT_MODULES += pcf |
michael@0 | 66 | |
michael@0 | 67 | # BDF font driver. See optional extension ftbdf.c below also. |
michael@0 | 68 | FONT_MODULES += bdf |
michael@0 | 69 | |
michael@0 | 70 | # SFNT files support. If used without `truetype' or `cff', it supports |
michael@0 | 71 | # bitmap-only fonts within an SFNT wrapper. |
michael@0 | 72 | # |
michael@0 | 73 | # This driver needs the `psnames' module. |
michael@0 | 74 | FONT_MODULES += sfnt |
michael@0 | 75 | |
michael@0 | 76 | |
michael@0 | 77 | #### |
michael@0 | 78 | #### hinting modules |
michael@0 | 79 | #### |
michael@0 | 80 | |
michael@0 | 81 | # FreeType's auto hinter. |
michael@0 | 82 | HINTING_MODULES += autofit |
michael@0 | 83 | |
michael@0 | 84 | # PostScript hinter. |
michael@0 | 85 | HINTING_MODULES += pshinter |
michael@0 | 86 | |
michael@0 | 87 | # The TrueType hinting engine doesn't have a module of its own but is |
michael@0 | 88 | # controlled in file include/config/ftoption.h |
michael@0 | 89 | # (TT_CONFIG_OPTION_BYTECODE_INTERPRETER and friends). |
michael@0 | 90 | |
michael@0 | 91 | |
michael@0 | 92 | #### |
michael@0 | 93 | #### raster modules -- at least one is required for vector font formats |
michael@0 | 94 | #### |
michael@0 | 95 | |
michael@0 | 96 | # Monochrome rasterizer. |
michael@0 | 97 | RASTER_MODULES += raster |
michael@0 | 98 | |
michael@0 | 99 | # Anti-aliasing rasterizer. |
michael@0 | 100 | RASTER_MODULES += smooth |
michael@0 | 101 | |
michael@0 | 102 | |
michael@0 | 103 | #### |
michael@0 | 104 | #### auxiliary modules |
michael@0 | 105 | #### |
michael@0 | 106 | |
michael@0 | 107 | # FreeType's cache sub-system (quite stable but still in beta -- this means |
michael@0 | 108 | # that its public API is subject to change if necessary). See |
michael@0 | 109 | # include/ftcache.h. Needs ftglyph.c. |
michael@0 | 110 | AUX_MODULES += cache |
michael@0 | 111 | |
michael@0 | 112 | # TrueType GX/AAT table validation. Needs ftgxval.c below. |
michael@0 | 113 | # AUX_MODULES += gxvalid |
michael@0 | 114 | |
michael@0 | 115 | # Support for streams compressed with gzip (files with suffix .gz). |
michael@0 | 116 | # |
michael@0 | 117 | # See include/ftgzip.h for the API. |
michael@0 | 118 | AUX_MODULES += gzip |
michael@0 | 119 | |
michael@0 | 120 | # Support for streams compressed with LZW (files with suffix .Z). |
michael@0 | 121 | # |
michael@0 | 122 | # See include/ftlzw.h for the API. |
michael@0 | 123 | AUX_MODULES += lzw |
michael@0 | 124 | |
michael@0 | 125 | # Support for streams compressed with bzip2 (files with suffix .bz2). |
michael@0 | 126 | # |
michael@0 | 127 | # See include/ftbzip2.h for the API. |
michael@0 | 128 | AUX_MODULES += bzip2 |
michael@0 | 129 | |
michael@0 | 130 | # OpenType table validation. Needs ftotval.c below. |
michael@0 | 131 | # |
michael@0 | 132 | # AUX_MODULES += otvalid |
michael@0 | 133 | |
michael@0 | 134 | # Auxiliary PostScript driver component to share common code. |
michael@0 | 135 | # |
michael@0 | 136 | # This module depends on `psnames'. |
michael@0 | 137 | AUX_MODULES += psaux |
michael@0 | 138 | |
michael@0 | 139 | # Support for PostScript glyph names. |
michael@0 | 140 | # |
michael@0 | 141 | # This module can be controlled in ftconfig.h |
michael@0 | 142 | # (FT_CONFIG_OPTION_POSTSCRIPT_NAMES). |
michael@0 | 143 | AUX_MODULES += psnames |
michael@0 | 144 | |
michael@0 | 145 | |
michael@0 | 146 | #### |
michael@0 | 147 | #### base module extensions |
michael@0 | 148 | #### |
michael@0 | 149 | |
michael@0 | 150 | # Exact bounding box calculation. |
michael@0 | 151 | # |
michael@0 | 152 | # See include/ftbbox.h for the API. |
michael@0 | 153 | BASE_EXTENSIONS += ftbbox.c |
michael@0 | 154 | |
michael@0 | 155 | # Access BDF-specific strings. Needs BDF font driver. |
michael@0 | 156 | # |
michael@0 | 157 | # See include/ftbdf.h for the API. |
michael@0 | 158 | BASE_EXTENSIONS += ftbdf.c |
michael@0 | 159 | |
michael@0 | 160 | # Utility functions for converting 1bpp, 2bpp, 4bpp, and 8bpp bitmaps into |
michael@0 | 161 | # 8bpp format, and for emboldening of bitmap glyphs. |
michael@0 | 162 | # |
michael@0 | 163 | # See include/ftbitmap.h for the API. |
michael@0 | 164 | BASE_EXTENSIONS += ftbitmap.c |
michael@0 | 165 | |
michael@0 | 166 | # Access CID font information. |
michael@0 | 167 | # |
michael@0 | 168 | # See include/ftcid.h for the API. |
michael@0 | 169 | BASE_EXTENSIONS += ftcid.c |
michael@0 | 170 | |
michael@0 | 171 | # Access FSType information. Needs fttype1.c. |
michael@0 | 172 | # |
michael@0 | 173 | # See include/freetype.h for the API. |
michael@0 | 174 | BASE_EXTENSIONS += ftfstype.c |
michael@0 | 175 | |
michael@0 | 176 | # Support for GASP table queries. |
michael@0 | 177 | # |
michael@0 | 178 | # See include/ftgasp.h for the API. |
michael@0 | 179 | BASE_EXTENSIONS += ftgasp.c |
michael@0 | 180 | |
michael@0 | 181 | # Convenience functions to handle glyphs. Needs ftbitmap.c. |
michael@0 | 182 | # |
michael@0 | 183 | # See include/ftglyph.h for the API. |
michael@0 | 184 | BASE_EXTENSIONS += ftglyph.c |
michael@0 | 185 | |
michael@0 | 186 | # Interface for gxvalid module. |
michael@0 | 187 | # |
michael@0 | 188 | # See include/ftgxval.h for the API. |
michael@0 | 189 | BASE_EXTENSIONS += ftgxval.c |
michael@0 | 190 | |
michael@0 | 191 | # Support for LCD color filtering of subpixel bitmaps. |
michael@0 | 192 | # |
michael@0 | 193 | # See include/ftlcdfil.h for the API. |
michael@0 | 194 | BASE_EXTENSIONS += ftlcdfil.c |
michael@0 | 195 | |
michael@0 | 196 | # Multiple Master font interface. |
michael@0 | 197 | # |
michael@0 | 198 | # See include/ftmm.h for the API. |
michael@0 | 199 | BASE_EXTENSIONS += ftmm.c |
michael@0 | 200 | |
michael@0 | 201 | # Interface for otvalid module. |
michael@0 | 202 | # |
michael@0 | 203 | # See include/ftotval.h for the API. |
michael@0 | 204 | BASE_EXTENSIONS += ftotval.c |
michael@0 | 205 | |
michael@0 | 206 | # Support for FT_Face_CheckTrueTypePatents. |
michael@0 | 207 | # |
michael@0 | 208 | # See include/freetype.h for the API. |
michael@0 | 209 | BASE_EXTENSIONS += ftpatent.c |
michael@0 | 210 | |
michael@0 | 211 | # Interface for accessing PFR-specific data. Needs PFR font driver. |
michael@0 | 212 | # |
michael@0 | 213 | # See include/ftpfr.h for the API. |
michael@0 | 214 | BASE_EXTENSIONS += ftpfr.c |
michael@0 | 215 | |
michael@0 | 216 | # Path stroker. Needs ftglyph.c. |
michael@0 | 217 | # |
michael@0 | 218 | # See include/ftstroke.h for the API. |
michael@0 | 219 | BASE_EXTENSIONS += ftstroke.c |
michael@0 | 220 | |
michael@0 | 221 | # Support for synthetic embolding and slanting of fonts. Needs ftbitmap.c. |
michael@0 | 222 | # |
michael@0 | 223 | # See include/ftsynth.h for the API. |
michael@0 | 224 | BASE_EXTENSIONS += ftsynth.c |
michael@0 | 225 | |
michael@0 | 226 | # Interface to access data specific to PostScript Type 1 and Type 2 (CFF) |
michael@0 | 227 | # fonts. |
michael@0 | 228 | # |
michael@0 | 229 | # See include/t1tables.h for the API. |
michael@0 | 230 | BASE_EXTENSIONS += fttype1.c |
michael@0 | 231 | |
michael@0 | 232 | # Interface for accessing data specific to Windows FNT files. Needs winfnt |
michael@0 | 233 | # driver. |
michael@0 | 234 | # |
michael@0 | 235 | # See include/ftwinfnt.h for the API. |
michael@0 | 236 | BASE_EXTENSIONS += ftwinfnt.c |
michael@0 | 237 | |
michael@0 | 238 | # Support functions for X11. |
michael@0 | 239 | # |
michael@0 | 240 | # See include/ftxf86.h for the API. |
michael@0 | 241 | BASE_EXTENSIONS += ftxf86.c |
michael@0 | 242 | |
michael@0 | 243 | #### |
michael@0 | 244 | #### The components `ftsystem.c' (for memory allocation and stream I/O |
michael@0 | 245 | #### management) and `ftdebug.c' (for emitting debug messages to the user) |
michael@0 | 246 | #### are controlled with the following variables. |
michael@0 | 247 | #### |
michael@0 | 248 | #### ftsystem.c: $(FTSYS_SRC) |
michael@0 | 249 | #### ftdebug.c: $(FTDEBUG_SRC) |
michael@0 | 250 | #### |
michael@0 | 251 | #### Please refer to docs/CUSTOMIZE for details. |
michael@0 | 252 | #### |
michael@0 | 253 | |
michael@0 | 254 | |
michael@0 | 255 | # EOF |