<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - LibreOffice text blurry on Retina displays on macOS 11"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138122#c114">Comment # 114</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - LibreOffice text blurry on Retina displays on macOS 11"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138122">bug 138122</a>
              from <span class="vcard"><a class="email" href="mailto:thorsten.wagner.4@gmail.com" title="Thorsten Wagner <thorsten.wagner.4@gmail.com>"> <span class="fn">Thorsten Wagner</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>