components/desktop/firefox/patches/firefox-31-urlbar-sparc.patch
author Stacy Yeh <stacy.yeh@oracle.com>
Tue, 01 Mar 2016 12:56:53 -0800
changeset 5527 611b2d6efdfe
parent 5255 components/desktop/firefox/patches/firefox31-408-urlbar-sparc.patch@cea0e462549a
permissions -rw-r--r--
21602607 Need to move Firefox to 38.5.0 ESR branch to continue getting fixes 22757279 Update Thunderbird to version 38.5.0 22613259 thunderbird lightning extension is missing l10n after moved to userland 21133062 problem in TBIRD/MAILER

For the font in the URL bar. Can try to send upstream.

diff --git a/gfx/cairo/cairo/src/cairo-xlib-surface.c b/gfx/cairo/cairo/src/cairo-xlib-surface.c
--- a/gfx/cairo/cairo/src/cairo-xlib-surface.c
+++ b/gfx/cairo/cairo/src/cairo-xlib-surface.c
@@ -1310,7 +1310,11 @@
 		int a, r, g, b;
 
 		if (image_masks.bpp == 1)
+#ifdef WORDS_BIGENDIAN
+		    in_pixel = !! (((uint8_t*)row)[x/8] & (1 << (7 - (x & 7))));
+#else
		    in_pixel = !! (((uint8_t*)row)[x/8] & (1 << (x & 7)));
+#endif
 		else if (image_masks.bpp <= 8)
 		    in_pixel = ((uint8_t*)row)[x];
 		else if (image_masks.bpp <= 16)