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