modules.cfg 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. # modules.cfg
  2. #
  3. # Copyright 2005-2016 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. #### font modules -- at least one is required
  25. ####
  26. #### The order given here (from top to down) is the order used for testing
  27. #### font formats in the compiled library.
  28. ####
  29. # TrueType font driver.
  30. #
  31. # This driver needs the `sfnt' module.
  32. FONT_MODULES += truetype
  33. # PostScript Type 1 font driver.
  34. #
  35. # This driver needs the `psaux', `pshinter', and `psnames' modules.
  36. # No FT_CONFIG_OPTION_PIC support.
  37. FONT_MODULES += type1
  38. # CFF/OpenType font driver.
  39. #
  40. # This driver needs the `sfnt', `pshinter', and `psnames' modules.
  41. FONT_MODULES += cff
  42. # Type 1 CID-keyed font driver.
  43. #
  44. # This driver needs the `psaux', `pshinter', and `psnames' modules.
  45. # No FT_CONFIG_OPTION_PIC support.
  46. FONT_MODULES += cid
  47. # PFR/TrueDoc font driver. See optional extension ftpfr.c below also.
  48. # No FT_CONFIG_OPTION_PIC support.
  49. FONT_MODULES += pfr
  50. # PostScript Type 42 font driver.
  51. #
  52. # This driver needs the `truetype' and `psaux' modules.
  53. # No FT_CONFIG_OPTION_PIC support.
  54. FONT_MODULES += type42
  55. # Windows FONT/FNT font driver. See optional extension ftwinfnt.c below
  56. # also.
  57. # No FT_CONFIG_OPTION_PIC support.
  58. FONT_MODULES += winfonts
  59. # PCF font driver.
  60. # No FT_CONFIG_OPTION_PIC support.
  61. FONT_MODULES += pcf
  62. # BDF font driver. See optional extension ftbdf.c below also.
  63. # No FT_CONFIG_OPTION_PIC support.
  64. FONT_MODULES += bdf
  65. # SFNT files support. If used without `truetype' or `cff', it supports
  66. # bitmap-only fonts within an SFNT wrapper.
  67. #
  68. # This driver needs the `psnames' module.
  69. FONT_MODULES += sfnt
  70. ####
  71. #### hinting modules
  72. ####
  73. # FreeType's auto hinter.
  74. HINTING_MODULES += autofit
  75. # PostScript hinter.
  76. HINTING_MODULES += pshinter
  77. # The TrueType hinting engine doesn't have a module of its own but is
  78. # controlled in file include/freetype/config/ftoption.h
  79. # (TT_CONFIG_OPTION_BYTECODE_INTERPRETER and friends).
  80. ####
  81. #### raster modules -- at least one is required for vector font formats
  82. ####
  83. # Monochrome rasterizer.
  84. RASTER_MODULES += raster
  85. # Anti-aliasing rasterizer.
  86. RASTER_MODULES += smooth
  87. ####
  88. #### auxiliary modules
  89. ####
  90. # FreeType's cache sub-system (quite stable but still in beta -- this means
  91. # that its public API is subject to change if necessary). See
  92. # include/freetype/ftcache.h. Needs ftglyph.c.
  93. # No FT_CONFIG_OPTION_PIC support.
  94. AUX_MODULES += cache
  95. # TrueType GX/AAT table validation. Needs ftgxval.c below.
  96. #
  97. # No FT_CONFIG_OPTION_PIC support.
  98. # AUX_MODULES += gxvalid
  99. # Support for streams compressed with gzip (files with suffix .gz).
  100. #
  101. # See include/freetype/ftgzip.h for the API.
  102. # No FT_CONFIG_OPTION_PIC support.
  103. AUX_MODULES += gzip
  104. # Support for streams compressed with LZW (files with suffix .Z).
  105. #
  106. # See include/freetype/ftlzw.h for the API.
  107. # No FT_CONFIG_OPTION_PIC support.
  108. AUX_MODULES += lzw
  109. # Support for streams compressed with bzip2 (files with suffix .bz2).
  110. #
  111. # See include/freetype/ftbzip2.h for the API.
  112. # No FT_CONFIG_OPTION_PIC support.
  113. AUX_MODULES += bzip2
  114. # OpenType table validation. Needs ftotval.c below.
  115. #
  116. # No FT_CONFIG_OPTION_PIC support.
  117. # AUX_MODULES += otvalid
  118. # Auxiliary PostScript driver component to share common code.
  119. #
  120. # This module depends on `psnames'.
  121. # No FT_CONFIG_OPTION_PIC support.
  122. AUX_MODULES += psaux
  123. # Support for PostScript glyph names.
  124. #
  125. # This module can be controlled in ftconfig.h
  126. # (FT_CONFIG_OPTION_POSTSCRIPT_NAMES).
  127. AUX_MODULES += psnames
  128. ####
  129. #### base module extensions
  130. ####
  131. # Exact bounding box calculation.
  132. #
  133. # See include/freetype/ftbbox.h for the API.
  134. BASE_EXTENSIONS += ftbbox.c
  135. # Access BDF-specific strings. Needs BDF font driver.
  136. #
  137. # See include/freetype/ftbdf.h for the API.
  138. BASE_EXTENSIONS += ftbdf.c
  139. # Utility functions for converting 1bpp, 2bpp, 4bpp, and 8bpp bitmaps into
  140. # 8bpp format, and for emboldening of bitmap glyphs.
  141. #
  142. # See include/freetype/ftbitmap.h for the API.
  143. BASE_EXTENSIONS += ftbitmap.c
  144. # Access CID font information.
  145. #
  146. # See include/freetype/ftcid.h for the API.
  147. BASE_EXTENSIONS += ftcid.c
  148. # Support functions for font formats.
  149. #
  150. # See include/freetype/ftfntfmt.h for the API.
  151. BASE_EXTENSIONS += ftfntfmt.c
  152. # Access FSType information. Needs fttype1.c.
  153. #
  154. # See include/freetype/freetype.h for the API.
  155. BASE_EXTENSIONS += ftfstype.c
  156. # Support for GASP table queries.
  157. #
  158. # See include/freetype/ftgasp.h for the API.
  159. BASE_EXTENSIONS += ftgasp.c
  160. # Convenience functions to handle glyphs. Needs ftbitmap.c.
  161. #
  162. # See include/freetype/ftglyph.h for the API.
  163. BASE_EXTENSIONS += ftglyph.c
  164. # Interface for gxvalid module.
  165. #
  166. # See include/freetype/ftgxval.h for the API.
  167. BASE_EXTENSIONS += ftgxval.c
  168. # Support for LCD color filtering of subpixel bitmaps.
  169. #
  170. # See include/freetype/ftlcdfil.h for the API.
  171. BASE_EXTENSIONS += ftlcdfil.c
  172. # Multiple Master font interface.
  173. #
  174. # See include/freetype/ftmm.h for the API.
  175. BASE_EXTENSIONS += ftmm.c
  176. # Interface for otvalid module.
  177. #
  178. # See include/freetype/ftotval.h for the API.
  179. BASE_EXTENSIONS += ftotval.c
  180. # Support for FT_Face_CheckTrueTypePatents.
  181. #
  182. # See include/freetype/freetype.h for the API.
  183. BASE_EXTENSIONS += ftpatent.c
  184. # Interface for accessing PFR-specific data. Needs PFR font driver.
  185. #
  186. # See include/freetype/ftpfr.h for the API.
  187. BASE_EXTENSIONS += ftpfr.c
  188. # Path stroker. Needs ftglyph.c.
  189. #
  190. # See include/freetype/ftstroke.h for the API.
  191. BASE_EXTENSIONS += ftstroke.c
  192. # Support for synthetic embolding and slanting of fonts. Needs ftbitmap.c.
  193. #
  194. # See include/freetype/ftsynth.h for the API.
  195. BASE_EXTENSIONS += ftsynth.c
  196. # Interface to access data specific to PostScript Type 1 and Type 2 (CFF)
  197. # fonts.
  198. #
  199. # See include/freetype/t1tables.h for the API.
  200. BASE_EXTENSIONS += fttype1.c
  201. # Interface for accessing data specific to Windows FNT files. Needs winfnt
  202. # driver.
  203. #
  204. # See include/freetype/ftwinfnt.h for the API.
  205. BASE_EXTENSIONS += ftwinfnt.c
  206. ####
  207. #### The components `ftsystem.c' (for memory allocation and stream I/O
  208. #### management) and `ftdebug.c' (for emitting debug messages to the user)
  209. #### are controlled with the following variables.
  210. ####
  211. #### ftsystem.c: $(FTSYS_SRC)
  212. #### ftdebug.c: $(FTDEBUG_SRC)
  213. ####
  214. #### Please refer to docs/CUSTOMIZE for details.
  215. ####
  216. # EOF