diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-06-01 11:37:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-01 13:25:30 +0100 |
commit | de8c740ca1aaebd51e3f18b05110f756ddce5cf8 (patch) | |
tree | 5594321981685813fe564df74ef3f4b395bb9789 | |
parent | 9bf1dac4be55f8591d5fd2b8aa93c9369191c02c (diff) |
1 bit masks need each byte to be reversed
to match CAIRO_FORMAT_A1 ordering
as seen under gtk3 with animated gif of tdf#99519
Change-Id: I62d7197522ad779683e46837ddeabbfe21f3717b
-rw-r--r-- | vcl/headless/svpbmp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpbmp.cxx b/vcl/headless/svpbmp.cxx index 756caee0537b..cb8c77126ba8 100644 --- a/vcl/headless/svpbmp.cxx +++ b/vcl/headless/svpbmp.cxx @@ -75,7 +75,7 @@ BitmapBuffer* ImplCreateDIB( switch (nBitCount) { case 1: - pDIB->mnFormat = ScanlineFormat::N1BitMsbPal; + pDIB->mnFormat = ScanlineFormat::N1BitLsbPal; break; case 4: pDIB->mnFormat = ScanlineFormat::N4BitMsnPal; |