1# modules.cfg 2# 3# Copyright (C) 2005-2021 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/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', `psaux', `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' and `psaux' modules. 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. If debugging and tracing is enabled, needs `ftbitmap.c'. 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# Anti-aliasing rasterizer. 97RASTER_MODULES += smooth 98 99# Monochrome rasterizer. 100RASTER_MODULES += raster 101 102# Signed distance field rasterizer. 103RASTER_MODULES += sdf 104 105 106#### 107#### auxiliary modules 108#### 109 110# FreeType's cache sub-system (quite stable but still in beta -- this means 111# that its public API is subject to change if necessary). See 112# include/freetype/ftcache.h. Needs `ftglyph.c'. 113AUX_MODULES += cache 114 115# TrueType GX/AAT table validation. Needs `ftgxval.c' below. 116# 117# AUX_MODULES += gxvalid 118 119# Support for streams compressed with gzip (files with suffix .gz). 120# 121# See include/freetype/ftgzip.h for the API. 122AUX_MODULES += gzip 123 124# Support for streams compressed with LZW (files with suffix .Z). 125# 126# See include/freetype/ftlzw.h for the API. 127AUX_MODULES += lzw 128 129# Support for streams compressed with bzip2 (files with suffix .bz2). 130# 131# See include/freetype/ftbzip2.h for the API. 132AUX_MODULES += bzip2 133 134# OpenType table validation. Needs `ftotval.c' below. 135# 136# AUX_MODULES += otvalid 137 138# Auxiliary PostScript driver component to share common code. 139# 140# This module depends on `psnames'. 141AUX_MODULES += psaux 142 143# Support for PostScript glyph names. 144# 145# This module can be controlled in ftconfig.h 146# (FT_CONFIG_OPTION_POSTSCRIPT_NAMES). 147AUX_MODULES += psnames 148 149 150#### 151#### base module extensions 152#### 153 154# Exact bounding box calculation. 155# 156# See include/freetype/ftbbox.h for the API. 157BASE_EXTENSIONS += ftbbox.c 158 159# Access BDF-specific strings. Needs BDF font driver. 160# 161# See include/freetype/ftbdf.h for the API. 162BASE_EXTENSIONS += ftbdf.c 163 164# Utility functions for converting 1bpp, 2bpp, 4bpp, and 8bpp bitmaps into 165# 8bpp format, and for emboldening of bitmap glyphs. 166# 167# See include/freetype/ftbitmap.h for the API. 168BASE_EXTENSIONS += ftbitmap.c 169 170# Access CID font information. 171# 172# See include/freetype/ftcid.h for the API. 173BASE_EXTENSIONS += ftcid.c 174 175# Access FSType information. Needs `fttype1.c'. 176# 177# See include/freetype/freetype.h for the API. 178BASE_EXTENSIONS += ftfstype.c 179 180# Support for GASP table queries. 181# 182# See include/freetype/ftgasp.h for the API. 183BASE_EXTENSIONS += ftgasp.c 184 185# Convenience functions to handle glyphs. Needs `ftbitmap.c'. 186# 187# See include/freetype/ftglyph.h for the API. 188BASE_EXTENSIONS += ftglyph.c 189 190# Interface for gxvalid module. 191# 192# See include/freetype/ftgxval.h for the API. 193BASE_EXTENSIONS += ftgxval.c 194 195# Multiple Master font interface. 196# 197# See include/freetype/ftmm.h for the API. 198BASE_EXTENSIONS += ftmm.c 199 200# Interface for otvalid module. 201# 202# See include/freetype/ftotval.h for the API. 203BASE_EXTENSIONS += ftotval.c 204 205# Support for FT_Face_CheckTrueTypePatents. 206# 207# See include/freetype/freetype.h for the API. 208BASE_EXTENSIONS += ftpatent.c 209 210# Interface for accessing PFR-specific data. Needs PFR font driver. 211# 212# See include/freetype/ftpfr.h for the API. 213BASE_EXTENSIONS += ftpfr.c 214 215# Path stroker. Needs `ftglyph.c'. 216# 217# See include/freetype/ftstroke.h for the API. 218BASE_EXTENSIONS += ftstroke.c 219 220# Support for synthetic emboldening and slanting of fonts. Needs 221# `ftbitmap.c'. 222# 223# See include/freetype/ftsynth.h for the API. 224BASE_EXTENSIONS += ftsynth.c 225 226# Interface to access data specific to PostScript Type 1 and Type 2 (CFF) 227# fonts. 228# 229# See include/freetype/t1tables.h for the API. 230BASE_EXTENSIONS += fttype1.c 231 232# Interface for accessing data specific to Windows FNT files. Needs winfnt 233# driver. 234# 235# See include/freetype/ftwinfnt.h for the API. 236BASE_EXTENSIONS += ftwinfnt.c 237 238#### 239#### The components `ftsystem.c' (for memory allocation and stream I/O 240#### management) and `ftdebug.c' (for emitting debug messages to the user) 241#### are controlled with the following variables. 242#### 243#### ftsystem.c: $(FTSYS_SRC) 244#### ftdebug.c: $(FTDEBUG_SRC) 245#### 246#### Please refer to docs/CUSTOMIZE for details. 247#### 248 249 250# EOF 251