[cantarell-fonts] Set UseTypoMetrics flag



commit 5275c2bb9f6a50e0bd5b7ee5bb91b7c673daf073
Author: Nikolaus Waxweiler <madigens gmail com>
Date:   Sun Mar 31 18:34:51 2019 +0100

    Set UseTypoMetrics flag

 NEWS                                     | 3 +++
 src/Cantarell-Regular.ufo/fontinfo.plist | 4 ++++
 2 files changed, 7 insertions(+)
---
diff --git a/NEWS b/NEWS
index 82b9eca6..34ec95e1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,9 @@
 Next version:
 - Added variable font, TrueType flavor. No hinting for now.
 - Static fonts use same rounding method as varLib uses for the variable font.
+- Set the UseTypoMetrics flag. This is recommended by the OpenType
+  specification but will result in line-height spacing problems in various
+  places, as the typo line height is generally ignored. May be reverted.
 - Fixed Ustraight-cy (U+04AE), ustraight-cy (U+04AF), Ustraightstroke-cy
   (U+04B0), ustraightstroke-cy (U+04B1), they didn't have a proper production
   name before and may not have been properly accessible.
diff --git a/src/Cantarell-Regular.ufo/fontinfo.plist b/src/Cantarell-Regular.ufo/fontinfo.plist
index 2baa5caa..a416c6a1 100644
--- a/src/Cantarell-Regular.ufo/fontinfo.plist
+++ b/src/Cantarell-Regular.ufo/fontinfo.plist
@@ -55,6 +55,10 @@
       <integer>0</integer>
       <integer>0</integer>
     </array>
+    <key>openTypeOS2Selection</key>
+    <array>
+      <integer>7</integer>
+    </array>
     <key>openTypeOS2Type</key>
     <array/>
     <key>openTypeOS2VendorID</key>


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