[Libreoffice-bugs] [Bug 116213] New: OS X and OpenGL bitmap scanline sizes are not 32-bit aligned

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 5 18:00:20 UTC 2018


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: libreoffice-bugs at lists.freedesktop.org
          Reporter: chris.sherlock79 at gmail.com

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180305/8490f2c3/attachment-0001.html>


More information about the Libreoffice-bugs mailing list