diff options
author | Ben Wagner <bungeman@google.com> | 2018-05-30 14:26:13 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-31 15:10:13 +0000 |
commit | 22a8aef9d9f8cd1c7c4cf94d18783317b20dea23 (patch) | |
tree | ba7c7888803d6fdfa52ff146fce910f01e3ff835 /third_party/freetype2/include/freetype-android/ftoption.h | |
parent | 373af98e3472440d0ae541abcc014290b6cc3e15 (diff) |
Roll FreeType to pick up color stuff.
Change-Id: Ide7d414dc0f5e112b213390dc9f62e097c6a7ef9
Reviewed-on: https://skia-review.googlesource.com/130848
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Diffstat (limited to 'third_party/freetype2/include/freetype-android/ftoption.h')
-rw-r--r-- | third_party/freetype2/include/freetype-android/ftoption.h | 42 |
1 files changed, 13 insertions, 29 deletions
diff --git a/third_party/freetype2/include/freetype-android/ftoption.h b/third_party/freetype2/include/freetype-android/ftoption.h index aa2b589732..92965718a6 100644 --- a/third_party/freetype2/include/freetype-android/ftoption.h +++ b/third_party/freetype2/include/freetype-android/ftoption.h @@ -82,6 +82,10 @@ FT_BEGIN_HEADER /* to control the various font drivers and modules. The controllable */ /* properties are listed in the section @properties. */ /* */ + /* You have to undefine this configuration option on platforms that lack */ + /* the concept of environment variables (and thus don't have the */ + /* `getenv' function), for example Windows CE. */ + /* */ /* `FREETYPE_PROPERTIES' has the following syntax form (broken here into */ /* multiple lines for better readability). */ /* */ @@ -483,35 +487,6 @@ FT_BEGIN_HEADER /*************************************************************************/ - /* */ - /* Position Independent Code */ - /* */ - /* If this macro is set (which is _not_ the default), FreeType2 will */ - /* avoid creating constants that require address fixups. Instead the */ - /* constants will be moved into a struct and additional intialization */ - /* code will be used. */ - /* */ - /* Setting this macro is needed for systems that prohibit address */ - /* fixups, such as BREW. [Note that standard compilers like gcc or */ - /* clang handle PIC generation automatically; you don't have to set */ - /* FT_CONFIG_OPTION_PIC, which is only necessary for very special */ - /* compilers.] */ - /* */ - /* Note that FT_CONFIG_OPTION_PIC support is not available for all */ - /* modules (see `modules.cfg' for a complete list). For building with */ - /* FT_CONFIG_OPTION_PIC support, do the following. */ - /* */ - /* 0. Clone the repository. */ - /* 1. Define FT_CONFIG_OPTION_PIC. */ - /* 2. Remove all subdirectories in `src' that don't have */ - /* FT_CONFIG_OPTION_PIC support. */ - /* 3. Comment out the corresponding modules in `modules.cfg'. */ - /* 4. Compile. */ - /* */ -/* #define FT_CONFIG_OPTION_PIC */ - - - /*************************************************************************/ /*************************************************************************/ /**** ****/ /**** S F N T D R I V E R C O N F I G U R A T I O N ****/ @@ -531,6 +506,15 @@ FT_BEGIN_HEADER /*************************************************************************/ /* */ + /* Define TT_CONFIG_OPTION_COLOR_LAYERS if you want to support coloured */ + /* outlines (from the COLR/CPAL tables) in all formats using the SFNT */ + /* module (namely TrueType & OpenType). */ + /* */ +#define TT_CONFIG_OPTION_COLOR_LAYERS + + + /*************************************************************************/ + /* */ /* Define TT_CONFIG_OPTION_POSTSCRIPT_NAMES if you want to be able to */ /* load and enumerate the glyph Postscript names in a TrueType or */ /* OpenType file. */ |