summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/patches/patch-ao')
-rw-r--r--www/firefox/patches/patch-ao19
1 files changed, 10 insertions, 9 deletions
diff --git a/www/firefox/patches/patch-ao b/www/firefox/patches/patch-ao
index 33cacdfd170..9e4bca5a44d 100644
--- a/www/firefox/patches/patch-ao
+++ b/www/firefox/patches/patch-ao
@@ -1,8 +1,9 @@
-$NetBSD: patch-ao,v 1.1 2004/04/29 14:13:19 adam Exp $
+$NetBSD: patch-ao,v 1.2 2004/06/23 16:47:12 taya Exp $
---- gfx/src/x11shared/nsFontFreeType.cpp.orig 2004-04-29 12:32:42.000000000 +0000
-+++ gfx/src/x11shared/nsFontFreeType.cpp
-@@ -177,7 +177,7 @@ nsFreeTypeFont::getFTFace()
+diff -ru ../Orig/mozilla/gfx/src/x11shared/nsFontFreeType.cpp ./gfx/src/x11shared/nsFontFreeType.cpp
+--- ../Orig/mozilla/gfx/src/x11shared/nsFontFreeType.cpp 2003-12-25 17:24:52.000000000 +0900
++++ ./gfx/src/x11shared/nsFontFreeType.cpp 2004-06-15 23:56:14.000000000 +0900
+@@ -177,7 +177,7 @@
FTC_Manager mgr;
nsresult rv;
mFt2->GetFTCacheManager(&mgr);
@@ -11,7 +12,7 @@ $NetBSD: patch-ao,v 1.1 2004/04/29 14:13:19 adam Exp $
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to get face/size");
if (NS_FAILED(rv))
return nsnull;
-@@ -191,22 +191,15 @@ nsFreeTypeFont::nsFreeTypeFont(nsITrueTy
+@@ -191,22 +191,15 @@
PRBool embedded_bimap = PR_FALSE;
mFaceID = aFaceID;
mPixelSize = aPixelSize;
@@ -38,7 +39,7 @@ $NetBSD: patch-ao,v 1.1 2004/04/29 14:13:19 adam Exp $
PRUint32 num_embedded_bitmaps, i;
PRInt32* embedded_bitmapheights;
mFaceID->GetEmbeddedBitmapHeights(&num_embedded_bitmaps,
-@@ -218,7 +211,6 @@ nsFreeTypeFont::nsFreeTypeFont(nsITrueTy
+@@ -218,7 +211,6 @@
if (embedded_bitmapheights[i] == aPixelSize) {
embedded_bimap = PR_TRUE;
// unhinted must be set for embedded bitmaps to be used
@@ -46,7 +47,7 @@ $NetBSD: patch-ao,v 1.1 2004/04/29 14:13:19 adam Exp $
break;
}
}
-@@ -312,7 +304,7 @@ nsFreeTypeFont::doGetBoundingMetrics(con
+@@ -312,7 +304,7 @@
if (!face)
return NS_ERROR_FAILURE;
@@ -55,7 +56,7 @@ $NetBSD: patch-ao,v 1.1 2004/04/29 14:13:19 adam Exp $
mFt2->GetImageCache(&icache);
if (!icache)
return NS_ERROR_FAILURE;
-@@ -401,7 +393,7 @@ nsFreeTypeFont::GetWidth(const PRUnichar
+@@ -401,7 +393,7 @@
if (!face)
return 0;
@@ -64,7 +65,7 @@ $NetBSD: patch-ao,v 1.1 2004/04/29 14:13:19 adam Exp $
mFt2->GetImageCache(&icache);
if (!icache)
return 0;
-@@ -725,7 +717,7 @@ nsFreeTypeXImage::DrawString(nsRendering
+@@ -723,7 +715,7 @@
if (y%4==0) (*blendPixelFunc)(sub_image, y, ascent-1, black, 255/2);
#endif