[Libreoffice-bugs] [Bug 138122] LibreOffice text blurry on Retina displays on macOS 11

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 30 13:50:02 UTC 2020


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

--- Comment #114 from Thorsten Wagner <thorsten.wagner.4 at gmail.com> ---
After investigation and refactoring of AquaSalVirtualDevice::SetSize and
AquaSalGraphics::SetVirDevGraphics I was not able to archive sufficient results
with doubeling bufferspace and scale. But there is another observation I want
to share:

Replacing

const int nFlags = kCGImageAlphaNoneSkipFirst

by

const int nFlags = kCGBitmapByteOrder32Host;

in AquaSalVirtualDevice::SetSize will result in problems with image alpha
channel as expected. Furthermore performace is bad and application will become
unresponsive from time to time.

But text and graphics are sharp now although bitmap buffer size has not been
increased. Will take a look in this direction next.

@ Tor: The parameters for AquaSalGraphics::SetVirDevGraphics seem to allow
calling with either a GCLayer on a CGBitmapContext or with a CGBitmapContext
only (without a GCLayer on top). As AquaSalGraphics::SetVirDevGraphics is
called from AquaSalVirtualDevice::SetSize only for now, both parameters are not
required. But these parameters are not the reason of blurry text and graphics
when set correctly.

-- 
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/20201230/4f095b7e/attachment.htm>


More information about the Libreoffice-bugs mailing list