michael@0: # modules.cfg michael@0: # michael@0: # Copyright 2005-2007, 2009-2011, 2013 by michael@0: # David Turner, Robert Wilhelm, and Werner Lemberg. michael@0: # michael@0: # This file is part of the FreeType project, and may only be used, modified, michael@0: # and distributed under the terms of the FreeType project license, michael@0: # LICENSE.TXT. By continuing to use, modify, or distribute this file you michael@0: # indicate that you have read the license and understand and accept it michael@0: # fully. michael@0: # michael@0: # michael@0: # In case you compile the FreeType library with GNU make or makepp, this michael@0: # file controls which components are built into the library. Otherwise, michael@0: # please read this file for information on the various modules and its michael@0: # dependencies, then follow the instructions in the file `docs/INSTALL.ANY'. michael@0: # michael@0: # To deactivate a module, simply comment out the corresponding line. To michael@0: # activate a module, remove the comment character. michael@0: # michael@0: # Note that many modules and components are further controlled with macros michael@0: # in the file `include/config/ftoption.h'. michael@0: michael@0: michael@0: #### michael@0: #### font modules -- at least one is required michael@0: #### michael@0: #### The order given here (from top to down) is the order used for testing michael@0: #### font formats in the compiled library. michael@0: #### michael@0: michael@0: # TrueType font driver. michael@0: # michael@0: # This driver needs the `sfnt' module. michael@0: FONT_MODULES += truetype michael@0: michael@0: # PostScript Type 1 font driver. michael@0: # michael@0: # This driver needs the `psaux', `pshinter', and `psnames' modules. michael@0: FONT_MODULES += type1 michael@0: michael@0: # CFF/OpenType font driver. michael@0: # michael@0: # This driver needs the `sfnt', `pshinter', and `psnames' modules. michael@0: FONT_MODULES += cff michael@0: michael@0: # Type 1 CID-keyed font driver. michael@0: # michael@0: # This driver needs the `psaux', `pshinter', and `psnames' modules. michael@0: FONT_MODULES += cid michael@0: michael@0: # PFR/TrueDoc font driver. See optional extension ftpfr.c below also. michael@0: FONT_MODULES += pfr michael@0: michael@0: # PostScript Type 42 font driver. michael@0: # michael@0: # This driver needs the `truetype' and `psaux' modules. michael@0: FONT_MODULES += type42 michael@0: michael@0: # Windows FONT/FNT font driver. See optional extension ftwinfnt.c below michael@0: # also. michael@0: FONT_MODULES += winfonts michael@0: michael@0: # PCF font driver. michael@0: FONT_MODULES += pcf michael@0: michael@0: # BDF font driver. See optional extension ftbdf.c below also. michael@0: FONT_MODULES += bdf michael@0: michael@0: # SFNT files support. If used without `truetype' or `cff', it supports michael@0: # bitmap-only fonts within an SFNT wrapper. michael@0: # michael@0: # This driver needs the `psnames' module. michael@0: FONT_MODULES += sfnt michael@0: michael@0: michael@0: #### michael@0: #### hinting modules michael@0: #### michael@0: michael@0: # FreeType's auto hinter. michael@0: HINTING_MODULES += autofit michael@0: michael@0: # PostScript hinter. michael@0: HINTING_MODULES += pshinter michael@0: michael@0: # The TrueType hinting engine doesn't have a module of its own but is michael@0: # controlled in file include/config/ftoption.h michael@0: # (TT_CONFIG_OPTION_BYTECODE_INTERPRETER and friends). michael@0: michael@0: michael@0: #### michael@0: #### raster modules -- at least one is required for vector font formats michael@0: #### michael@0: michael@0: # Monochrome rasterizer. michael@0: RASTER_MODULES += raster michael@0: michael@0: # Anti-aliasing rasterizer. michael@0: RASTER_MODULES += smooth michael@0: michael@0: michael@0: #### michael@0: #### auxiliary modules michael@0: #### michael@0: michael@0: # FreeType's cache sub-system (quite stable but still in beta -- this means michael@0: # that its public API is subject to change if necessary). See michael@0: # include/ftcache.h. Needs ftglyph.c. michael@0: AUX_MODULES += cache michael@0: michael@0: # TrueType GX/AAT table validation. Needs ftgxval.c below. michael@0: # AUX_MODULES += gxvalid michael@0: michael@0: # Support for streams compressed with gzip (files with suffix .gz). michael@0: # michael@0: # See include/ftgzip.h for the API. michael@0: AUX_MODULES += gzip michael@0: michael@0: # Support for streams compressed with LZW (files with suffix .Z). michael@0: # michael@0: # See include/ftlzw.h for the API. michael@0: AUX_MODULES += lzw michael@0: michael@0: # Support for streams compressed with bzip2 (files with suffix .bz2). michael@0: # michael@0: # See include/ftbzip2.h for the API. michael@0: AUX_MODULES += bzip2 michael@0: michael@0: # OpenType table validation. Needs ftotval.c below. michael@0: # michael@0: # AUX_MODULES += otvalid michael@0: michael@0: # Auxiliary PostScript driver component to share common code. michael@0: # michael@0: # This module depends on `psnames'. michael@0: AUX_MODULES += psaux michael@0: michael@0: # Support for PostScript glyph names. michael@0: # michael@0: # This module can be controlled in ftconfig.h michael@0: # (FT_CONFIG_OPTION_POSTSCRIPT_NAMES). michael@0: AUX_MODULES += psnames michael@0: michael@0: michael@0: #### michael@0: #### base module extensions michael@0: #### michael@0: michael@0: # Exact bounding box calculation. michael@0: # michael@0: # See include/ftbbox.h for the API. michael@0: BASE_EXTENSIONS += ftbbox.c michael@0: michael@0: # Access BDF-specific strings. Needs BDF font driver. michael@0: # michael@0: # See include/ftbdf.h for the API. michael@0: BASE_EXTENSIONS += ftbdf.c michael@0: michael@0: # Utility functions for converting 1bpp, 2bpp, 4bpp, and 8bpp bitmaps into michael@0: # 8bpp format, and for emboldening of bitmap glyphs. michael@0: # michael@0: # See include/ftbitmap.h for the API. michael@0: BASE_EXTENSIONS += ftbitmap.c michael@0: michael@0: # Access CID font information. michael@0: # michael@0: # See include/ftcid.h for the API. michael@0: BASE_EXTENSIONS += ftcid.c michael@0: michael@0: # Access FSType information. Needs fttype1.c. michael@0: # michael@0: # See include/freetype.h for the API. michael@0: BASE_EXTENSIONS += ftfstype.c michael@0: michael@0: # Support for GASP table queries. michael@0: # michael@0: # See include/ftgasp.h for the API. michael@0: BASE_EXTENSIONS += ftgasp.c michael@0: michael@0: # Convenience functions to handle glyphs. Needs ftbitmap.c. michael@0: # michael@0: # See include/ftglyph.h for the API. michael@0: BASE_EXTENSIONS += ftglyph.c michael@0: michael@0: # Interface for gxvalid module. michael@0: # michael@0: # See include/ftgxval.h for the API. michael@0: BASE_EXTENSIONS += ftgxval.c michael@0: michael@0: # Support for LCD color filtering of subpixel bitmaps. michael@0: # michael@0: # See include/ftlcdfil.h for the API. michael@0: BASE_EXTENSIONS += ftlcdfil.c michael@0: michael@0: # Multiple Master font interface. michael@0: # michael@0: # See include/ftmm.h for the API. michael@0: BASE_EXTENSIONS += ftmm.c michael@0: michael@0: # Interface for otvalid module. michael@0: # michael@0: # See include/ftotval.h for the API. michael@0: BASE_EXTENSIONS += ftotval.c michael@0: michael@0: # Support for FT_Face_CheckTrueTypePatents. michael@0: # michael@0: # See include/freetype.h for the API. michael@0: BASE_EXTENSIONS += ftpatent.c michael@0: michael@0: # Interface for accessing PFR-specific data. Needs PFR font driver. michael@0: # michael@0: # See include/ftpfr.h for the API. michael@0: BASE_EXTENSIONS += ftpfr.c michael@0: michael@0: # Path stroker. Needs ftglyph.c. michael@0: # michael@0: # See include/ftstroke.h for the API. michael@0: BASE_EXTENSIONS += ftstroke.c michael@0: michael@0: # Support for synthetic embolding and slanting of fonts. Needs ftbitmap.c. michael@0: # michael@0: # See include/ftsynth.h for the API. michael@0: BASE_EXTENSIONS += ftsynth.c michael@0: michael@0: # Interface to access data specific to PostScript Type 1 and Type 2 (CFF) michael@0: # fonts. michael@0: # michael@0: # See include/t1tables.h for the API. michael@0: BASE_EXTENSIONS += fttype1.c michael@0: michael@0: # Interface for accessing data specific to Windows FNT files. Needs winfnt michael@0: # driver. michael@0: # michael@0: # See include/ftwinfnt.h for the API. michael@0: BASE_EXTENSIONS += ftwinfnt.c michael@0: michael@0: # Support functions for X11. michael@0: # michael@0: # See include/ftxf86.h for the API. michael@0: BASE_EXTENSIONS += ftxf86.c michael@0: michael@0: #### michael@0: #### The components `ftsystem.c' (for memory allocation and stream I/O michael@0: #### management) and `ftdebug.c' (for emitting debug messages to the user) michael@0: #### are controlled with the following variables. michael@0: #### michael@0: #### ftsystem.c: $(FTSYS_SRC) michael@0: #### ftdebug.c: $(FTDEBUG_SRC) michael@0: #### michael@0: #### Please refer to docs/CUSTOMIZE for details. michael@0: #### michael@0: michael@0: michael@0: # EOF