diff --git a/bug-715309.patch b/bug-715309.patch new file mode 100644 index 0000000..947983b --- /dev/null +++ b/bug-715309.patch @@ -0,0 +1,243 @@ +diff -rup liberation-fonts-1.07.2/LiberationSans-Bold.sfd liberation-fonts-1.07.2_mod/LiberationSans-Bold.sfd +--- liberation-fonts-1.07.2/LiberationSans-Bold.sfd 2012-02-09 13:35:55.000000000 +0530 ++++ liberation-fonts-1.07.2_mod/LiberationSans-Bold.sfd 2012-02-13 20:34:02.345354717 +0530 +@@ -3103,7 +3103,7 @@ NameList: Adobe Glyph List + DisplaySize: -36 + AntiAlias: 1 + FitToEm: 1 +-WinInfo: 1113420 44 17 ++WinInfo: 1113400 38 14 + BeginPrivate: 0 + EndPrivate + BeginChars: 1114132 681 +@@ -18567,118 +18567,133 @@ StartChar: u + Encoding: 117 117 88 + Width: 1251 + Flags: W +-HStem: -20 210<479.297 667.902> 0 21G<847.5 1116> 1062 20G<127 408 827 1108> +-VStem: 127 281<269.177 1082> 827 281<3.2583 215 304.984 1082> 844.5 271.5<0 96.0013> + TtInstrs: +-SVTCA[y-axis] +-PUSHB_2 ++NPUSHB ++ 46 ++ 31 ++ 16 ++ 9 ++ 10 ++ 0 ++ 76 ++ 20 ++ 11 ++ 70 ++ 223 ++ 14 ++ 1 ++ 14 ++ 64 ++ 36 ++ 40 ++ 72 ++ 14 ++ 37 ++ 144 ++ 37 ++ 160 ++ 37 ++ 2 ++ 112 ++ 37 ++ 144 ++ 37 ++ 160 ++ 37 ++ 176 ++ 37 ++ 240 ++ 37 ++ 5 ++ 239 ++ 37 ++ 1 ++ 1 ++ 70 ++ 239 ++ 34 ++ 255 ++ 34 ++ 2 ++ 34 ++PUSHW_1 ++ -64 ++NPUSHB ++ 14 ++ 9 ++ 12 ++ 72 ++ 34 ++ 25 ++ 6 ++ 80 ++ 29 ++ 22 ++ 20 + 21 +- 8 ++ 12 ++ 0 ++ 15 ++SVTCA[y-axis] + MIAP[rnd] +-PUSHB_2 +- 2 +- 8 ++SHP[rp2] + MIAP[rnd] +-PUSHB_1 +- 11 +-MDRP[min,rnd,black] +-PUSHB_2 +- 7 +- 15 + MIAP[rnd] +-PUSHB_1 +- 16 ++MIRP[min,rnd,black] + SHP[rp1] + SVTCA[x-axis] +-PUSHB_1 +- 28 + MDAP[rnd] +-PUSHB_1 +- 6 +-MDRP[rp0,rnd,white] +-PUSHB_1 +- 9 +-MDRP[min,rnd,black] +-PUSHB_1 +- 9 ++CALL ++DELTAP1 ++MIRP[min,rnd,black] ++DELTAP1 ++DELTAP2 ++DELTAP3 + SRP0 +-PUSHB_1 +- 15 +-MDRP[rp0,min,rnd,grey] +-PUSHB_2 +- 24 +- 27 +-SHP[rp2] ++MDRP[rp0,min,rnd,white] ++CALL ++DELTAP1 ++MIRP[min,rnd,black] + SHP[rp2] +-PUSHB_1 +- 18 +-MDRP[min,rnd,black] +-PUSHB_1 +- 18 +-SRP0 +-PUSHB_1 +- 23 +-MDRP[min,rnd,black] +-PUSHB_1 +- 23 +-MDAP[rnd] +-PUSHB_1 +- 18 +-SRP0 +-PUSHB_1 +- 29 +-MDRP[rp0,rnd,white] +-PUSHB_2 +- 23 +- 15 +-SRP1 +-SRP2 +-PUSHB_1 +- 0 +-IP +-SVTCA[y-axis] +-PUSHB_2 +- 11 +- 21 +-SRP1 +-SRP2 +-PUSHB_1 +- 23 +-IP +-PUSHB_1 +- 7 +-SRP1 +-PUSHB_2 +- 0 +- 27 +-IP +-IP +-IUP[y] + IUP[x] ++IUP[y] ++SVTCA[y-axis] ++CALL + EndTTInstrs + LayerCount: 2 + Fore + SplineSet +-831 215 m 1,0,1 +- 724.008 -20 724.008 -20 483 -20 c 0,2,3 +- 299.009 -20 299.009 -20 207.5 99.5 c 0,4,5 +- 127 204.624 127 204.624 127 395 c 2,6,-1 +- 127 1082 l 1,7,-1 +- 408 1082 l 1,8,-1 +- 408 475 l 2,9,10 +- 408 190 408 190 600 190 c 0,11,12 +- 701.47 190 701.47 190 764 276.5 c 0,13,14 +- 827 363.65 827 363.65 827 502 c 2,15,-1 +- 827 1082 l 1,16,-1 +- 1108 1082 l 1,17,-1 +- 1108 242 l 2,18,19 +- 1108 104 1108 104 1116 0 c 1,20,-1 +- 848 0 l 1,21,22 +- 847 12 847 12 844.5 38.5 c 128,-1,23 +- 842 65 842 65 840.5 97 c 2,24,-1 +- 837.5 161 l 2,25,26 +- 836 193 836 193 836 215 c 1,27,-1 +- 831 215 l 1,0,1 ++408 1082 m 1,0,-1 ++ 408 475 l 2,1,2 ++ 408 412 408 412 418 359.5 c 128,-1,3 ++ 428 307 428 307 451 269.5 c 128,-1,4 ++ 474 232 474 232 510.5 211 c 128,-1,5 ++ 547 190 547 190 600 190 c 0,6,7 ++ 651 190 651 190 692.5 212.5 c 128,-1,8 ++ 734 235 734 235 764 276.5 c 128,-1,9 ++ 794 318 794 318 810.5 375.5 c 128,-1,10 ++ 827 433 827 433 827 502 c 2,11,-1 ++ 827 1082 l 1,12,-1 ++ 1108 1082 l 1,13,-1 ++ 1108 242 l 2,14,15 ++ 1108 208 1108 208 1108.5 170.5 c 128,-1,16 ++ 1109 133 1109 133 1110.5 99.5 c 128,-1,17 ++ 1112 66 1112 66 1113.5 39.5 c 128,-1,18 ++ 1115 13 1115 13 1116 0 c 1,19,-1 ++ 848 0 l 1,20,21 ++ 847 12 847 12 844.5 38.5 c 128,-1,22 ++ 842 65 842 65 840.5 97 c 128,-1,23 ++ 839 129 839 129 837.5 161 c 128,-1,24 ++ 836 193 836 193 836 215 c 1,25,-1 ++ 831 215 l 1,26,27 ++ 775 92 775 92 688.5 36 c 128,-1,28 ++ 602 -20 602 -20 483 -20 c 0,29,30 ++ 386 -20 386 -20 318 12 c 128,-1,31 ++ 250 44 250 44 207.5 99.5 c 128,-1,32 ++ 165 155 165 155 146 231 c 128,-1,33 ++ 127 307 127 307 127 395 c 2,34,-1 ++ 127 1082 l 1,35,-1 ++ 408 1082 l 1,0,-1 + EndSplineSet + EndChar + diff --git a/liberation-fonts.spec b/liberation-fonts.spec index 851eb50..5ceec1b 100644 --- a/liberation-fonts.spec +++ b/liberation-fonts.spec @@ -10,7 +10,7 @@ New. Name: %{fontname}-fonts Summary: Fonts to replace commonly used Microsoft Windows fonts Version: 1.07.2 -Release: 1%{?dist} +Release: 2%{?dist} # The license of the Liberation Fonts is a EULA that contains GPLv2 and two # exceptions: # The first exception is the standard FSF font exception. @@ -25,6 +25,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildArch: noarch BuildRequires: fontpackages-devel >= 1.13, xorg-x11-font-utils BuildRequires: fontforge >= 20090408 +Patch1: bug-715309.patch %description %common_desc @@ -110,6 +111,7 @@ mv src/* . rm -rf src cp %{SOURCE1} . chmod 755 generate.pe +%patch1 -p1 -b .1-resolved-u-hinting-bug %build ./generate.pe *.sfd @@ -134,6 +136,9 @@ mkfontscale %{buildroot}%{_fontdir} %__rm -rf %{buildroot} %changelog +* Mon Feb 13 2012 Pravin Satpute - 1.07.2-2 +- Resolved #715309 + * Thu Feb 09 2012 Pravin Satpute - 1.07.2-1 - Upstream release 1.07.2