Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: third_party/freetype2/freetype2.patch

Issue 163433013: Enable subpixel rendering in custom freetype2 library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | third_party/freetype2/include/ftoption.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff --git a/third_party/freetype2/include/ftconfig.h b/third_party/freetype2/in clude/ftconfig.h 1 diff --git a/third_party/freetype2/include/ftconfig.h b/third_party/freetype2/in clude/ftconfig.h
2 index 9ea3546..16f8854 100644 2 index 9ea3546..16f8854 100644
3 --- a/third_party/freetype2/include/ftconfig.h 3 --- a/third_party/freetype2/include/ftconfig.h
4 +++ b/third_party/freetype2/include/ftconfig.h 4 +++ b/third_party/freetype2/include/ftconfig.h
5 @@ -397,9 +397,9 @@ FT_BEGIN_HEADER 5 @@ -397,9 +397,9 @@ FT_BEGIN_HEADER
6 #ifndef FT_EXPORT 6 #ifndef FT_EXPORT
7 7
8 #ifdef __cplusplus 8 #ifdef __cplusplus
9 -#define FT_EXPORT( x ) extern "C" x 9 -#define FT_EXPORT( x ) extern "C" x
10 +#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern "C" x 10 +#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern "C" x
(...skipping 12 matching lines...) Expand all
23 #else 23 #else
24 -#define FT_EXPORT_DEF( x ) extern x 24 -#define FT_EXPORT_DEF( x ) extern x
25 +#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern x 25 +#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern x
26 #endif 26 #endif
27 27
28 #endif /* !FT_EXPORT_DEF */ 28 #endif /* !FT_EXPORT_DEF */
29 diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftopti on.h 29 diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftopti on.h
30 index 759b3a3..f921a04 100644 30 index 759b3a3..f921a04 100644
31 --- a/include/freetype/config/ftoption.h 31 --- a/include/freetype/config/ftoption.h
32 +++ b/include/freetype/config/ftoption.h 32 +++ b/include/freetype/config/ftoption.h
33 @@ -92,7 +92,7 @@ FT_BEGIN_HEADER
34 /* This is done to allow FreeType clients to run unmodified, forcing */
35 /* them to display normal gray-level anti-aliased glyphs. */
36 /* */
37 -/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
38 +#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
39
40
41 /*************************************************************************/
33 @@ -495,7 +495,7 @@ FT_BEGIN_HEADER 42 @@ -495,7 +495,7 @@ FT_BEGIN_HEADER
34 /* Do not #undef this macro here, since the build system might */ 43 /* Do not #undef this macro here, since the build system might */
35 /* define it for certain configurations only. */ 44 /* define it for certain configurations only. */
36 /* */ 45 /* */
37 -/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */ 46 -/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
38 +#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER 47 +#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
39 48
40 49
41 /*************************************************************************/ 50 /*************************************************************************/
OLDNEW
« no previous file with comments | « no previous file | third_party/freetype2/include/ftoption.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698