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