[Libreoffice-bugs] [Bug 137468] Severe performance degradation on a macOS with a 5K display

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Oct 21 15:32:54 UTC 2020


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

--- Comment #28 from Leo Wang <ilford at gmail.com> ---
(In reply to Tor Lillqvist from comment #27)
> But as it causes a unit test to fail, we can't really use it as such. Either
> the test is wrong and needs to be fixed, or code elsewhere in LibreOffice
> needs to be updated to match the changed RGB colour space.

I saw the failed test (BitmapRenderTest). I think the test needs to be improved
so that it is aware of the color value shift due to the nature of color space
difference.

<html>
  <table bgcolor=#22ff55>
    <tr>
      <td width=500>aaa</td>
    </tr>
  </table>
</html>

This makes a quick demo: the background color of the table cell is #22ff55. In
Digital Color Meter,

with Safari 14:

- sRGB: #23ff55
- native value: #79fb6e
- generic RGB: #2dff44  (ff is clipped)
- Adobe RGB: #93ff64

with Chrome 87:

- sRGB: #23ff55
- native value: #22ff55
- generic RGB: #2cff44 (ff is clipped)
- Adobe RGB: #93ff64

If a bitmap is created with other color space then SRGB, the RGB color value of
a pixel extracted with SRGB color space is different vs the original value.

-- 
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/20201021/cae53066/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list