blob: 56a2340e56d187aac4fa2588a0955c302b339913 [file] [log] [blame]
Werner Lemberg59939242006-01-31 20:17:42 +00001# modules.cfg
2#
Werner Lemberg563ae782017-01-04 20:16:34 +01003# Copyright 2005-2017 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
Werner Lemberg392cf222015-06-25 13:04:57 +020022# in the file `include/freetype/config/ftoption.h'.
Werner Lemberg59939242006-01-31 20:17:42 +000023
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.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +020040# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +000041FONT_MODULES += type1
42
43# CFF/OpenType font driver.
44#
Ewald Hew94f6d572017-10-16 11:48:31 +080045# This driver needs the `sfnt', `psaux', `pshinter', and `psnames' modules.
Werner Lemberg59939242006-01-31 20:17:42 +000046FONT_MODULES += cff
47
48# Type 1 CID-keyed font driver.
49#
50# This driver needs the `psaux', `pshinter', and `psnames' modules.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +020051# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +000052FONT_MODULES += cid
53
54# PFR/TrueDoc font driver. See optional extension ftpfr.c below also.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +020055# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +000056FONT_MODULES += pfr
57
58# PostScript Type 42 font driver.
59#
Werner Lemberg930e9bf2011-11-26 13:38:26 +010060# This driver needs the `truetype' and `psaux' modules.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +020061# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +000062FONT_MODULES += type42
63
64# Windows FONT/FNT font driver. See optional extension ftwinfnt.c below
65# also.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +020066# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +000067FONT_MODULES += winfonts
68
69# PCF font driver.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +020070# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +000071FONT_MODULES += pcf
72
73# BDF font driver. See optional extension ftbdf.c below also.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +020074# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +000075FONT_MODULES += bdf
76
77# SFNT files support. If used without `truetype' or `cff', it supports
78# bitmap-only fonts within an SFNT wrapper.
79#
80# This driver needs the `psnames' module.
81FONT_MODULES += sfnt
82
83
84####
85#### hinting modules
86####
87
88# FreeType's auto hinter.
89HINTING_MODULES += autofit
90
91# PostScript hinter.
92HINTING_MODULES += pshinter
93
94# The TrueType hinting engine doesn't have a module of its own but is
Werner Lemberg392cf222015-06-25 13:04:57 +020095# controlled in file include/freetype/config/ftoption.h
Werner Lemberg59939242006-01-31 20:17:42 +000096# (TT_CONFIG_OPTION_BYTECODE_INTERPRETER and friends).
97
98
99####
100#### raster modules -- at least one is required for vector font formats
101####
102
103# Monochrome rasterizer.
104RASTER_MODULES += raster
105
106# Anti-aliasing rasterizer.
107RASTER_MODULES += smooth
108
109
110####
111#### auxiliary modules
112####
113
114# FreeType's cache sub-system (quite stable but still in beta -- this means
115# that its public API is subject to change if necessary). See
Werner Lemberg392cf222015-06-25 13:04:57 +0200116# include/freetype/ftcache.h. Needs ftglyph.c.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +0200117# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +0000118AUX_MODULES += cache
119
120# TrueType GX/AAT table validation. Needs ftgxval.c below.
Werner Lemberg3ec64652016-08-28 11:02:00 +0200121#
Werner Lemberga6ee6fe2016-08-28 18:51:50 +0200122# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +0000123# AUX_MODULES += gxvalid
124
125# Support for streams compressed with gzip (files with suffix .gz).
126#
Werner Lemberg392cf222015-06-25 13:04:57 +0200127# See include/freetype/ftgzip.h for the API.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +0200128# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +0000129AUX_MODULES += gzip
130
131# Support for streams compressed with LZW (files with suffix .Z).
132#
Werner Lemberg392cf222015-06-25 13:04:57 +0200133# See include/freetype/ftlzw.h for the API.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +0200134# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +0000135AUX_MODULES += lzw
136
Joel Klingheded913c22010-12-31 16:59:33 +0100137# Support for streams compressed with bzip2 (files with suffix .bz2).
138#
Werner Lemberg392cf222015-06-25 13:04:57 +0200139# See include/freetype/ftbzip2.h for the API.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +0200140# No FT_CONFIG_OPTION_PIC support.
Joel Klingheded913c22010-12-31 16:59:33 +0100141AUX_MODULES += bzip2
142
Werner Lemberg59939242006-01-31 20:17:42 +0000143# OpenType table validation. Needs ftotval.c below.
144#
Werner Lemberga6ee6fe2016-08-28 18:51:50 +0200145# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +0000146# AUX_MODULES += otvalid
147
148# Auxiliary PostScript driver component to share common code.
149#
150# This module depends on `psnames'.
Werner Lemberga6ee6fe2016-08-28 18:51:50 +0200151# No FT_CONFIG_OPTION_PIC support.
Werner Lemberg59939242006-01-31 20:17:42 +0000152AUX_MODULES += psaux
153
154# Support for PostScript glyph names.
155#
156# This module can be controlled in ftconfig.h
157# (FT_CONFIG_OPTION_POSTSCRIPT_NAMES).
158AUX_MODULES += psnames
159
160
161####
162#### base module extensions
163####
164
165# Exact bounding box calculation.
166#
Werner Lemberg392cf222015-06-25 13:04:57 +0200167# See include/freetype/ftbbox.h for the API.
Werner Lemberg59939242006-01-31 20:17:42 +0000168BASE_EXTENSIONS += ftbbox.c
169
170# Access BDF-specific strings. Needs BDF font driver.
171#
Werner Lemberg392cf222015-06-25 13:04:57 +0200172# See include/freetype/ftbdf.h for the API.
Werner Lemberg59939242006-01-31 20:17:42 +0000173BASE_EXTENSIONS += ftbdf.c
174
175# Utility functions for converting 1bpp, 2bpp, 4bpp, and 8bpp bitmaps into
Werner Lemberg9884fae2006-09-29 22:13:21 +0000176# 8bpp format, and for emboldening of bitmap glyphs.
Werner Lemberg59939242006-01-31 20:17:42 +0000177#
Werner Lemberg392cf222015-06-25 13:04:57 +0200178# See include/freetype/ftbitmap.h for the API.
Werner Lemberg59939242006-01-31 20:17:42 +0000179BASE_EXTENSIONS += ftbitmap.c
180
Werner Lemberg5184ed62009-01-22 10:13:59 +0000181# Access CID font information.
182#
Werner Lemberg392cf222015-06-25 13:04:57 +0200183# See include/freetype/ftcid.h for the API.
Werner Lemberg5184ed62009-01-22 10:13:59 +0000184BASE_EXTENSIONS += ftcid.c
185
Werner Lembergf4d1c112015-03-11 07:32:58 +0100186# Support functions for font formats.
Werner Lemberg06339952015-03-11 06:30:23 +0100187#
Werner Lemberg392cf222015-06-25 13:04:57 +0200188# See include/freetype/ftfntfmt.h for the API.
Werner Lemberg06339952015-03-11 06:30:23 +0100189BASE_EXTENSIONS += ftfntfmt.c
190
Werner Lemberg5184ed62009-01-22 10:13:59 +0000191# Access FSType information. Needs fttype1.c.
192#
Werner Lemberg392cf222015-06-25 13:04:57 +0200193# See include/freetype/freetype.h for the API.
Werner Lemberg5184ed62009-01-22 10:13:59 +0000194BASE_EXTENSIONS += ftfstype.c
195
196# Support for GASP table queries.
197#
Werner Lemberg392cf222015-06-25 13:04:57 +0200198# See include/freetype/ftgasp.h for the API.
Werner Lemberg5184ed62009-01-22 10:13:59 +0000199BASE_EXTENSIONS += ftgasp.c
200
201# Convenience functions to handle glyphs. Needs ftbitmap.c.
Werner Lemberg59939242006-01-31 20:17:42 +0000202#
Werner Lemberg392cf222015-06-25 13:04:57 +0200203# See include/freetype/ftglyph.h for the API.
Werner Lemberg59939242006-01-31 20:17:42 +0000204BASE_EXTENSIONS += ftglyph.c
205
Werner Lemberg5184ed62009-01-22 10:13:59 +0000206# Interface for gxvalid module.
Werner Lemberg59939242006-01-31 20:17:42 +0000207#
Werner Lemberg392cf222015-06-25 13:04:57 +0200208# See include/freetype/ftgxval.h for the API.
Suzuki, Toshiya (鈴木俊哉)f1e96062006-08-15 17:02:47 +0000209BASE_EXTENSIONS += ftgxval.c
Werner Lemberg59939242006-01-31 20:17:42 +0000210
Werner Lemberg5184ed62009-01-22 10:13:59 +0000211# Support for LCD color filtering of subpixel bitmaps.
212#
Werner Lemberg392cf222015-06-25 13:04:57 +0200213# See include/freetype/ftlcdfil.h for the API.
Werner Lemberg5184ed62009-01-22 10:13:59 +0000214BASE_EXTENSIONS += ftlcdfil.c
215
Werner Lemberg59939242006-01-31 20:17:42 +0000216# Multiple Master font interface.
217#
Werner Lemberg392cf222015-06-25 13:04:57 +0200218# See include/freetype/ftmm.h for the API.
Werner Lemberg59939242006-01-31 20:17:42 +0000219BASE_EXTENSIONS += ftmm.c
220
Werner Lemberg5184ed62009-01-22 10:13:59 +0000221# Interface for otvalid module.
Werner Lemberg59939242006-01-31 20:17:42 +0000222#
Werner Lemberg392cf222015-06-25 13:04:57 +0200223# See include/freetype/ftotval.h for the API.
Wu, Chia-I (吳佳一)facd9af2006-02-22 07:59:35 +0000224BASE_EXTENSIONS += ftotval.c
Werner Lemberg59939242006-01-31 20:17:42 +0000225
Werner Lemberg5184ed62009-01-22 10:13:59 +0000226# Support for FT_Face_CheckTrueTypePatents.
227#
Werner Lemberg392cf222015-06-25 13:04:57 +0200228# See include/freetype/freetype.h for the API.
Werner Lemberg5184ed62009-01-22 10:13:59 +0000229BASE_EXTENSIONS += ftpatent.c
230
Werner Lemberg59939242006-01-31 20:17:42 +0000231# Interface for accessing PFR-specific data. Needs PFR font driver.
232#
Werner Lemberg392cf222015-06-25 13:04:57 +0200233# See include/freetype/ftpfr.h for the API.
Werner Lemberg59939242006-01-31 20:17:42 +0000234BASE_EXTENSIONS += ftpfr.c
235
Werner Lemberg5184ed62009-01-22 10:13:59 +0000236# Path stroker. Needs ftglyph.c.
Werner Lemberg59939242006-01-31 20:17:42 +0000237#
Werner Lemberg392cf222015-06-25 13:04:57 +0200238# See include/freetype/ftstroke.h for the API.
Werner Lemberg59939242006-01-31 20:17:42 +0000239BASE_EXTENSIONS += ftstroke.c
240
Alexei Podtelezhnikov983fb0d2017-01-24 23:56:59 -0500241# Support for synthetic emboldening and slanting of fonts. Needs ftbitmap.c.
Werner Lemberg59939242006-01-31 20:17:42 +0000242#
Werner Lemberg392cf222015-06-25 13:04:57 +0200243# See include/freetype/ftsynth.h for the API.
Werner Lemberg59939242006-01-31 20:17:42 +0000244BASE_EXTENSIONS += ftsynth.c
245
246# Interface to access data specific to PostScript Type 1 and Type 2 (CFF)
247# fonts.
248#
Werner Lemberg392cf222015-06-25 13:04:57 +0200249# See include/freetype/t1tables.h for the API.
Werner Lemberg59939242006-01-31 20:17:42 +0000250BASE_EXTENSIONS += fttype1.c
251
252# Interface for accessing data specific to Windows FNT files. Needs winfnt
253# driver.
254#
Werner Lemberg392cf222015-06-25 13:04:57 +0200255# See include/freetype/ftwinfnt.h for the API.
Werner Lemberg59939242006-01-31 20:17:42 +0000256BASE_EXTENSIONS += ftwinfnt.c
257
Werner Lemberg59939242006-01-31 20:17:42 +0000258####
259#### The components `ftsystem.c' (for memory allocation and stream I/O
260#### management) and `ftdebug.c' (for emitting debug messages to the user)
261#### are controlled with the following variables.
262####
263#### ftsystem.c: $(FTSYS_SRC)
264#### ftdebug.c: $(FTDEBUG_SRC)
265####
266#### Please refer to docs/CUSTOMIZE for details.
267####
268
269
270# EOF