freetype-commit
[Top][All Lists]
Advanced

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

[freetype2] master 268bdd7 11/68: CHANGES: Mention 'COLR' v1 support.


From: Werner Lemberg
Subject: [freetype2] master 268bdd7 11/68: CHANGES: Mention 'COLR' v1 support.
Date: Fri, 5 Mar 2021 09:29:33 -0500 (EST)

branch: master
commit 268bdd7764e6ab4029fe7f8bc35626294d791c6d
Author: Dominik Röttsches <drott@chromium.org>
Commit: Werner Lemberg <wl@gnu.org>

    CHANGES: Mention 'COLR' v1 support.
---
 docs/CHANGES | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/docs/CHANGES b/docs/CHANGES
index e193b5f..8f193f8 100644
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -15,6 +15,38 @@ CHANGES BETWEEN 2.10.4 and 2.11.0
 
     This work was Anuj Verma's GSoC 2020 project.
 
+  - A new, experimental API is  now available for surfacing properties
+    of 'COLR' v1  color fonts (as the name says,  this is an extension
+    to  the  'COLR' table  for  outline  color  fonts using  the  SFNT
+    container  format).   'COLR'  v1  fonts are  a  recently  proposed
+    addition to OFF and OpenType; specification work currently happens
+    in
+
+      https://github.com/googlefonts/colr-gradients-spec/
+
+    'COLR'  v1  is  expected  to   be  merged  to  OpenType;  the  ISO
+    standardisation process  for adding 'COLR'  v1 as an  amendment to
+    OFF is underway.
+
+    Functions similar  to the  already existing  'COLR' API  have been
+    added to access the corresponding data.
+
+      FT_Get_Color_Glyph_Paint
+        Retrieve the root paint for a given glyph ID.
+
+      FT_Get_Paint_Layers
+        Access the layers of a `PaintColrLayers` table.
+
+      FT_Get_Colorline_Stops
+        Retrieve the  'color stops' on a  color line.  As an  input, a
+        color stop iterator gets used, which in turn is retrieved from
+        a paint.
+
+      FT_Get_Paint
+        Dereference  an  `FT_OpaquePaint`   object  and  retrieve  the
+        corresponding `FT_COLR_Paint`  object, which  contains details
+        on how to draw the respective 'COLR' v1 `Paint` table.
+
 
   II. MISCELLANEOUS
 



reply via email to

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