Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
640f654b
by Werner Lemberg at 2021-06-08T16:45:04+02:00
2 changed files:
Changes:
1 |
+2021-06-08 Werner Lemberg <wl@gnu.org>
|
|
2 |
+ |
|
3 |
+ Fix 'devel' build for COLR 'v1'.
|
|
4 |
+ |
|
5 |
+ * devel/ftoption.h: Synchronize with
|
|
6 |
+ `include/freetype/config/ftoption.h`.
|
|
7 |
+ |
|
1 | 8 |
2021-06-08 Werner Lemberg <wl@gnu.org>
|
2 | 9 |
|
3 | 10 |
[sfnt] Sanitize cmap4 table better.
|
... | ... | @@ -976,6 +976,21 @@ FT_BEGIN_HEADER |
976 | 976 |
#endif
|
977 | 977 |
|
978 | 978 |
|
979 |
+ /*
|
|
980 |
+ * The TT_SUPPORT_COLRV1 macro is defined to indicate to clients that this
|
|
981 |
+ * version of FreeType has support for 'COLR' v1 API. This definition is
|
|
982 |
+ * useful to FreeType clients that want to build in support for 'COLR' v1
|
|
983 |
+ * depending on a tip-of-tree checkout before it is officially released in
|
|
984 |
+ * FreeType, and while the feature cannot yet be tested against using
|
|
985 |
+ * version macros. Don't change this macro. This may be removed once the
|
|
986 |
+ * feature is in a FreeType release version and version macros can be used
|
|
987 |
+ * to test for availability.
|
|
988 |
+ */
|
|
989 |
+#ifdef TT_CONFIG_OPTION_COLOR_LAYERS
|
|
990 |
+#define TT_SUPPORT_COLRV1
|
|
991 |
+#endif
|
|
992 |
+ |
|
993 |
+ |
|
979 | 994 |
/*
|
980 | 995 |
* Check CFF darkening parameters. The checks are the same as in function
|
981 | 996 |
* `cff_property_set` in file `cffdrivr.c`.
|