blob: 525866adb998b49b3f71b665f28cbf6da870704a [file] [log] [blame]
Werner Lemberg59939242006-01-31 20:17:42 +00001# modules.cfg
2#
Werner Lembergcc7f12a2007-01-09 10:37:36 +00003# Copyright 2005, 2006, 2007 by
Werner Lemberg59939242006-01-31 20:17:42 +00004# 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/freetype/config/ftoption.h'.
23
24
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####
31
32# TrueType font driver.
33#
34# This driver needs the `sfnt' module.
35FONT_MODULES += truetype
36
37# PostScript Type 1 font driver.
38#
39# This driver needs the `psaux', `pshinter', and `psnames' modules.
40FONT_MODULES += type1
41
42# CFF/OpenType font driver.
43#
44# This driver needs the `sfnt', `pshinter', and `psnames' modules.
45FONT_MODULES += cff
46
47# Type 1 CID-keyed font driver.
48#
49# This driver needs the `psaux', `pshinter', and `psnames' modules.
50FONT_MODULES += cid
51
52# PFR/TrueDoc font driver. See optional extension ftpfr.c below also.
53FONT_MODULES += pfr
54
55# PostScript Type 42 font driver.
56#
57# This driver needs the `truetype' module.
58FONT_MODULES += type42
59
60# Windows FONT/FNT font driver. See optional extension ftwinfnt.c below
61# also.
62FONT_MODULES += winfonts
63
64# PCF font driver.
65FONT_MODULES += pcf
66
67# BDF font driver. See optional extension ftbdf.c below also.
68FONT_MODULES += bdf
69
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.
74FONT_MODULES += sfnt
75
76
77####
78#### hinting modules
79####
80
81# FreeType's auto hinter.
82HINTING_MODULES += autofit
83
84# PostScript hinter.
85HINTING_MODULES += pshinter
86
87# The TrueType hinting engine doesn't have a module of its own but is
88# controlled in file include/freetype/config/ftoption.h
89# (TT_CONFIG_OPTION_BYTECODE_INTERPRETER and friends).
90
91
92####
93#### raster modules -- at least one is required for vector font formats
94####
95
96# Monochrome rasterizer.
97RASTER_MODULES += raster
98
99# Anti-aliasing rasterizer.
100RASTER_MODULES += smooth
101
102
103####
104#### auxiliary modules
105####
106
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/freetype/ftcache.h.
110AUX_MODULES += cache
111
112# TrueType GX/AAT table validation. Needs ftgxval.c below.
113# AUX_MODULES += gxvalid
114
115# Support for streams compressed with gzip (files with suffix .gz).
116#
117# See include/freetype/ftgzip.h for the API.
118AUX_MODULES += gzip
119
120# Support for streams compressed with LZW (files with suffix .Z).
121#
122# See include/freetype/ftlzw.h for the API.
123AUX_MODULES += lzw
124
125# OpenType table validation. Needs ftotval.c below.
126#
127# AUX_MODULES += otvalid
128
129# Auxiliary PostScript driver component to share common code.
130#
131# This module depends on `psnames'.
132AUX_MODULES += psaux
133
134# Support for PostScript glyph names.
135#
136# This module can be controlled in ftconfig.h
137# (FT_CONFIG_OPTION_POSTSCRIPT_NAMES).
138AUX_MODULES += psnames
139
140
141####
142#### base module extensions
143####
144
145# Exact bounding box calculation.
146#
147# See include/freetype/ftbbox.h for the API.
148BASE_EXTENSIONS += ftbbox.c
149
150# Access BDF-specific strings. Needs BDF font driver.
151#
152# See include/freetype/ftbdf.h for the API.
153BASE_EXTENSIONS += ftbdf.c
154
Werner Lembergef915c32007-07-16 20:46:05 +0000155# Access CID font information.
156#
157# See include/freetype/ftcid.h for the API.
158BASE_EXTENSIONS += ftcid.c
159
Werner Lemberg59939242006-01-31 20:17:42 +0000160# Utility functions for converting 1bpp, 2bpp, 4bpp, and 8bpp bitmaps into
Werner Lemberg9884fae2006-09-29 22:13:21 +0000161# 8bpp format, and for emboldening of bitmap glyphs.
Werner Lemberg59939242006-01-31 20:17:42 +0000162#
David Turner87e4b332006-09-27 08:45:49 +0000163# See include/freetype/ftbitmap.h for the API.
Werner Lemberg59939242006-01-31 20:17:42 +0000164BASE_EXTENSIONS += ftbitmap.c
165
166# Convenience functions to handle glyphs.
167#
168# See include/freetype/ftglyph.h for the API.
169BASE_EXTENSIONS += ftglyph.c
170
171# Interface for gxvalid module (which is required).
172#
173# See include/freetype/ftgxval.h for the API.
Suzuki, Toshiya (鈴木俊哉)f1e96062006-08-15 17:02:47 +0000174BASE_EXTENSIONS += ftgxval.c
Werner Lemberg59939242006-01-31 20:17:42 +0000175
176# Multiple Master font interface.
177#
178# See include/freetype/ftmm.h for the API.
179BASE_EXTENSIONS += ftmm.c
180
181# Interface for otvalid module (which is required).
182#
183# See include/freetype/ftotval.h for the API.
Wu, Chia-I (吳佳一)facd9af2006-02-22 07:59:35 +0000184BASE_EXTENSIONS += ftotval.c
Werner Lemberg59939242006-01-31 20:17:42 +0000185
186# Interface for accessing PFR-specific data. Needs PFR font driver.
187#
188# See include/freetype/ftpfr.h for the API.
189BASE_EXTENSIONS += ftpfr.c
190
191# Path stroker.
192#
193# See include/freetype/ftstroke.h for the API.
194BASE_EXTENSIONS += ftstroke.c
195
196# Support for synthetic embolding and slanting of fonts.
197#
198# See include/freetype/ftsynth.h for the API.
199BASE_EXTENSIONS += ftsynth.c
200
201# Interface to access data specific to PostScript Type 1 and Type 2 (CFF)
202# fonts.
203#
204# See include/freetype/t1tables.h for the API.
205BASE_EXTENSIONS += fttype1.c
206
207# Interface for accessing data specific to Windows FNT files. Needs winfnt
208# driver.
209#
210# See include/freetype/ftwinfnt.h for the API.
211BASE_EXTENSIONS += ftwinfnt.c
212
Werner Lemberg53935932007-01-31 08:53:02 +0000213# Support functions for X11.
Werner Lemberg59939242006-01-31 20:17:42 +0000214#
215# See include/freetype/ftxf86.h for the API.
Wu, Chia-I (吳佳一)facd9af2006-02-22 07:59:35 +0000216BASE_EXTENSIONS += ftxf86.c
Werner Lemberg59939242006-01-31 20:17:42 +0000217
Werner Lemberg23df31a2007-01-13 08:45:00 +0000218# Support for LCD color filtering of subpixel bitmaps.
David Turner87e4b332006-09-27 08:45:49 +0000219#
220# See include/freetype/ftlcdfil.h for the API.
221BASE_EXTENSIONS += ftlcdfil.c
222
Werner Lemberg23df31a2007-01-13 08:45:00 +0000223# Support for GASP table queries.
David Turnerf48b60e2007-01-08 15:15:32 +0000224#
Werner Lemberg23df31a2007-01-13 08:45:00 +0000225# See include/freetype/ftgasp.h for the API.
David Turnerf48b60e2007-01-08 15:15:32 +0000226BASE_EXTENSIONS += ftgasp.c
Werner Lemberg59939242006-01-31 20:17:42 +0000227
Werner Lembergf6c120f2007-06-11 04:55:58 +0000228# Support for FT_Face_CheckTrueTypePatents.
David Turner84c6f882007-06-10 20:51:04 +0000229#
230# See include/freetype.h for the API.
231BASE_EXTENSIONS += ftpatent.c
232
Werner Lemberg59939242006-01-31 20:17:42 +0000233####
234#### The components `ftsystem.c' (for memory allocation and stream I/O
235#### management) and `ftdebug.c' (for emitting debug messages to the user)
236#### are controlled with the following variables.
237####
238#### ftsystem.c: $(FTSYS_SRC)
239#### ftdebug.c: $(FTDEBUG_SRC)
240####
241#### Please refer to docs/CUSTOMIZE for details.
242####
243
244
245# EOF