diff options
author | bungeman <bungeman@google.com> | 2015-06-18 10:48:08 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-18 10:48:08 -0700 |
commit | 1e23736f59f64b88b595cec488352bcc0b3b8406 (patch) | |
tree | 5860e34272e40eed5e8e6af6464f2a5d6ae81e83 /src/ports/SkFontHost_FreeType.cpp | |
parent | cd08effd005225915c7516883f658f21dbd82292 (diff) |
Remove FT_HAS_COLOR definition.
The intent was to define FT_HAS_COLOR when building with a pre
2.5.1 version of FreeType for forward compatibility. However,
the definition here is wrong and also never used.
Review URL: https://codereview.chromium.org/1178943009
Diffstat (limited to 'src/ports/SkFontHost_FreeType.cpp')
-rw-r--r-- | src/ports/SkFontHost_FreeType.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp index b3a65e1985..f7b2bd1e87 100644 --- a/src/ports/SkFontHost_FreeType.cpp +++ b/src/ports/SkFontHost_FreeType.cpp @@ -50,13 +50,6 @@ # define FT_PIXEL_MODE_BGRA 7 #endif -// FT_HAS_COLOR and the corresponding FT_FACE_FLAG_COLOR -// were introduced in FreeType 2.5.1 -// The following may be removed once FreeType 2.5.1 is required to build. -#ifndef FT_HAS_COLOR -# define FT_HAS_COLOR(face) false -#endif - //#define ENABLE_GLYPH_SPEW // for tracing calls //#define DUMP_STRIKE_CREATION //#define SK_FONTHOST_FREETYPE_USE_NORMAL_LCD_FILTER |