freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] Fix 'devel' build for COLR 'v1'.


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] Fix 'devel' build for COLR 'v1'.
Date: Tue, 08 Jun 2021 14:45:16 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

2 changed files:

Changes:

  • ChangeLog
    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.
    

  • devel/ftoption.h
    ... ... @@ -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`.
    


  • reply via email to

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