Replacing the entire body of PreparePatternForUntiledDrawing with

{
    aPattern->SetExtend(gfxPattern::EXTEND_NONE);
    aPattern->SetFilter(gfxPattern::FILTER_FAST);
}

reproduces the 3.6 behavior.  Replacing it with

{
    aPattern->SetExtend(gfxPattern::EXTEND_PAD);
    aPattern->SetFilter(gfxPattern::FILTER_FAST);
}

produces behavior which is _nearly_ correct; the image itself is
upscaled correctly (instead of being gradientified and fattened), and
there aren't black lines under the image at any zoom level, but some of
the lines still get black blobs at their right edges at some zoom
levels, and also now sometimes at their left edges.  However, this
happens much less often.

Based on this I feel relatively confident in diagnosing a video driver
bug, and my recommendation is still to rip out the entire mess and use
EXTEND_PAD and a good filter unconditionally, then to work with the
X.org folks to get the video drivers fixed.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/263661

Title:
  Black Line appears next to gif and png images

Status in The Mozilla Firefox Browser:
  Fix Released
Status in “firefox” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: firefox-3.0

  A few of my web sites, when viewed after upgrading to firefox-3.0 (on
  Ubuntu 8.04), display a vertical black line next to some GIF images
  (created in Gimp). The only time I see this line is next to 1 pixel
  wide images stretched (used as spacers). I noticed that after
  stretching past a specific width (different for the each occurrence) a
  1 pixel wide black line would appear just next to the GIF. It would
  appear sometimes to the left, sometimes to the right, depending on the
  stretched width of the image.

  I was able to remedy this by using 3 shorter width images instead of
  one long width image, but this is obviously not a real fix. Please
  note that same sites did not show this black line before upgrading to
  firefox-3.0.

  ----
  Package details:
  firefox-3.0:
    Installed: 3.0.1+build1+nobinonly-0ubuntu0.8.04.3
    Candidate: 3.0.1+build1+nobinonly-0ubuntu0.8.04.3
    Version table:
   *** 3.0.1+build1+nobinonly-0ubuntu0.8.04.3 0
          500 http://security.ubuntu.com hardy-security/main Packages
          500 http://archive.ubuntu.com hardy-updates/main Packages
          100 /var/lib/dpkg/status
       3.0~b5+nobinonly-0ubuntu3 0
          500 http://archive.ubuntu.com hardy/main Packages

  ProblemType: Bug
  Architecture: i386
  Date: Mon Sep  1 09:44:58 2008
  DistroRelease: Ubuntu 8.04
  NonfreeKernelModules: nvidia
  Package: firefox-3.0 3.0.1+build1+nobinonly-0ubuntu0.8.04.3
  PackageArchitecture: i386
  ProcEnviron:
   PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: firefox-3.0
  Uname: Linux 2.6.24-21-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/263661/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to