aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports
diff options
context:
space:
mode:
authorGravatar agl@chromium.org <agl@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-06-04 20:57:16 +0000
committerGravatar agl@chromium.org <agl@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-06-04 20:57:16 +0000
commit36bb697683f63f0ed8a37d7a7ef28c134dff856c (patch)
tree425facc5dfc003e83147bcf02258de42ec9addfe /src/ports
parente76073bfcd30f8742a377d636bbad84183b275ec (diff)
Add include of FT_SYNTHESIS_H
In older versions of Freetype, the FT_GlyphSlot_Own_Bitmap function is defined in FT_SYNTHESIS_H. Modern versions have it in FT_BITMAP_H. git-svn-id: http://skia.googlecode.com/svn/trunk@575 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/ports')
-rw-r--r--src/ports/SkFontHost_FreeType.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp
index 0e32d7b832..fd85bb28ba 100644
--- a/src/ports/SkFontHost_FreeType.cpp
+++ b/src/ports/SkFontHost_FreeType.cpp
@@ -34,6 +34,8 @@
#include FT_SIZES_H
#include FT_TRUETYPE_TABLES_H
#include FT_BITMAP_H
+// In the past, FT_GlyphSlot_Own_Bitmap was defined in this header file.
+#include FT_SYNTHESIS_H
#if defined(SK_SUPPORT_LCDTEXT)
#include FT_LCD_FILTER_H
@@ -52,6 +54,7 @@
#include <freetype/ftadvanc.h>
#include <freetype/ftlcdfil.h>
#include <freetype/ftbitmap.h>
+#include <freetype/ftsynth.h>
#endif
//#define ENABLE_GLYPH_SPEW // for tracing calls