Commit c04f4c4b029d6d0870dfc0010ae8d92b798e85fe

Darren Embry 2021-10-13T00:44:34

now imports properly into windows

diff --git a/convert.py b/convert.py
index 63b15f9..1a85bb4 100755
--- a/convert.py
+++ b/convert.py
@@ -27,6 +27,17 @@ def roman():
     font.fullname   = 'IBM Courier'
     font.familyname = 'IBM Courier'
     font.italicangle = 0.0
+    font.weight = 'Book'
+
+    print("{}".format(font.sfnt_names))
+    font.sfnt_names = (
+        ('English (US)', 'Family', 'IBM Courier'),
+        ('English (US)', 'SubFamily', 'Regular'),
+        ('English (US)', 'Fullname', 'IBM Courier'),
+        ('English (US)', 'PostScriptName', 'IBMCourier'),
+    ) + font.sfnt_names
+    print("{}".format(font.sfnt_names))
+
     font.save('sfd/IBM-Courier.sfd')
     for extension in extensions:
         font.generate('fonts/IBM-Courier.' + extension)
@@ -37,6 +48,14 @@ def bold():
     font.fullname   = 'IBM Courier Bold'
     font.familyname = 'IBM Courier'
     font.italicangle = 0.0
+
+    font.sfnt_names = (
+        ('English (US)', 'Family', 'IBM Courier'),
+        ('English (US)', 'SubFamily', 'Bold'),
+        ('English (US)', 'Fullname', 'IBM Courier Bold'),
+        ('English (US)', 'PostScriptName', 'IBMCourier-Bold'),
+    ) + font.sfnt_names
+
     font.save('sfd/IBM-Courier-Bold.sfd')
     for extension in extensions:
         font.generate('fonts/IBM-Courier-Bold.' + extension)
@@ -47,6 +66,15 @@ def italic():
     font.fullname   = 'IBM Courier Italic'
     font.familyname = 'IBM Courier'
     font.italicangle = -12.0
+    font.weight = 'Book'
+
+    font.sfnt_names = (
+        ('English (US)', 'Family', 'IBM Courier'),
+        ('English (US)', 'SubFamily', 'Italic'),
+        ('English (US)', 'Fullname', 'IBM Courier Italic'),
+        ('English (US)', 'PostScriptName', 'IBMCourier-Italic'),
+    ) + font.sfnt_names
+
     font.save('sfd/IBM-Courier-Italic.sfd')
     for extension in extensions:
         font.generate('fonts/IBM-Courier-Italic.' + extension)
@@ -57,6 +85,14 @@ def boldItalic():
     font.fullname   = 'IBM Courier Bold Italic'
     font.familyname = 'IBM Courier'
     font.italicangle = -12.0
+
+    font.sfnt_names = (
+        ('English (US)', 'Family', 'IBM Courier'),
+        ('English (US)', 'SubFamily', 'Bold Italic'),
+        ('English (US)', 'Fullname', 'IBM Courier Bold Italic'),
+        ('English (US)', 'PostScriptName', 'IBMCourier-BoldItalic'),
+    ) + font.sfnt_names
+
     font.save('sfd/IBM-Courier-Bold-Italic.sfd')
     for extension in extensions:
         font.generate('fonts/IBM-Courier-Bold-Italic.' + extension)
diff --git a/fonts/IBM-Courier-Bold-Italic.otf b/fonts/IBM-Courier-Bold-Italic.otf
index 8eff4ae..ea62fad 100755
Binary files a/fonts/IBM-Courier-Bold-Italic.otf and b/fonts/IBM-Courier-Bold-Italic.otf differ
diff --git a/fonts/IBM-Courier-Bold-Italic.svg b/fonts/IBM-Courier-Bold-Italic.svg
index 442e14d..880f9e0 100644
--- a/fonts/IBM-Courier-Bold-Italic.svg
+++ b/fonts/IBM-Courier-Bold-Italic.svg
@@ -2,7 +2,7 @@
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
 <metadata>
-Created by FontForge 20201107 at Tue Oct 12 20:13:38 2021
+Created by FontForge 20201107 at Tue Oct 12 20:43:59 2021
  By Darren Embry
 Copyright (c) IBM Corporation 1990,1991.
 </metadata>
diff --git a/fonts/IBM-Courier-Bold-Italic.ttf b/fonts/IBM-Courier-Bold-Italic.ttf
index d99bbfa..cb382d9 100755
Binary files a/fonts/IBM-Courier-Bold-Italic.ttf and b/fonts/IBM-Courier-Bold-Italic.ttf differ
diff --git a/fonts/IBM-Courier-Bold-Italic.woff b/fonts/IBM-Courier-Bold-Italic.woff
index a5ab5e2..c268fc2 100644
Binary files a/fonts/IBM-Courier-Bold-Italic.woff and b/fonts/IBM-Courier-Bold-Italic.woff differ
diff --git a/fonts/IBM-Courier-Bold-Italic.woff2 b/fonts/IBM-Courier-Bold-Italic.woff2
index 9fc744a..e10176c 100644
Binary files a/fonts/IBM-Courier-Bold-Italic.woff2 and b/fonts/IBM-Courier-Bold-Italic.woff2 differ
diff --git a/fonts/IBM-Courier-Bold.otf b/fonts/IBM-Courier-Bold.otf
index 6740df5..bc0c779 100755
Binary files a/fonts/IBM-Courier-Bold.otf and b/fonts/IBM-Courier-Bold.otf differ
diff --git a/fonts/IBM-Courier-Bold.svg b/fonts/IBM-Courier-Bold.svg
index b18d4fa..2f74649 100644
--- a/fonts/IBM-Courier-Bold.svg
+++ b/fonts/IBM-Courier-Bold.svg
@@ -2,7 +2,7 @@
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
 <metadata>
-Created by FontForge 20201107 at Tue Oct 12 20:13:38 2021
+Created by FontForge 20201107 at Tue Oct 12 20:43:59 2021
  By Darren Embry
 Copyright (c) IBM Corporation 1990,1991.
 </metadata>
diff --git a/fonts/IBM-Courier-Bold.ttf b/fonts/IBM-Courier-Bold.ttf
index 7ce173a..3cad7c4 100755
Binary files a/fonts/IBM-Courier-Bold.ttf and b/fonts/IBM-Courier-Bold.ttf differ
diff --git a/fonts/IBM-Courier-Bold.woff b/fonts/IBM-Courier-Bold.woff
index f721bee..69d4899 100644
Binary files a/fonts/IBM-Courier-Bold.woff and b/fonts/IBM-Courier-Bold.woff differ
diff --git a/fonts/IBM-Courier-Bold.woff2 b/fonts/IBM-Courier-Bold.woff2
index 4a89c13..16d85fb 100644
Binary files a/fonts/IBM-Courier-Bold.woff2 and b/fonts/IBM-Courier-Bold.woff2 differ
diff --git a/fonts/IBM-Courier-Italic.otf b/fonts/IBM-Courier-Italic.otf
index 48beec3..b34e90a 100755
Binary files a/fonts/IBM-Courier-Italic.otf and b/fonts/IBM-Courier-Italic.otf differ
diff --git a/fonts/IBM-Courier-Italic.svg b/fonts/IBM-Courier-Italic.svg
index 597f62e..a920605 100644
--- a/fonts/IBM-Courier-Italic.svg
+++ b/fonts/IBM-Courier-Italic.svg
@@ -2,7 +2,7 @@
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
 <metadata>
-Created by FontForge 20201107 at Tue Oct 12 20:13:38 2021
+Created by FontForge 20201107 at Tue Oct 12 20:43:59 2021
  By Darren Embry
 Copyright (c) IBM Corporation 1990,1991.
 </metadata>
diff --git a/fonts/IBM-Courier-Italic.ttf b/fonts/IBM-Courier-Italic.ttf
index c0ca11a..c25c6f6 100755
Binary files a/fonts/IBM-Courier-Italic.ttf and b/fonts/IBM-Courier-Italic.ttf differ
diff --git a/fonts/IBM-Courier-Italic.woff b/fonts/IBM-Courier-Italic.woff
index 73b26bd..07936f4 100644
Binary files a/fonts/IBM-Courier-Italic.woff and b/fonts/IBM-Courier-Italic.woff differ
diff --git a/fonts/IBM-Courier-Italic.woff2 b/fonts/IBM-Courier-Italic.woff2
index e78108b..db67b10 100644
Binary files a/fonts/IBM-Courier-Italic.woff2 and b/fonts/IBM-Courier-Italic.woff2 differ
diff --git a/fonts/IBM-Courier.otf b/fonts/IBM-Courier.otf
index d29d68e..dd88d7e 100755
Binary files a/fonts/IBM-Courier.otf and b/fonts/IBM-Courier.otf differ
diff --git a/fonts/IBM-Courier.svg b/fonts/IBM-Courier.svg
index bb32788..af07310 100644
--- a/fonts/IBM-Courier.svg
+++ b/fonts/IBM-Courier.svg
@@ -2,7 +2,7 @@
 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
 <metadata>
-Created by FontForge 20201107 at Tue Oct 12 20:13:38 2021
+Created by FontForge 20201107 at Tue Oct 12 20:43:59 2021
  By Darren Embry
 Copyright (c) IBM Corporation 1990,1991.
 </metadata>
diff --git a/fonts/IBM-Courier.ttf b/fonts/IBM-Courier.ttf
index 88b8416..5525059 100755
Binary files a/fonts/IBM-Courier.ttf and b/fonts/IBM-Courier.ttf differ
diff --git a/fonts/IBM-Courier.woff b/fonts/IBM-Courier.woff
index a7ea86d..6e602a5 100644
Binary files a/fonts/IBM-Courier.woff and b/fonts/IBM-Courier.woff differ
diff --git a/fonts/IBM-Courier.woff2 b/fonts/IBM-Courier.woff2
index fe521ad..153e1e4 100644
Binary files a/fonts/IBM-Courier.woff2 and b/fonts/IBM-Courier.woff2 differ
diff --git a/sfd/IBM-Courier-Bold-Italic.sfd b/sfd/IBM-Courier-Bold-Italic.sfd
index 4461e83..b6cdf8a 100755
--- a/sfd/IBM-Courier-Bold-Italic.sfd
+++ b/sfd/IBM-Courier-Bold-Italic.sfd
@@ -18,8 +18,8 @@ UniqueID: 263789
 OS2Version: 0
 OS2_WeightWidthSlopeOnly: 0
 OS2_UseTypoMetrics: 0
-CreationTime: 1634084018
-ModificationTime: 1634084018
+CreationTime: 1634085839
+ModificationTime: 1634085839
 OS2TypoAscent: 0
 OS2TypoAOffset: 1
 OS2TypoDescent: 0
@@ -36,6 +36,7 @@ HheadDOffset: 1
 OS2Vendor: 'PfEd'
 Lookup: 4 0 1 "'liga' Standard Ligatures in Latin lookup 0" { "'liga' Standard Ligatures in Latin lookup 0 subtable"  } ['liga' ('latn' <'dflt' > ) ]
 DEI: 91125
+LangName: 1033 "" "" "Bold Italic"
 Encoding: AdobeStandard
 UnicodeInterp: none
 NameList: AGL For New Fonts
diff --git a/sfd/IBM-Courier-Bold.sfd b/sfd/IBM-Courier-Bold.sfd
index 5fb5390..b1644a2 100755
--- a/sfd/IBM-Courier-Bold.sfd
+++ b/sfd/IBM-Courier-Bold.sfd
@@ -18,8 +18,8 @@ UniqueID: 263788
 OS2Version: 0
 OS2_WeightWidthSlopeOnly: 0
 OS2_UseTypoMetrics: 0
-CreationTime: 1634084018
-ModificationTime: 1634084018
+CreationTime: 1634085839
+ModificationTime: 1634085839
 OS2TypoAscent: 0
 OS2TypoAOffset: 1
 OS2TypoDescent: 0
diff --git a/sfd/IBM-Courier-Italic.sfd b/sfd/IBM-Courier-Italic.sfd
index 14cfeca..a7fa888 100755
--- a/sfd/IBM-Courier-Italic.sfd
+++ b/sfd/IBM-Courier-Italic.sfd
@@ -2,7 +2,7 @@ SplineFontDB: 3.2
 FontName: IBMCourier-Italic
 FullName: IBM Courier Italic
 FamilyName: IBM Courier
-Weight: Regular
+Weight: Book
 Copyright: Copyright (c) IBM Corporation 1990,1991.
 Version: 001.003
 ItalicAngle: -12
@@ -18,8 +18,8 @@ UniqueID: 263787
 OS2Version: 0
 OS2_WeightWidthSlopeOnly: 0
 OS2_UseTypoMetrics: 0
-CreationTime: 1634084018
-ModificationTime: 1634084018
+CreationTime: 1634085839
+ModificationTime: 1634085839
 OS2TypoAscent: 0
 OS2TypoAOffset: 1
 OS2TypoDescent: 0
diff --git a/sfd/IBM-Courier.sfd b/sfd/IBM-Courier.sfd
index 0b8817a..ec9b0f0 100755
--- a/sfd/IBM-Courier.sfd
+++ b/sfd/IBM-Courier.sfd
@@ -2,7 +2,7 @@ SplineFontDB: 3.2
 FontName: IBMCourier
 FullName: IBM Courier
 FamilyName: IBM Courier
-Weight: Regular
+Weight: Book
 Copyright: Copyright (c) IBM Corporation 1990,1991.
 Version: 001.003
 ItalicAngle: 0
@@ -18,8 +18,8 @@ UniqueID: 263786
 OS2Version: 0
 OS2_WeightWidthSlopeOnly: 0
 OS2_UseTypoMetrics: 0
-CreationTime: 1634084018
-ModificationTime: 1634084018
+CreationTime: 1634085839
+ModificationTime: 1634085839
 OS2TypoAscent: 0
 OS2TypoAOffset: 1
 OS2TypoDescent: 0
@@ -36,6 +36,7 @@ HheadDOffset: 1
 OS2Vendor: 'PfEd'
 Lookup: 4 0 1 "'liga' Standard Ligatures in Latin lookup 0" { "'liga' Standard Ligatures in Latin lookup 0 subtable"  } ['liga' ('latn' <'dflt' > ) ]
 DEI: 91125
+LangName: 1033 "" "" "Regular"
 Encoding: AdobeStandard
 UnicodeInterp: none
 NameList: AGL For New Fonts