Goal: Workaround the vertical spacing bug

Fixes: #254113

Status wrt upstream: Forwarded


Index: ttf-freefont-20060501cvs/sfd/FreeMono.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeMono.sfd	2006-07-09 21:48:08.320258628 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeMono.sfd	2006-07-14 10:59:07.185064910 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 50
 Ascent: 800
 Descent: 200
+HheadAscent: -273
+HheadDescent: 119
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 49
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -273
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -119
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2Vendor: 'PfEd'
 ScriptLang: 2
Index: ttf-freefont-20060501cvs/sfd/FreeMonoBold.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeMonoBold.sfd	2006-07-09 21:48:08.512260001 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeMonoBold.sfd	2006-07-14 10:59:28.897246959 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 50
 Ascent: 800
 Descent: 200
+HheadAscent: -355
+HheadDescent: 166
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 49
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -355
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -166
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2Vendor: 'PfEd'
 ScriptLang: 2
Index: ttf-freefont-20060501cvs/sfd/FreeMonoBoldOblique.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeMonoBoldOblique.sfd	2006-07-09 21:48:08.740261633 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeMonoBoldOblique.sfd	2006-07-14 10:59:37.313317504 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 50
 Ascent: 800
 Descent: 200
+HheadAscent: -311
+HheadDescent: 166
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 49
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -311
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -166
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2Vendor: 'PfEd'
 ScriptLang: 2
Index: ttf-freefont-20060501cvs/sfd/FreeMonoOblique.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeMonoOblique.sfd	2006-07-09 21:48:09.032263722 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeMonoOblique.sfd	2006-07-14 10:59:18.201157286 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 50
 Ascent: 800
 Descent: 200
+HheadAscent: -277
+HheadDescent: 146
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 49
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -277
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -146
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2Vendor: 'PfEd'
 ScriptLang: 4
Index: ttf-freefont-20060501cvs/sfd/FreeSans.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeSans.sfd	2006-07-09 21:48:09.360266069 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeSans.sfd	2006-07-14 10:49:50.316366280 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 50
 Ascent: 800
 Descent: 200
+HheadAscent: -430
+HheadDescent: 262
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 33
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -430
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -262
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2Vendor: 'PfEd'
 ScriptLang: 10
Index: ttf-freefont-20060501cvs/sfd/FreeSansBold.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeSansBold.sfd	2006-07-09 21:48:09.576267614 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeSansBold.sfd	2006-07-14 10:58:41.032845531 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 69
 Ascent: 800
 Descent: 200
+HheadAscent: -367
+HheadDescent: 260
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 33
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -367
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -260
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2Vendor: 'PfEd'
 ScriptLang: 7
Index: ttf-freefont-20060501cvs/sfd/FreeSansBoldOblique.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeSansBoldOblique.sfd	2006-07-09 21:48:09.792269160 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeSansBoldOblique.sfd	2006-07-14 10:58:54.356957315 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 69
 Ascent: 800
 Descent: 200
+HheadAscent: -363
+HheadDescent: 109
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 33
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -363
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -109
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2Vendor: 'PfEd'
 ScriptLang: 3
Index: ttf-freefont-20060501cvs/sfd/FreeSansOblique.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeSansOblique.sfd	2006-07-09 21:48:09.976270476 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeSansOblique.sfd	2006-07-14 10:58:29.616749730 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 50
 Ascent: 800
 Descent: 200
+HheadAscent: -341
+HheadDescent: 231
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 33
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -341
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -231
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2Vendor: 'PfEd'
 ScriptLang: 6
Index: ttf-freefont-20060501cvs/sfd/FreeSerif.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeSerif.sfd	2006-07-09 21:48:10.164271821 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeSerif.sfd	2006-07-14 10:57:19.648162101 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 50
 Ascent: 800
 Descent: 200
+HheadAscent: -366
+HheadDescent: 345
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 17
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -366
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -345
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2SubXSize: 0
 OS2SubYSize: 1
Index: ttf-freefont-20060501cvs/sfd/FreeSerifBold.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeSerifBold.sfd	2006-07-09 21:48:10.400273510 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeSerifBold.sfd	2006-07-14 10:57:45.868382406 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 50
 Ascent: 800
 Descent: 200
+HheadAscent: -373
+HheadDescent: 288
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 17
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -373
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -288
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2Vendor: 'PfEd'
 ScriptLang: 4
Index: ttf-freefont-20060501cvs/sfd/FreeSerifBoldItalic.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeSerifBoldItalic.sfd	2006-07-09 21:48:10.588274855 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeSerifBoldItalic.sfd	2006-07-14 10:57:59.608497807 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 50
 Ascent: 800
 Descent: 200
+HheadAscent: -371
+HheadDescent: 288
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 17
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -371
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -288
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2Vendor: 'PfEd'
 ScriptLang: 3
Index: ttf-freefont-20060501cvs/sfd/FreeSerifItalic.sfd
===================================================================
--- ttf-freefont-20060501cvs.orig/sfd/FreeSerifItalic.sfd	2006-07-09 21:48:10.832276601 +0200
+++ ttf-freefont-20060501cvs/sfd/FreeSerifItalic.sfd	2006-07-14 10:57:33.988282603 +0200
@@ -10,6 +10,8 @@
 UnderlineWidth: 50
 Ascent: 800
 Descent: 200
+HheadAscent: -322
+HheadDescent: 238
 NeedsXUIDChange: 1
 FSType: 0
 PfmFamily: 17
@@ -23,13 +25,11 @@
 OS2TypoDescent: 0
 OS2TypoDOffset: 1
 OS2TypoLinegap: 0
-OS2WinAscent: 0
+OS2WinAscent: -322
 OS2WinAOffset: 1
-OS2WinDescent: 0
+OS2WinDescent: -238
 OS2WinDOffset: 1
-HheadAscent: 0
 HheadAOffset: 1
-HheadDescent: 0
 HheadDOffset: 1
 OS2Vendor: 'PfEd'
 ScriptLang: 3
