~ubuntu-branches/ubuntu/gutsy/ttf-freefont/gutsy

« back to all changes in this revision

Viewing changes to debian/patches/004_workaround-spacing-bug

  • Committer: Bazaar Package Importer
  • Author(s): Christian Perrier
  • Date: 2006-07-15 08:55:38 UTC
  • mto: This revision was merged to the branch mainline in revision 2.
  • Revision ID: james.westby@ubuntu.com-20060715085538-44guw1za3ar9nz1u
Tags: 20060501cvs-9
* Set the priority to optional just like it is in the override
* 011_liga_to_dlig:
  Change all mandatory ligatures to optional in FreeSans and FreeSerif
  This replaces 010_st_ligature which did so only for the "st" ligature
  Thanks to Dick Streefland for the suggestion and the patch
  Closes: #382521

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Goal: Workaround the vertical spacing bug
2
2
 
3
 
Fixes: #254113 (but not completely. OOo still affected)
 
3
Fixes: #254113
4
4
 
5
5
Status wrt upstream: Forwarded
6
6
 
7
7
 
8
 
Index: ttf-freefont-20060126b/sfd/FreeMono.sfd
 
8
Index: ttf-freefont-20060501cvs/sfd/FreeMono.sfd
9
9
===================================================================
10
 
--- ttf-freefont-20060126b.orig/sfd/FreeMono.sfd        2006-03-13 09:15:34.270329920 +0100
11
 
+++ ttf-freefont-20060126b/sfd/FreeMono.sfd     2006-03-13 09:16:47.411210816 +0100
 
10
--- ttf-freefont-20060501cvs.orig/sfd/FreeMono.sfd      2006-07-09 21:48:08.320258628 +0200
 
11
+++ ttf-freefont-20060501cvs/sfd/FreeMono.sfd   2006-07-14 10:59:07.185064910 +0200
12
12
@@ -10,6 +10,8 @@
13
13
 UnderlineWidth: 50
14
14
 Ascent: 800
18
18
 NeedsXUIDChange: 1
19
19
 FSType: 0
20
20
 PfmFamily: 49
21
 
@@ -27,9 +29,7 @@
 
21
@@ -23,13 +25,11 @@
 
22
 OS2TypoDescent: 0
 
23
 OS2TypoDOffset: 1
 
24
 OS2TypoLinegap: 0
 
25
-OS2WinAscent: 0
 
26
+OS2WinAscent: -273
22
27
 OS2WinAOffset: 1
23
 
 OS2WinDescent: 0
 
28
-OS2WinDescent: 0
 
29
+OS2WinDescent: -119
24
30
 OS2WinDOffset: 1
25
31
-HheadAscent: 0
26
32
 HheadAOffset: 1
28
34
 HheadDOffset: 1
29
35
 OS2Vendor: 'PfEd'
30
36
 ScriptLang: 2
31
 
Index: ttf-freefont-20060126b/sfd/FreeMonoBold.sfd
 
37
Index: ttf-freefont-20060501cvs/sfd/FreeMonoBold.sfd
32
38
===================================================================
33
 
--- ttf-freefont-20060126b.orig/sfd/FreeMonoBold.sfd    2006-03-13 09:15:34.288327184 +0100
34
 
+++ ttf-freefont-20060126b/sfd/FreeMonoBold.sfd 2006-03-13 09:16:47.433207472 +0100
 
39
--- ttf-freefont-20060501cvs.orig/sfd/FreeMonoBold.sfd  2006-07-09 21:48:08.512260001 +0200
 
40
+++ ttf-freefont-20060501cvs/sfd/FreeMonoBold.sfd       2006-07-14 10:59:28.897246959 +0200
35
41
@@ -10,6 +10,8 @@
36
42
 UnderlineWidth: 50
37
43
 Ascent: 800
41
47
 NeedsXUIDChange: 1
42
48
 FSType: 0
43
49
 PfmFamily: 49
44
 
@@ -27,9 +29,7 @@
 
50
@@ -23,13 +25,11 @@
 
51
 OS2TypoDescent: 0
 
52
 OS2TypoDOffset: 1
 
53
 OS2TypoLinegap: 0
 
54
-OS2WinAscent: 0
 
55
+OS2WinAscent: -355
45
56
 OS2WinAOffset: 1
46
 
 OS2WinDescent: 0
 
57
-OS2WinDescent: 0
 
58
+OS2WinDescent: -166
47
59
 OS2WinDOffset: 1
48
60
-HheadAscent: 0
49
61
 HheadAOffset: 1
50
62
-HheadDescent: 0
51
63
 HheadDOffset: 1
52
64
 OS2Vendor: 'PfEd'
53
 
 ScriptLang: 3
54
 
Index: ttf-freefont-20060126b/sfd/FreeMonoBoldOblique.sfd
 
65
 ScriptLang: 2
 
66
Index: ttf-freefont-20060501cvs/sfd/FreeMonoBoldOblique.sfd
55
67
===================================================================
56
 
--- ttf-freefont-20060126b.orig/sfd/FreeMonoBoldOblique.sfd     2006-03-13 09:15:34.301325208 +0100
57
 
+++ ttf-freefont-20060126b/sfd/FreeMonoBoldOblique.sfd  2006-03-13 09:16:47.453204432 +0100
 
68
--- ttf-freefont-20060501cvs.orig/sfd/FreeMonoBoldOblique.sfd   2006-07-09 21:48:08.740261633 +0200
 
69
+++ ttf-freefont-20060501cvs/sfd/FreeMonoBoldOblique.sfd        2006-07-14 10:59:37.313317504 +0200
58
70
@@ -10,6 +10,8 @@
59
71
 UnderlineWidth: 50
60
72
 Ascent: 800
64
76
 NeedsXUIDChange: 1
65
77
 FSType: 0
66
78
 PfmFamily: 49
67
 
@@ -27,9 +29,7 @@
 
79
@@ -23,13 +25,11 @@
 
80
 OS2TypoDescent: 0
 
81
 OS2TypoDOffset: 1
 
82
 OS2TypoLinegap: 0
 
83
-OS2WinAscent: 0
 
84
+OS2WinAscent: -311
68
85
 OS2WinAOffset: 1
69
 
 OS2WinDescent: 0
 
86
-OS2WinDescent: 0
 
87
+OS2WinDescent: -166
70
88
 OS2WinDOffset: 1
71
89
-HheadAscent: 0
72
90
 HheadAOffset: 1
73
91
-HheadDescent: 0
74
92
 HheadDOffset: 1
75
93
 OS2Vendor: 'PfEd'
76
 
 ScriptLang: 3
77
 
Index: ttf-freefont-20060126b/sfd/FreeMonoOblique.sfd
 
94
 ScriptLang: 2
 
95
Index: ttf-freefont-20060501cvs/sfd/FreeMonoOblique.sfd
78
96
===================================================================
79
 
--- ttf-freefont-20060126b.orig/sfd/FreeMonoOblique.sfd 2006-03-13 09:15:34.321322168 +0100
80
 
+++ ttf-freefont-20060126b/sfd/FreeMonoOblique.sfd      2006-03-13 09:16:47.482200024 +0100
 
97
--- ttf-freefont-20060501cvs.orig/sfd/FreeMonoOblique.sfd       2006-07-09 21:48:09.032263722 +0200
 
98
+++ ttf-freefont-20060501cvs/sfd/FreeMonoOblique.sfd    2006-07-14 10:59:18.201157286 +0200
81
99
@@ -10,6 +10,8 @@
82
100
 UnderlineWidth: 50
83
101
 Ascent: 800
87
105
 NeedsXUIDChange: 1
88
106
 FSType: 0
89
107
 PfmFamily: 49
90
 
@@ -27,9 +29,7 @@
 
108
@@ -23,13 +25,11 @@
 
109
 OS2TypoDescent: 0
 
110
 OS2TypoDOffset: 1
 
111
 OS2TypoLinegap: 0
 
112
-OS2WinAscent: 0
 
113
+OS2WinAscent: -277
91
114
 OS2WinAOffset: 1
92
 
 OS2WinDescent: 0
 
115
-OS2WinDescent: 0
 
116
+OS2WinDescent: -146
93
117
 OS2WinDOffset: 1
94
118
-HheadAscent: 0
95
119
 HheadAOffset: 1
97
121
 HheadDOffset: 1
98
122
 OS2Vendor: 'PfEd'
99
123
 ScriptLang: 4
100
 
Index: ttf-freefont-20060126b/sfd/FreeSans.sfd
 
124
Index: ttf-freefont-20060501cvs/sfd/FreeSans.sfd
101
125
===================================================================
102
 
--- ttf-freefont-20060126b.orig/sfd/FreeSans.sfd        2006-03-13 09:15:34.374314112 +0100
103
 
+++ ttf-freefont-20060126b/sfd/FreeSans.sfd     2006-03-13 09:16:47.541191056 +0100
 
126
--- ttf-freefont-20060501cvs.orig/sfd/FreeSans.sfd      2006-07-09 21:48:09.360266069 +0200
 
127
+++ ttf-freefont-20060501cvs/sfd/FreeSans.sfd   2006-07-14 10:49:50.316366280 +0200
104
128
@@ -10,6 +10,8 @@
105
129
 UnderlineWidth: 50
106
130
 Ascent: 800
110
134
 NeedsXUIDChange: 1
111
135
 FSType: 0
112
136
 PfmFamily: 33
113
 
@@ -27,9 +29,7 @@
 
137
@@ -23,13 +25,11 @@
 
138
 OS2TypoDescent: 0
 
139
 OS2TypoDOffset: 1
 
140
 OS2TypoLinegap: 0
 
141
-OS2WinAscent: 0
 
142
+OS2WinAscent: -430
114
143
 OS2WinAOffset: 1
115
 
 OS2WinDescent: 0
 
144
-OS2WinDescent: 0
 
145
+OS2WinDescent: -262
116
146
 OS2WinDOffset: 1
117
147
-HheadAscent: 0
118
148
 HheadAOffset: 1
120
150
 HheadDOffset: 1
121
151
 OS2Vendor: 'PfEd'
122
152
 ScriptLang: 10
123
 
Index: ttf-freefont-20060126b/sfd/FreeSansBold.sfd
 
153
Index: ttf-freefont-20060501cvs/sfd/FreeSansBold.sfd
124
154
===================================================================
125
 
--- ttf-freefont-20060126b.orig/sfd/FreeSansBold.sfd    2006-03-13 09:15:34.391311528 +0100
126
 
+++ ttf-freefont-20060126b/sfd/FreeSansBold.sfd 2006-03-13 09:16:47.562187864 +0100
 
155
--- ttf-freefont-20060501cvs.orig/sfd/FreeSansBold.sfd  2006-07-09 21:48:09.576267614 +0200
 
156
+++ ttf-freefont-20060501cvs/sfd/FreeSansBold.sfd       2006-07-14 10:58:41.032845531 +0200
127
157
@@ -10,6 +10,8 @@
128
158
 UnderlineWidth: 69
129
159
 Ascent: 800
133
163
 NeedsXUIDChange: 1
134
164
 FSType: 0
135
165
 PfmFamily: 33
136
 
@@ -27,9 +29,7 @@
 
166
@@ -23,13 +25,11 @@
 
167
 OS2TypoDescent: 0
 
168
 OS2TypoDOffset: 1
 
169
 OS2TypoLinegap: 0
 
170
-OS2WinAscent: 0
 
171
+OS2WinAscent: -367
137
172
 OS2WinAOffset: 1
138
 
 OS2WinDescent: 0
 
173
-OS2WinDescent: 0
 
174
+OS2WinDescent: -260
139
175
 OS2WinDOffset: 1
140
176
-HheadAscent: 0
141
177
 HheadAOffset: 1
143
179
 HheadDOffset: 1
144
180
 OS2Vendor: 'PfEd'
145
181
 ScriptLang: 7
146
 
Index: ttf-freefont-20060126b/sfd/FreeSansBoldOblique.sfd
 
182
Index: ttf-freefont-20060501cvs/sfd/FreeSansBoldOblique.sfd
147
183
===================================================================
148
 
--- ttf-freefont-20060126b.orig/sfd/FreeSansBoldOblique.sfd     2006-03-13 09:15:34.403309704 +0100
149
 
+++ ttf-freefont-20060126b/sfd/FreeSansBoldOblique.sfd  2006-03-13 09:16:47.575185888 +0100
 
184
--- ttf-freefont-20060501cvs.orig/sfd/FreeSansBoldOblique.sfd   2006-07-09 21:48:09.792269160 +0200
 
185
+++ ttf-freefont-20060501cvs/sfd/FreeSansBoldOblique.sfd        2006-07-14 10:58:54.356957315 +0200
150
186
@@ -10,6 +10,8 @@
151
187
 UnderlineWidth: 69
152
188
 Ascent: 800
156
192
 NeedsXUIDChange: 1
157
193
 FSType: 0
158
194
 PfmFamily: 33
159
 
@@ -27,9 +29,7 @@
 
195
@@ -23,13 +25,11 @@
 
196
 OS2TypoDescent: 0
 
197
 OS2TypoDOffset: 1
 
198
 OS2TypoLinegap: 0
 
199
-OS2WinAscent: 0
 
200
+OS2WinAscent: -363
160
201
 OS2WinAOffset: 1
161
 
 OS2WinDescent: 0
 
202
-OS2WinDescent: 0
 
203
+OS2WinDescent: -109
162
204
 OS2WinDOffset: 1
163
205
-HheadAscent: 0
164
206
 HheadAOffset: 1
166
208
 HheadDOffset: 1
167
209
 OS2Vendor: 'PfEd'
168
210
 ScriptLang: 3
169
 
Index: ttf-freefont-20060126b/sfd/FreeSansOblique.sfd
 
211
Index: ttf-freefont-20060501cvs/sfd/FreeSansOblique.sfd
170
212
===================================================================
171
 
--- ttf-freefont-20060126b.orig/sfd/FreeSansOblique.sfd 2006-03-13 09:15:34.430305600 +0100
172
 
+++ ttf-freefont-20060126b/sfd/FreeSansOblique.sfd      2006-03-13 09:16:47.609180720 +0100
 
213
--- ttf-freefont-20060501cvs.orig/sfd/FreeSansOblique.sfd       2006-07-09 21:48:09.976270476 +0200
 
214
+++ ttf-freefont-20060501cvs/sfd/FreeSansOblique.sfd    2006-07-14 10:58:29.616749730 +0200
173
215
@@ -10,6 +10,8 @@
174
216
 UnderlineWidth: 50
175
217
 Ascent: 800
179
221
 NeedsXUIDChange: 1
180
222
 FSType: 0
181
223
 PfmFamily: 33
182
 
@@ -27,9 +29,7 @@
 
224
@@ -23,13 +25,11 @@
 
225
 OS2TypoDescent: 0
 
226
 OS2TypoDOffset: 1
 
227
 OS2TypoLinegap: 0
 
228
-OS2WinAscent: 0
 
229
+OS2WinAscent: -341
183
230
 OS2WinAOffset: 1
184
 
 OS2WinDescent: 0
 
231
-OS2WinDescent: 0
 
232
+OS2WinDescent: -231
185
233
 OS2WinDOffset: 1
186
234
-HheadAscent: 0
187
235
 HheadAOffset: 1
189
237
 HheadDOffset: 1
190
238
 OS2Vendor: 'PfEd'
191
239
 ScriptLang: 6
192
 
Index: ttf-freefont-20060126b/sfd/FreeSerif.sfd
 
240
Index: ttf-freefont-20060501cvs/sfd/FreeSerif.sfd
193
241
===================================================================
194
 
--- ttf-freefont-20060126b.orig/sfd/FreeSerif.sfd       2006-03-13 09:15:34.539289032 +0100
195
 
+++ ttf-freefont-20060126b/sfd/FreeSerif.sfd    2006-03-13 09:16:47.723163392 +0100
 
242
--- ttf-freefont-20060501cvs.orig/sfd/FreeSerif.sfd     2006-07-09 21:48:10.164271821 +0200
 
243
+++ ttf-freefont-20060501cvs/sfd/FreeSerif.sfd  2006-07-14 10:57:19.648162101 +0200
196
244
@@ -10,6 +10,8 @@
197
245
 UnderlineWidth: 50
198
246
 Ascent: 800
202
250
 NeedsXUIDChange: 1
203
251
 FSType: 0
204
252
 PfmFamily: 17
205
 
@@ -27,9 +29,7 @@
 
253
@@ -23,13 +25,11 @@
 
254
 OS2TypoDescent: 0
 
255
 OS2TypoDOffset: 1
 
256
 OS2TypoLinegap: 0
 
257
-OS2WinAscent: 0
 
258
+OS2WinAscent: -366
206
259
 OS2WinAOffset: 1
207
 
 OS2WinDescent: 0
 
260
-OS2WinDescent: 0
 
261
+OS2WinDescent: -345
208
262
 OS2WinDOffset: 1
209
263
-HheadAscent: 0
210
264
 HheadAOffset: 1
212
266
 HheadDOffset: 1
213
267
 OS2SubXSize: 0
214
268
 OS2SubYSize: 1
215
 
Index: ttf-freefont-20060126b/sfd/FreeSerifBold.sfd
 
269
Index: ttf-freefont-20060501cvs/sfd/FreeSerifBold.sfd
216
270
===================================================================
217
 
--- ttf-freefont-20060126b.orig/sfd/FreeSerifBold.sfd   2006-03-13 09:15:34.568284624 +0100
218
 
+++ ttf-freefont-20060126b/sfd/FreeSerifBold.sfd        2006-03-13 09:16:47.754158680 +0100
 
271
--- ttf-freefont-20060501cvs.orig/sfd/FreeSerifBold.sfd 2006-07-09 21:48:10.400273510 +0200
 
272
+++ ttf-freefont-20060501cvs/sfd/FreeSerifBold.sfd      2006-07-14 10:57:45.868382406 +0200
219
273
@@ -10,6 +10,8 @@
220
274
 UnderlineWidth: 50
221
275
 Ascent: 800
225
279
 NeedsXUIDChange: 1
226
280
 FSType: 0
227
281
 PfmFamily: 17
228
 
@@ -27,9 +29,7 @@
 
282
@@ -23,13 +25,11 @@
 
283
 OS2TypoDescent: 0
 
284
 OS2TypoDOffset: 1
 
285
 OS2TypoLinegap: 0
 
286
-OS2WinAscent: 0
 
287
+OS2WinAscent: -373
229
288
 OS2WinAOffset: 1
230
 
 OS2WinDescent: 0
 
289
-OS2WinDescent: 0
 
290
+OS2WinDescent: -288
231
291
 OS2WinDOffset: 1
232
292
-HheadAscent: 0
233
293
 HheadAOffset: 1
235
295
 HheadDOffset: 1
236
296
 OS2Vendor: 'PfEd'
237
297
 ScriptLang: 4
238
 
Index: ttf-freefont-20060126b/sfd/FreeSerifBoldItalic.sfd
 
298
Index: ttf-freefont-20060501cvs/sfd/FreeSerifBoldItalic.sfd
239
299
===================================================================
240
 
--- ttf-freefont-20060126b.orig/sfd/FreeSerifBoldItalic.sfd     2006-03-13 09:15:34.584282192 +0100
241
 
+++ ttf-freefont-20060126b/sfd/FreeSerifBoldItalic.sfd  2006-03-13 09:16:47.774155640 +0100
 
300
--- ttf-freefont-20060501cvs.orig/sfd/FreeSerifBoldItalic.sfd   2006-07-09 21:48:10.588274855 +0200
 
301
+++ ttf-freefont-20060501cvs/sfd/FreeSerifBoldItalic.sfd        2006-07-14 10:57:59.608497807 +0200
242
302
@@ -10,6 +10,8 @@
243
303
 UnderlineWidth: 50
244
304
 Ascent: 800
248
308
 NeedsXUIDChange: 1
249
309
 FSType: 0
250
310
 PfmFamily: 17
251
 
@@ -27,9 +29,7 @@
 
311
@@ -23,13 +25,11 @@
 
312
 OS2TypoDescent: 0
 
313
 OS2TypoDOffset: 1
 
314
 OS2TypoLinegap: 0
 
315
-OS2WinAscent: 0
 
316
+OS2WinAscent: -371
252
317
 OS2WinAOffset: 1
253
 
 OS2WinDescent: 0
 
318
-OS2WinDescent: 0
 
319
+OS2WinDescent: -288
254
320
 OS2WinDOffset: 1
255
321
-HheadAscent: 0
256
322
 HheadAOffset: 1
257
323
-HheadDescent: 0
258
324
 HheadDOffset: 1
259
325
 OS2Vendor: 'PfEd'
260
 
 ScriptLang: 4
261
 
Index: ttf-freefont-20060126b/sfd/FreeSerifItalic.sfd
 
326
 ScriptLang: 3
 
327
Index: ttf-freefont-20060501cvs/sfd/FreeSerifItalic.sfd
262
328
===================================================================
263
 
--- ttf-freefont-20060126b.orig/sfd/FreeSerifItalic.sfd 2006-03-13 09:15:34.619276872 +0100
264
 
+++ ttf-freefont-20060126b/sfd/FreeSerifItalic.sfd      2006-03-13 09:16:47.833146672 +0100
 
329
--- ttf-freefont-20060501cvs.orig/sfd/FreeSerifItalic.sfd       2006-07-09 21:48:10.832276601 +0200
 
330
+++ ttf-freefont-20060501cvs/sfd/FreeSerifItalic.sfd    2006-07-14 10:57:33.988282603 +0200
265
331
@@ -10,6 +10,8 @@
266
332
 UnderlineWidth: 50
267
333
 Ascent: 800
271
337
 NeedsXUIDChange: 1
272
338
 FSType: 0
273
339
 PfmFamily: 17
274
 
@@ -27,9 +29,7 @@
 
340
@@ -23,13 +25,11 @@
 
341
 OS2TypoDescent: 0
 
342
 OS2TypoDOffset: 1
 
343
 OS2TypoLinegap: 0
 
344
-OS2WinAscent: 0
 
345
+OS2WinAscent: -322
275
346
 OS2WinAOffset: 1
276
 
 OS2WinDescent: 0
 
347
-OS2WinDescent: 0
 
348
+OS2WinDescent: -238
277
349
 OS2WinDOffset: 1
278
350
-HheadAscent: 0
279
351
 HheadAOffset: 1
280
352
-HheadDescent: 0
281
353
 HheadDOffset: 1
282
354
 OS2Vendor: 'PfEd'
283
 
 ScriptLang: 4
 
355
 ScriptLang: 3