freetype-2.4.12.diff 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. diff -ru freetype-2.4.12.orig/include/freetype/config/ftoption.h freetype-2.4.12/include/freetype/config/ftoption.h
  2. --- freetype-2.4.12.orig/include/freetype/config/ftoption.h 2013-01-22 14:31:11.000000000 +0100
  3. +++ freetype-2.4.12/include/freetype/config/ftoption.h 2013-05-18 12:01:54.000000000 +0200
  4. @@ -148,7 +148,7 @@
  5. /* */
  6. /* Define this macro if you want to enable this `feature'. */
  7. /* */
  8. -#define FT_CONFIG_OPTION_USE_LZW
  9. +/* #define FT_CONFIG_OPTION_USE_LZW */
  10. /*************************************************************************/
  11. @@ -163,7 +163,7 @@
  12. /* Define this macro if you want to enable this `feature'. See also */
  13. /* the macro FT_CONFIG_OPTION_SYSTEM_ZLIB below. */
  14. /* */
  15. -#define FT_CONFIG_OPTION_USE_ZLIB
  16. +/* #define FT_CONFIG_OPTION_USE_ZLIB */
  17. /*************************************************************************/
  18. @@ -296,7 +296,7 @@
  19. /* able to synthesize a Unicode charmap out of the glyphs found in the */
  20. /* fonts. */
  21. /* */
  22. -#define FT_CONFIG_OPTION_ADOBE_GLYPH_LIST
  23. +#undef FT_CONFIG_OPTION_ADOBE_GLYPH_LIST
  24. /*************************************************************************/
  25. @@ -309,7 +309,7 @@
  26. /* */
  27. /* Note that the `FOND' resource isn't checked. */
  28. /* */
  29. -#define FT_CONFIG_OPTION_MAC_FONTS
  30. +/* #define FT_CONFIG_OPTION_MAC_FONTS */
  31. /*************************************************************************/
  32. @@ -487,7 +487,7 @@
  33. /* embedded bitmaps in all formats using the SFNT module (namely */
  34. /* TrueType & OpenType). */
  35. /* */
  36. -#define TT_CONFIG_OPTION_EMBEDDED_BITMAPS
  37. +/* #define TT_CONFIG_OPTION_EMBEDDED_BITMAPS */
  38. /*************************************************************************/
  39. @@ -502,7 +502,7 @@
  40. /* */
  41. /* (By default, the module uses `PSNames' to extract glyph names.) */
  42. /* */
  43. -#define TT_CONFIG_OPTION_POSTSCRIPT_NAMES
  44. +#undef TT_CONFIG_OPTION_POSTSCRIPT_NAMES
  45. /*************************************************************************/
  46. @@ -516,7 +516,7 @@
  47. /* Accessing SFNT names is done through the functions declared in */
  48. /* `freetype/ftsnames.h'. */
  49. /* */
  50. -#define TT_CONFIG_OPTION_SFNT_NAMES
  51. +/* #define TT_CONFIG_OPTION_SFNT_NAMES */
  52. /*************************************************************************/
  53. @@ -669,7 +669,7 @@
  54. /* and avar tables). This has many similarities to Type 1 Multiple */
  55. /* Masters support. */
  56. /* */
  57. -#define TT_CONFIG_OPTION_GX_VAR_SUPPORT
  58. +/* #define TT_CONFIG_OPTION_GX_VAR_SUPPORT */
  59. /*************************************************************************/
  60. @@ -677,7 +677,7 @@
  61. /* Define TT_CONFIG_OPTION_BDF if you want to include support for */
  62. /* an embedded `BDF ' table within SFNT-based bitmap formats. */
  63. /* */
  64. -#define TT_CONFIG_OPTION_BDF
  65. +/* #define TT_CONFIG_OPTION_BDF */
  66. /*************************************************************************/
  67. @@ -723,7 +723,7 @@
  68. /* files into an existing face. Note that if set, the T1 driver will be */
  69. /* unable to produce kerning distances. */
  70. /* */
  71. -#undef T1_CONFIG_OPTION_NO_AFM
  72. +#define T1_CONFIG_OPTION_NO_AFM
  73. /*************************************************************************/
  74. diff -ru freetype-2.4.12.orig/modules.cfg freetype-2.4.12/modules.cfg
  75. --- freetype-2.4.12.orig/modules.cfg 2011-11-26 13:19:10.000000000 +0100
  76. +++ freetype-2.4.12/modules.cfg 2013-05-18 12:06:58.000000000 +0200
  77. @@ -37,35 +37,35 @@
  78. # PostScript Type 1 font driver.
  79. #
  80. # This driver needs the `psaux', `pshinter', and `psnames' modules.
  81. -FONT_MODULES += type1
  82. +#FONT_MODULES += type1
  83. # CFF/OpenType font driver.
  84. #
  85. # This driver needs the `sfnt', `pshinter', and `psnames' modules.
  86. -FONT_MODULES += cff
  87. +#FONT_MODULES += cff
  88. # Type 1 CID-keyed font driver.
  89. #
  90. # This driver needs the `psaux', `pshinter', and `psnames' modules.
  91. -FONT_MODULES += cid
  92. +#FONT_MODULES += cid
  93. # PFR/TrueDoc font driver. See optional extension ftpfr.c below also.
  94. -FONT_MODULES += pfr
  95. +#FONT_MODULES += pfr
  96. # PostScript Type 42 font driver.
  97. #
  98. # This driver needs the `truetype' and `psaux' modules.
  99. -FONT_MODULES += type42
  100. +#FONT_MODULES += type42
  101. # Windows FONT/FNT font driver. See optional extension ftwinfnt.c below
  102. # also.
  103. -FONT_MODULES += winfonts
  104. +#FONT_MODULES += winfonts
  105. # PCF font driver.
  106. -FONT_MODULES += pcf
  107. +#FONT_MODULES += pcf
  108. # BDF font driver. See optional extension ftbdf.c below also.
  109. -FONT_MODULES += bdf
  110. +#FONT_MODULES += bdf
  111. # SFNT files support. If used without `truetype' or `cff', it supports
  112. # bitmap-only fonts within an SFNT wrapper.
  113. @@ -79,10 +79,10 @@
  114. ####
  115. # FreeType's auto hinter.
  116. -HINTING_MODULES += autofit
  117. +#HINTING_MODULES += autofit
  118. # PostScript hinter.
  119. -HINTING_MODULES += pshinter
  120. +#HINTING_MODULES += pshinter
  121. # The TrueType hinting engine doesn't have a module of its own but is
  122. # controlled in file include/freetype/config/ftoption.h
  123. @@ -94,7 +94,7 @@
  124. ####
  125. # Monochrome rasterizer.
  126. -RASTER_MODULES += raster
  127. +#RASTER_MODULES += raster
  128. # Anti-aliasing rasterizer.
  129. RASTER_MODULES += smooth
  130. @@ -107,7 +107,7 @@
  131. # FreeType's cache sub-system (quite stable but still in beta -- this means
  132. # that its public API is subject to change if necessary). See
  133. # include/freetype/ftcache.h. Needs ftglyph.c.
  134. -AUX_MODULES += cache
  135. +#AUX_MODULES += cache
  136. # TrueType GX/AAT table validation. Needs ftgxval.c below.
  137. # AUX_MODULES += gxvalid
  138. @@ -115,12 +115,12 @@
  139. # Support for streams compressed with gzip (files with suffix .gz).
  140. #
  141. # See include/freetype/ftgzip.h for the API.
  142. -AUX_MODULES += gzip
  143. +#AUX_MODULES += gzip
  144. # Support for streams compressed with LZW (files with suffix .Z).
  145. #
  146. # See include/freetype/ftlzw.h for the API.
  147. -AUX_MODULES += lzw
  148. +#AUX_MODULES += lzw
  149. # Support for streams compressed with bzip2 (files with suffix .bz2).
  150. #
  151. @@ -134,13 +134,13 @@
  152. # Auxiliary PostScript driver component to share common code.
  153. #
  154. # This module depends on `psnames'.
  155. -AUX_MODULES += psaux
  156. +#AUX_MODULES += psaux
  157. # Support for PostScript glyph names.
  158. #
  159. # This module can be controlled in ftconfig.h
  160. # (FT_CONFIG_OPTION_POSTSCRIPT_NAMES).
  161. -AUX_MODULES += psnames
  162. +#AUX_MODULES += psnames
  163. ####
  164. @@ -150,12 +150,12 @@
  165. # Exact bounding box calculation.
  166. #
  167. # See include/freetype/ftbbox.h for the API.
  168. -BASE_EXTENSIONS += ftbbox.c
  169. +#BASE_EXTENSIONS += ftbbox.c
  170. # Access BDF-specific strings. Needs BDF font driver.
  171. #
  172. # See include/freetype/ftbdf.h for the API.
  173. -BASE_EXTENSIONS += ftbdf.c
  174. +#BASE_EXTENSIONS += ftbdf.c
  175. # Utility functions for converting 1bpp, 2bpp, 4bpp, and 8bpp bitmaps into
  176. # 8bpp format, and for emboldening of bitmap glyphs.
  177. @@ -166,17 +166,17 @@
  178. # Access CID font information.
  179. #
  180. # See include/freetype/ftcid.h for the API.
  181. -BASE_EXTENSIONS += ftcid.c
  182. +#BASE_EXTENSIONS += ftcid.c
  183. # Access FSType information. Needs fttype1.c.
  184. #
  185. # See include/freetype/freetype.h for the API.
  186. -BASE_EXTENSIONS += ftfstype.c
  187. +#BASE_EXTENSIONS += ftfstype.c
  188. # Support for GASP table queries.
  189. #
  190. # See include/freetype/ftgasp.h for the API.
  191. -BASE_EXTENSIONS += ftgasp.c
  192. +#BASE_EXTENSIONS += ftgasp.c
  193. # Convenience functions to handle glyphs. Needs ftbitmap.c.
  194. #
  195. @@ -186,32 +186,32 @@
  196. # Interface for gxvalid module.
  197. #
  198. # See include/freetype/ftgxval.h for the API.
  199. -BASE_EXTENSIONS += ftgxval.c
  200. +#BASE_EXTENSIONS += ftgxval.c
  201. # Support for LCD color filtering of subpixel bitmaps.
  202. #
  203. # See include/freetype/ftlcdfil.h for the API.
  204. -BASE_EXTENSIONS += ftlcdfil.c
  205. +#BASE_EXTENSIONS += ftlcdfil.c
  206. # Multiple Master font interface.
  207. #
  208. # See include/freetype/ftmm.h for the API.
  209. -BASE_EXTENSIONS += ftmm.c
  210. +#BASE_EXTENSIONS += ftmm.c
  211. # Interface for otvalid module.
  212. #
  213. # See include/freetype/ftotval.h for the API.
  214. -BASE_EXTENSIONS += ftotval.c
  215. +#BASE_EXTENSIONS += ftotval.c
  216. # Support for FT_Face_CheckTrueTypePatents.
  217. #
  218. # See include/freetype/freetype.h for the API.
  219. -BASE_EXTENSIONS += ftpatent.c
  220. +#BASE_EXTENSIONS += ftpatent.c
  221. # Interface for accessing PFR-specific data. Needs PFR font driver.
  222. #
  223. # See include/freetype/ftpfr.h for the API.
  224. -BASE_EXTENSIONS += ftpfr.c
  225. +#BASE_EXTENSIONS += ftpfr.c
  226. # Path stroker. Needs ftglyph.c.
  227. #
  228. @@ -221,24 +221,24 @@
  229. # Support for synthetic embolding and slanting of fonts. Needs ftbitmap.c.
  230. #
  231. # See include/freetype/ftsynth.h for the API.
  232. -BASE_EXTENSIONS += ftsynth.c
  233. +#BASE_EXTENSIONS += ftsynth.c
  234. # Interface to access data specific to PostScript Type 1 and Type 2 (CFF)
  235. # fonts.
  236. #
  237. # See include/freetype/t1tables.h for the API.
  238. -BASE_EXTENSIONS += fttype1.c
  239. +#BASE_EXTENSIONS += fttype1.c
  240. # Interface for accessing data specific to Windows FNT files. Needs winfnt
  241. # driver.
  242. #
  243. # See include/freetype/ftwinfnt.h for the API.
  244. -BASE_EXTENSIONS += ftwinfnt.c
  245. +#BASE_EXTENSIONS += ftwinfnt.c
  246. # Support functions for X11.
  247. #
  248. # See include/freetype/ftxf86.h for the API.
  249. -BASE_EXTENSIONS += ftxf86.c
  250. +#BASE_EXTENSIONS += ftxf86.c
  251. ####
  252. #### The components `ftsystem.c' (for memory allocation and stream I/O