forked from minhngoc25a/freetype2
Fix 'devel' build for COLR 'v1'.
* devel/ftoption.h: Synchronize with `include/freetype/config/ftoption.h`.
This commit is contained in:
parent
b24cfc8dcc
commit
640f654bd1
|
@ -1,3 +1,10 @@
|
|||
2021-06-08 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix 'devel' build for COLR 'v1'.
|
||||
|
||||
* devel/ftoption.h: Synchronize with
|
||||
`include/freetype/config/ftoption.h`.
|
||||
|
||||
2021-06-08 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[sfnt] Sanitize cmap4 table better.
|
||||
|
|
|
@ -976,6 +976,21 @@ FT_BEGIN_HEADER
|
|||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* The TT_SUPPORT_COLRV1 macro is defined to indicate to clients that this
|
||||
* version of FreeType has support for 'COLR' v1 API. This definition is
|
||||
* useful to FreeType clients that want to build in support for 'COLR' v1
|
||||
* depending on a tip-of-tree checkout before it is officially released in
|
||||
* FreeType, and while the feature cannot yet be tested against using
|
||||
* version macros. Don't change this macro. This may be removed once the
|
||||
* feature is in a FreeType release version and version macros can be used
|
||||
* to test for availability.
|
||||
*/
|
||||
#ifdef TT_CONFIG_OPTION_COLOR_LAYERS
|
||||
#define TT_SUPPORT_COLRV1
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* Check CFF darkening parameters. The checks are the same as in function
|
||||
* `cff_property_set` in file `cffdrivr.c`.
|
||||
|
|
Loading…
Reference in New Issue