diff options
author | marcus <marcus@FreeBSD.org> | 2004-03-23 03:08:28 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-03-23 03:08:28 +0800 |
commit | 44521b7d81a892156547fffef5344a7522863f68 (patch) | |
tree | 1f2e51c6123854997170fff6e3a7393e32493263 /x11-fonts | |
parent | 5ebbfab7a660a2b96ab25c4c0641555526d4cdbe (diff) | |
download | freebsd-ports-gnome-44521b7d81a892156547fffef5344a7522863f68.tar.gz freebsd-ports-gnome-44521b7d81a892156547fffef5344a7522863f68.tar.zst freebsd-ports-gnome-44521b7d81a892156547fffef5344a7522863f68.zip |
Update to 2.1.6 with the official freetype2-2.1.7 fix.
Diffstat (limited to 'x11-fonts')
-rw-r--r-- | x11-fonts/libXft/Makefile | 3 | ||||
-rw-r--r-- | x11-fonts/libXft/distinfo | 4 | ||||
-rw-r--r-- | x11-fonts/libXft/files/patch-xftfreetype.c | 57 |
3 files changed, 3 insertions, 61 deletions
diff --git a/x11-fonts/libXft/Makefile b/x11-fonts/libXft/Makefile index 26dc17fb1400..fc6f7d7f079c 100644 --- a/x11-fonts/libXft/Makefile +++ b/x11-fonts/libXft/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libXft -PORTVERSION= 2.1.5 -PORTREVISION= 1 +PORTVERSION= 2.1.6 CATEGORIES= x11-fonts MASTER_SITES= http://pdx.freedesktop.org/~xlibs/release/ diff --git a/x11-fonts/libXft/distinfo b/x11-fonts/libXft/distinfo index f0b9e8d55b72..304108d7020b 100644 --- a/x11-fonts/libXft/distinfo +++ b/x11-fonts/libXft/distinfo @@ -1,2 +1,2 @@ -MD5 (libXft-2.1.5.tar.gz) = 47ecb0cba11ce7e92545a358ff3dbfc2 -SIZE (libXft-2.1.5.tar.gz) = 334536 +MD5 (libXft-2.1.6.tar.gz) = 1ba6d9b1aec9a237b508663c46d8a979 +SIZE (libXft-2.1.6.tar.gz) = 334803 diff --git a/x11-fonts/libXft/files/patch-xftfreetype.c b/x11-fonts/libXft/files/patch-xftfreetype.c deleted file mode 100644 index a3e878fd01b3..000000000000 --- a/x11-fonts/libXft/files/patch-xftfreetype.c +++ /dev/null @@ -1,57 +0,0 @@ ---- xftfreetype.c.orig Fri Mar 19 04:11:09 2004 -+++ xftfreetype.c Fri Mar 19 04:11:30 2004 -@@ -192,53 +192,9 @@ - if (XftDebug() & XFT_DBG_GLYPH) - printf ("Set face size to %dx%d (%dx%d)\n", - (int) (xsize >> 6), (int) (ysize >> 6), (int) xsize, (int) ysize); -- /* -- * Bitmap only faces must match exactly, so find the closest -- * one (height dominant search) -- */ -- if (!(face->face_flags & FT_FACE_FLAG_SCALABLE)) -- { -- FT_Short width = xsize >> 6; -- FT_Short height = ysize >> 6; -- int i, best = -1; -- --#define xft_abs(a) ((a) < 0 ? -(a) : (a)) --#define dist(a,b) (xft_abs((a)-(b))) -- --#if !HAVE_FT_BITMAP_SIZE_Y_PPEM --#define y_ppem height --#define x_ppem width --#endif -- for (i = 0; i < face->num_fixed_sizes; i++) -- { -- if (best == -1 || -- dist (height, face->available_sizes[i].y_ppem >> 6) < -- dist (height, face->available_sizes[best].y_ppem >> 6) || -- (dist (height, face->available_sizes[i].y_ppem >> 6) == -- dist (height, face->available_sizes[best].y_ppem >> 6) && -- dist (width, face->available_sizes[i].x_ppem >> 6) < -- dist (width, face->available_sizes[best].x_ppem >> 6))) -- { -- best = i; -- } -- } -- if (FT_Set_Char_Size (face, face->available_sizes[best].x_ppem, -- face->available_sizes[best].y_ppem, 0, 0) != 0) -- { -- return False; -- } --#if !HAVE_FT_BITMAP_SIZE_Y_PPEM --#undef y_ppem --#undef x_ppem --#endif -- } -- else -- { - if (FT_Set_Char_Size (face, xsize, ysize, 0, 0)) -- { - return False; -- } -- } -+ - f->xsize = xsize; - f->ysize = ysize; - } |