summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominik Röttsches <drott@chromium.org>2023-01-03 17:19:02 +0200
committerWerner Lemberg <wl@gnu.org>2023-01-16 14:02:36 +0100
commit2692b3215be4f106b714974c55f4ab80da25189c (patch)
tree1845e70feea1c77cf7a4327dc9f088d04e538bfe /include
parentb1c90733ee6a04882b133101d61b12e352eeb290 (diff)
downloadfreetype2-2692b3215be4f106b714974c55f4ab80da25189c.tar.gz
[sfnt] Remove temporary runtime flag for variable 'COLR' v1.
Fixes #1187. * src/sfnt/ttcolr.c (top level, read_paint, tt_face_load_colr, tt_face_free_colr, get_deltas_for_var_index_base, tt_face_get_color_glyph_clipbox, tt_face_get_colorline_stops): Remove macro definition `VARIABLE_COLRV1_ENABLED` and its usage. * src/truetype/ttdriver.c (tt_property_set): Remove parsing of 'TEMPORARY-enable-variable-colrv1' property name. * src/truetype/ttobjs.h (TT_DriverRec): Remove `enable_variable_colrv1` flag.
Diffstat (limited to 'include')
-rw-r--r--include/freetype/ftdriver.h49
1 files changed, 3 insertions, 46 deletions
diff --git a/include/freetype/ftdriver.h b/include/freetype/ftdriver.h
index 3de6c6b7a..536b4966c 100644
--- a/include/freetype/ftdriver.h
+++ b/include/freetype/ftdriver.h
@@ -214,9 +214,9 @@ FT_BEGIN_HEADER
* itself, it is possible to control its behaviour with @FT_Property_Set
* and @FT_Property_Get.
*
- * The TrueType driver's module name is 'truetype'; two properties are
- * available, @interpreter-version and @TEMPORARY-enable-variable-colrv1, as
- * documented in the @properties section.
+ * The TrueType driver's module name is 'truetype'; a single property
+ * @interpreter-version is available, as documented in the @properties
+ * section.
*
* To help understand the differences between interpreter versions, we
* introduce a list of definitions, kindly provided by Greg Hitchcock.
@@ -823,49 +823,6 @@ FT_BEGIN_HEADER
/**************************************************************************
*
* @property:
- * TEMPORARY-enable-variable-colrv1
- *
- * @description:
- * Controls experimental support of variable COLRv1 and whether the COLRv1
- * implementation should take into account variation deltas. This tells the
- * COLRv1 API methods whether they should read from the font and apply
- * variable deltas to COLRv1 properties. The feature is default off. When
- * on, variable COLRv1 deltas are applied for COLRv1 features for which they
- * are already implemented. When off, variable deltas are ignored even if
- * the respective PaintVar* table may already be understood.
- *
- * WARNING: Temporary flag during development of variable COLRv1. This flag
- * will be removed, do not rely on it. Full variable COLRv1 support will be
- * announced separately.
- *
- * @note:
- * This property cannot be set via the `FREETYPE_PROPERTIES` environment
- * variable.
- *
- * @example:
- * The following example code demonstrates how to enable variable
- * COLRv1.
- *
- * ```
- * FT_Library library;
- * FT_Face face;
- * FT_Bool variable_colrv1 = TRUE;
- *
- *
- * FT_Init_FreeType( &library );
- *
- * FT_Property_Set( library, "truetype",
- * "TEMPORARY-enable-variable-colrv1",
- * &variable_colr_v1 );
- * ```
- *
- * @since:
- * 2.12.2
- */
-
- /**************************************************************************
- *
- * @property:
* svg-hooks
*
* @description: