https://bugs.documentfoundation.org/show_bug.cgi?id=116213

            Bug ID: 116213
           Summary: OS X and OpenGL bitmap scanline sizes are not 32-bit
                    aligned
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Windows bitmap must be 32-bit aligned (cf
http://www.fileformat.info/format/bmp/egff.htm - “Pixels are packed into bytes
and arranged as scan lines. Each scan line must end on a 4-byte boundary, so
one, two, or three bytes of padding may follow each scan line.”).

Our OpenGL and OS X implementations don’t honour this (see
https://opengrok.libreoffice.org/xref/core/vcl/opengl/salbmp.cxx#772 and
https://opengrok.libreoffice.org/xref/core/vcl/quartz/salbmp.cxx#317).

In fact, our test code notes this also - see
https://opengrok.libreoffice.org/xref/core/vcl/qa/cppunit/BitmapTest.cxx#334

I’m logging this as a bug I’ll need to fix when I get back from holidays.

Steps to Reproduce:
n/a

Actual Results:  
n/a

Expected Results:
n/a


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (iPad; CPU OS 11_2_6 like Mac OS X)
AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/64.0.3282.112 Mobile/15D100
Safari/604.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to