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
This commit is contained in:
agl@chromium.org 2010-06-04 20:57:16 +00:00
parent e76073bfcd
commit 36bb697683

View File

@ -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