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

Unified Diff: third_party/freetype/src/smooth/smooth.c

Issue 815103002: Update freetype to 2.5.4. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Adjust GYP and GN Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/freetype/src/smooth/ftspic.c ('k') | third_party/freetype/src/truetype/Jamfile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/freetype/src/smooth/smooth.c
diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/fxft_smooth.c b/third_party/freetype/src/smooth/smooth.c
similarity index 91%
rename from core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/fxft_smooth.c
rename to third_party/freetype/src/smooth/smooth.c
index ad047ddc0a13ed38fe6a0aa4841def7d96f519c9..a8ac51f9f8c1311f1e1d1a5f33131f7dc29c20b0 100644
--- a/core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/fxft_smooth.c
+++ b/third_party/freetype/src/smooth/smooth.c
@@ -1,4 +1,3 @@
-#if !defined(_FXFT_VERSION_) || _FXFT_VERSION_ == 2501
/***************************************************************************/
/* */
/* smooth.c */
@@ -18,14 +17,11 @@
#define FT_MAKE_OPTION_SINGLE_OBJECT
-#define FT2_BUILD_LIBRARY
-#include "../../include/ft2build.h"
+#include <ft2build.h>
#include "ftspic.c"
#include "ftgrays.c"
#include "ftsmooth.c"
/* END */
-#endif
-
« no previous file with comments | « third_party/freetype/src/smooth/ftspic.c ('k') | third_party/freetype/src/truetype/Jamfile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698