diff -u xulrunner-1.9-1.9.0.6+nobinonly/debian/changelog xulrunner-1.9-1.9.0.6+nobinonly/debian/changelog --- xulrunner-1.9-1.9.0.6+nobinonly/debian/changelog +++ xulrunner-1.9-1.9.0.6+nobinonly/debian/changelog @@ -1,3 +1,9 @@ +xulrunner-1.9 (1.9.0.6+nobinonly-0ubuntu2) jaunty; urgency=low + + * Enable smooth upscaling (LP: #217908) + + -- Thomas Jaeger Thu, 12 Feb 2009 02:46:47 -0500 + xulrunner-1.9 (1.9.0.6+nobinonly-0ubuntu1) jaunty; urgency=low [ Alexander Sack ] diff -u xulrunner-1.9-1.9.0.6+nobinonly/debian/patches/series xulrunner-1.9-1.9.0.6+nobinonly/debian/patches/series --- xulrunner-1.9-1.9.0.6+nobinonly/debian/patches/series +++ xulrunner-1.9-1.9.0.6+nobinonly/debian/patches/series @@ -28,0 +29 @@ +enable_extend_pad.patch only in patch2: unchanged: --- xulrunner-1.9-1.9.0.6+nobinonly.orig/debian/patches/enable_extend_pad.patch +++ xulrunner-1.9-1.9.0.6+nobinonly/debian/patches/enable_extend_pad.patch @@ -0,0 +1,21 @@ +--- mozilla.orig/gfx/src/thebes/nsThebesImage.cpp ++++ mozilla/gfx/src/thebes/nsThebesImage.cpp +@@ -573,17 +573,8 @@ + switch (target->GetType()) { + case gfxASurface::SurfaceTypeXlib: + case gfxASurface::SurfaceTypeXcb: +- // See bug 324698. This is a workaround for EXTEND_PAD not being +- // implemented correctly on linux in the X server. +- // +- // Set the filter to CAIRO_FILTER_FAST if we're scaling up -- otherwise, +- // pixman's sampling will sample transparency for the outside edges and we'll +- // get blurry edges. CAIRO_EXTEND_PAD would also work here, if +- // available +- // +- // This effectively disables smooth upscaling for images. + if (xscale > 1.0 || yscale > 1.0 || ctxHasNonTranslation) +- pat->SetFilter(0); ++ pat->SetExtend(gfxPattern::EXTEND_PAD); + break; + + case gfxASurface::SurfaceTypeQuartz: