blob: 07e94a30fdb11a87f12481fe13cb8d1c38282a03 [file] [log] [blame]
diff --git a/third_party/freetype2/include/ftconfig.h b/third_party/freetype2/include/ftconfig.h
index 9ea3546..16f8854 100644
--- a/third_party/freetype2/include/ftconfig.h
+++ b/third_party/freetype2/include/ftconfig.h
@@ -397,9 +397,9 @@ FT_BEGIN_HEADER
#ifndef FT_EXPORT
#ifdef __cplusplus
-#define FT_EXPORT( x ) extern "C" x
+#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern "C" x
#else
-#define FT_EXPORT( x ) extern x
+#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern x
#endif
#endif /* !FT_EXPORT */
@@ -408,9 +408,9 @@ FT_BEGIN_HEADER
#ifndef FT_EXPORT_DEF
#ifdef __cplusplus
-#define FT_EXPORT_DEF( x ) extern "C" x
+#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern "C" x
#else
-#define FT_EXPORT_DEF( x ) extern x
+#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern x
#endif
#endif /* !FT_EXPORT_DEF */
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
index 759b3a3..f921a04 100644
--- a/include/freetype/config/ftoption.h
+++ b/include/freetype/config/ftoption.h
@@ -92,7 +92,7 @@ FT_BEGIN_HEADER
/* This is done to allow FreeType clients to run unmodified, forcing */
/* them to display normal gray-level anti-aliased glyphs. */
/* */
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
/*************************************************************************/
@@ -495,7 +495,7 @@ FT_BEGIN_HEADER
/* Do not #undef this macro here, since the build system might */
/* define it for certain configurations only. */
/* */
-/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
+#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
/*************************************************************************/