freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 640f654: Fix 'devel' build for COLR 'v1'.


From: Werner Lemberg
Subject: [freetype2] master 640f654: Fix 'devel' build for COLR 'v1'.
Date: Tue, 8 Jun 2021 10:45:18 -0400 (EDT)

branch: master
commit 640f654bd1b62a1ac0eea11820dfa23a28d15ee4
Author: Werner Lemberg <wl@gnu.org>
Commit: Werner Lemberg <wl@gnu.org>

    Fix 'devel' build for COLR 'v1'.
    
    * devel/ftoption.h: Synchronize with
      `include/freetype/config/ftoption.h`.
---
 ChangeLog        |  7 +++++++
 devel/ftoption.h | 15 +++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 3b64ee7..01f696d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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.
 
        Fixes #1062.
diff --git a/devel/ftoption.h b/devel/ftoption.h
index 4fc450d..3cb04de 100644
--- a/devel/ftoption.h
+++ b/devel/ftoption.h
@@ -977,6 +977,21 @@ FT_BEGIN_HEADER
 
 
   /*
+   * 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`.
    */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]