modules.cfg 6.3 KB

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