equal
deleted
inserted
replaced
1 For the font in the URL bar. Can try to send upstream. |
|
2 |
|
3 --- mozilla-esr31/gfx/cairo/cairo/src/cairo-xlib-surface.c.orig 2015-06-04 17:42:52.933166699 -0700 |
|
4 +++ mozilla-esr31/gfx/cairo/cairo/src/cairo-xlib-surface.c 2015-06-04 17:42:52.936030831 -0700 |
|
5 @@ -1310,7 +1310,11 @@ |
|
6 int a, r, g, b; |
|
7 |
|
8 if (image_masks.bpp == 1) |
|
9 +#ifdef WORDS_BIGENDIAN |
|
10 + in_pixel = !! (((uint8_t*)row)[x/8] & (1 << (7 - (x & 7)))); |
|
11 +#else |
|
12 in_pixel = !! (((uint8_t*)row)[x/8] & (1 << (x & 7))); |
|
13 +#endif |
|
14 else if (image_masks.bpp <= 8) |
|
15 in_pixel = ((uint8_t*)row)[x]; |
|
16 else if (image_masks.bpp <= 16) |
|