[cantarell-fonts/adjust-vmetrics] Set vertical metrics according to GF spec



commit 7a6f4338a68b54ffd4f94f11cc190a959502e9b7
Author: Nikolaus Waxweiler <madigens gmail com>
Date:   Sun Dec 16 18:21:09 2018 +0000

    Set vertical metrics according to GF spec
    
    https://github.com/googlefonts/gf-docs/tree/master/VerticalMetrics
    
    I took the hhea metrics that Glyphs.app calculated (asc. 983, desc. -217, gap
    0) and copied them to the typo metrics. Win metrics were set to head's yMax and
    yMin.

 src/Cantarell.glyphs | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 96 insertions(+)
---
diff --git a/src/Cantarell.glyphs b/src/Cantarell.glyphs
index f96420f2..8289ca60 100644
--- a/src/Cantarell.glyphs
+++ b/src/Cantarell.glyphs
@@ -178,6 +178,38 @@ value = "16";
 {
 name = paramOver;
 value = "0";
+},
+{
+name = hheaAscender;
+value = 983;
+},
+{
+name = hheaDescender;
+value = -217;
+},
+{
+name = hheaLineGap;
+value = 0;
+},
+{
+name = typoAscender;
+value = 983;
+},
+{
+name = typoDescender;
+value = -217;
+},
+{
+name = typoLineGap;
+value = 0;
+},
+{
+name = winAscent;
+value = 1101;
+},
+{
+name = winDescent;
+value = 256;
 }
 );
 descender = -217;
@@ -219,6 +251,38 @@ value = "16";
 {
 name = paramOver;
 value = "0";
+},
+{
+name = hheaAscender;
+value = 983;
+},
+{
+name = hheaDescender;
+value = -217;
+},
+{
+name = hheaLineGap;
+value = 0;
+},
+{
+name = typoAscender;
+value = 983;
+},
+{
+name = typoDescender;
+value = -217;
+},
+{
+name = typoLineGap;
+value = 0;
+},
+{
+name = winAscent;
+value = 1101;
+},
+{
+name = winDescent;
+value = 256;
 }
 );
 descender = -217;
@@ -262,6 +326,38 @@ value = "16";
 {
 name = paramOver;
 value = "0";
+},
+{
+name = hheaAscender;
+value = 983;
+},
+{
+name = hheaDescender;
+value = -217;
+},
+{
+name = hheaLineGap;
+value = 0;
+},
+{
+name = typoAscender;
+value = 983;
+},
+{
+name = typoDescender;
+value = -217;
+},
+{
+name = typoLineGap;
+value = 0;
+},
+{
+name = winAscent;
+value = 1101;
+},
+{
+name = winDescent;
+value = 256;
 }
 );
 descender = -217;


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