Commit 4216972898b6018a80171b723f7ea82b2b614953

Darren Embry 2023-11-17T20:58:36

windows selects wrong font sometimes; see if OS/2 stylemap fixes

diff --git a/sfd/IBM-Courier-Bold-Italic.sfd b/sfd/IBM-Courier-Bold-Italic.sfd
index bbf856a..bdd5468 100755
--- a/sfd/IBM-Courier-Bold-Italic.sfd
+++ b/sfd/IBM-Courier-Bold-Italic.sfd
@@ -15,16 +15,23 @@ LayerCount: 2
 Layer: 0 0 "Back" 1
 Layer: 1 0 "Fore" 0
 UniqueID: 263789
+StyleMap: 0x0021
+FSType: 0
 OS2Version: 0
 OS2_WeightWidthSlopeOnly: 0
 OS2_UseTypoMetrics: 0
 CreationTime: 1700268445
-ModificationTime: 1700271567
+ModificationTime: 1700272649
+PfmFamily: 17
+TTFWeight: 700
+TTFWidth: 5
+LineGap: 90
+VLineGap: 0
 OS2TypoAscent: 0
 OS2TypoAOffset: 1
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
-OS2TypoLinegap: 0
+OS2TypoLinegap: 90
 OS2WinAscent: 0
 OS2WinAOffset: 1
 OS2WinDescent: 0
diff --git a/sfd/IBM-Courier-Bold.sfd b/sfd/IBM-Courier-Bold.sfd
index 956f6b4..212c686 100755
--- a/sfd/IBM-Courier-Bold.sfd
+++ b/sfd/IBM-Courier-Bold.sfd
@@ -15,16 +15,23 @@ LayerCount: 2
 Layer: 0 0 "Back" 1
 Layer: 1 0 "Fore" 0
 UniqueID: 263788
+StyleMap: 0x0020
+FSType: 0
 OS2Version: 0
 OS2_WeightWidthSlopeOnly: 0
 OS2_UseTypoMetrics: 0
 CreationTime: 1700268445
-ModificationTime: 1700271537
+ModificationTime: 1700272662
+PfmFamily: 17
+TTFWeight: 700
+TTFWidth: 5
+LineGap: 90
+VLineGap: 0
 OS2TypoAscent: 0
 OS2TypoAOffset: 1
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
-OS2TypoLinegap: 0
+OS2TypoLinegap: 90
 OS2WinAscent: 0
 OS2WinAOffset: 1
 OS2WinDescent: 0
diff --git a/sfd/IBM-Courier-Italic.sfd b/sfd/IBM-Courier-Italic.sfd
index 4dd87f3..35e6c0b 100755
--- a/sfd/IBM-Courier-Italic.sfd
+++ b/sfd/IBM-Courier-Italic.sfd
@@ -15,16 +15,23 @@ LayerCount: 2
 Layer: 0 0 "Back" 1
 Layer: 1 0 "Fore" 0
 UniqueID: 263787
+StyleMap: 0x0001
+FSType: 0
 OS2Version: 0
 OS2_WeightWidthSlopeOnly: 0
 OS2_UseTypoMetrics: 0
 CreationTime: 1700268445
-ModificationTime: 1700271545
+ModificationTime: 1700272672
+PfmFamily: 17
+TTFWeight: 400
+TTFWidth: 5
+LineGap: 90
+VLineGap: 0
 OS2TypoAscent: 0
 OS2TypoAOffset: 1
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
-OS2TypoLinegap: 0
+OS2TypoLinegap: 90
 OS2WinAscent: 0
 OS2WinAOffset: 1
 OS2WinDescent: 0
diff --git a/sfd/IBM-Courier.sfd b/sfd/IBM-Courier.sfd
index ec4ec4b..e3d6b62 100755
--- a/sfd/IBM-Courier.sfd
+++ b/sfd/IBM-Courier.sfd
@@ -15,16 +15,23 @@ LayerCount: 2
 Layer: 0 0 "Back" 1
 Layer: 1 0 "Fore" 0
 UniqueID: 263786
+StyleMap: 0x0040
+FSType: 0
 OS2Version: 0
 OS2_WeightWidthSlopeOnly: 0
 OS2_UseTypoMetrics: 0
 CreationTime: 1700268445
-ModificationTime: 1700271551
+ModificationTime: 1700272633
+PfmFamily: 17
+TTFWeight: 400
+TTFWidth: 5
+LineGap: 90
+VLineGap: 0
 OS2TypoAscent: 0
 OS2TypoAOffset: 1
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
-OS2TypoLinegap: 0
+OS2TypoLinegap: 90
 OS2WinAscent: 0
 OS2WinAOffset: 1
 OS2WinDescent: 0