ref: cc6267722451af26c8f7d318429af6f6d6b6efef
parent: f999375a9a834666f82928f9ad6293d9b25213a5
author: Sender Ghost <[email protected]>
date: Mon Jun 4 06:49:23 EDT 2018
Restore accidentally removed, commented-out configuration options.
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -120,6 +120,7 @@
* filtering.
*
*/
+/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
/**************************************************************************
@@ -149,6 +150,7 @@
* that to verify that the assembler function works properly, or to
* execute benchmark tests of the various implementations.
*/
+/* #define FT_CONFIG_OPTION_NO_ASSEMBLER */
/**************************************************************************
@@ -212,6 +214,7 @@
* it for certain configurations only.
*
*/
+/* #define FT_CONFIG_OPTION_SYSTEM_ZLIB */
/**************************************************************************
@@ -239,6 +242,7 @@
* necessary such as memory loading of font files.
*
*/
+/* #define FT_CONFIG_OPTION_DISABLE_STREAM_SUPPORT */
/**************************************************************************
@@ -609,8 +613,9 @@
*
* [1] https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
*
- * #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1
*/
+/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
+/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */
#define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 )
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -123,6 +123,7 @@
* filtering.
*
*/
+/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
/**************************************************************************
@@ -152,6 +153,7 @@
* that to verify that the assembler function works properly, or to
* execute benchmark tests of the various implementations.
*/
+/* #define FT_CONFIG_OPTION_NO_ASSEMBLER */
/**************************************************************************
@@ -219,6 +221,7 @@
* value here with the configured one.
*
*/
+/* #define FT_CONFIG_OPTION_SYSTEM_ZLIB */
/**************************************************************************
@@ -239,6 +242,7 @@
* value here with the configured one.
*
*/
+/* #define FT_CONFIG_OPTION_USE_BZIP2 */
/**************************************************************************
@@ -250,6 +254,7 @@
* necessary such as memory loading of font files.
*
*/
+/* #define FT_CONFIG_OPTION_DISABLE_STREAM_SUPPORT */
/**************************************************************************
@@ -268,6 +273,7 @@
* value here with the configured one.
*
*/
+/* #define FT_CONFIG_OPTION_USE_PNG */
/**************************************************************************
@@ -285,6 +291,7 @@
* value here with the configured one.
*
*/
+/* #define FT_CONFIG_OPTION_USE_HARFBUZZ */
/**************************************************************************
@@ -412,8 +419,9 @@
* Do not #undef these macros here since the build system might define
* them for certain configurations only.
*
- * #define FT_DEBUG_LEVEL_ERROR
*/
+/* #define FT_DEBUG_LEVEL_ERROR */
+/* #define FT_DEBUG_LEVEL_TRACE */
/**************************************************************************
@@ -449,6 +457,7 @@
* them for certain configurations only.
*
*/
+/* #define FT_DEBUG_AUTOFIT */
/**************************************************************************
@@ -467,6 +476,7 @@
* it for certain configurations only.
*
*/
+/* #define FT_DEBUG_MEMORY */
/**************************************************************************
@@ -638,6 +648,7 @@
* [1] https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx
*
*/
+/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */
@@ -760,6 +771,7 @@
* the type1 driver module.
*
*/
+/* #define T1_CONFIG_OPTION_OLD_ENGINE */
/*************************************************************************/
@@ -803,6 +815,7 @@
* the cff driver module.
*
*/
+/* #define CFF_CONFIG_OPTION_OLD_ENGINE */
/*************************************************************************/
@@ -830,6 +843,7 @@
* `no-long-family-names' property of the pcf driver module.
*
*/
+/* #define PCF_CONFIG_OPTION_LONG_FAMILY_NAMES */
/*************************************************************************/
@@ -890,6 +904,7 @@
* This problematic commit is now reverted (more or less).
*
*/
+/* #define AF_CONFIG_OPTION_TT_SIZE_METRICS */
/* */
--- a/src/raster/ftraster.h
+++ b/src/raster/ftraster.h
@@ -34,6 +34,7 @@
* standalone module, fully independent of FreeType.
*
*/
+/* #define STANDALONE_ */
FT_EXPORT_VAR( const FT_Raster_Funcs ) ft_standard_raster;