[gnome-font-viewer/matthiasc/character-variations: 2/2] Add cvNN tags to the OpenType feature list



commit 211a44b1c2713fe553740ea787b0f30534491b9b
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Apr 24 17:49:32 2018 -0400

    Add cvNN tags to the OpenType feature list
    
    These are 'Character Variation' tags, and we should list them.

 src/open-type-layout.h |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)
---
diff --git a/src/open-type-layout.h b/src/open-type-layout.h
index 22521f3..8ac9737 100644
--- a/src/open-type-layout.h
+++ b/src/open-type-layout.h
@@ -31,6 +31,25 @@ static NamedTag open_type_layout_features[] = {
   { MAKE_TAG('c','u','r','s'), NC_("OpenType layout", "Cursive Positioning") },
   { MAKE_TAG('c','2','p','c'), NC_("OpenType layout", "Petite Capitals From Capitals") },
   { MAKE_TAG('c','2','s','c'), NC_("OpenType layout", "Small Capitals From Capitals") },
+  { MAKE_TAG('c','v','0','1'), NC_("OpenType layout", "Character Variation 1") },
+  { MAKE_TAG('c','v','0','2'), NC_("OpenType layout", "Character Variation 2") },
+  { MAKE_TAG('c','v','0','3'), NC_("OpenType layout", "Character Variation 3") },
+  { MAKE_TAG('c','v','0','4'), NC_("OpenType layout", "Character Variation 4") },
+  { MAKE_TAG('c','v','0','5'), NC_("OpenType layout", "Character Variation 5") },
+  { MAKE_TAG('c','v','0','6'), NC_("OpenType layout", "Character Variation 6") },
+  { MAKE_TAG('c','v','0','7'), NC_("OpenType layout", "Character Variation 7") },
+  { MAKE_TAG('c','v','0','8'), NC_("OpenType layout", "Character Variation 8") },
+  { MAKE_TAG('c','v','0','9'), NC_("OpenType layout", "Character Variation 9") },
+  { MAKE_TAG('c','v','1','0'), NC_("OpenType layout", "Character Variation 10") },
+  { MAKE_TAG('c','v','1','1'), NC_("OpenType layout", "Character Variation 11") },
+  { MAKE_TAG('c','v','1','2'), NC_("OpenType layout", "Character Variation 12") },
+  { MAKE_TAG('c','v','1','3'), NC_("OpenType layout", "Character Variation 13") },
+  { MAKE_TAG('c','v','1','4'), NC_("OpenType layout", "Character Variation 14") },
+  { MAKE_TAG('c','v','1','5'), NC_("OpenType layout", "Character Variation 15") },
+  { MAKE_TAG('c','v','1','6'), NC_("OpenType layout", "Character Variation 16") },
+  { MAKE_TAG('c','v','1','7'), NC_("OpenType layout", "Character Variation 17") },
+  { MAKE_TAG('c','v','1','8'), NC_("OpenType layout", "Character Variation 18") },
+  { MAKE_TAG('c','v','1','9'), NC_("OpenType layout", "Character Variation 19") },
   { MAKE_TAG('d','i','s','t'), NC_("OpenType layout", "Distances") },
   { MAKE_TAG('d','l','i','g'), NC_("OpenType layout", "Discretionary Ligatures") },
   { MAKE_TAG('d','n','o','m'), NC_("OpenType layout", "Denominators") },


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