[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 2 13:44:20 UTC 2020


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

--- Comment #93 from lupurus at web.de ---
Go to vcl/quartz/salvd.cxx

In bool AquaSalVirtualDevice::SetSize( tools::Long nDX, tools::Long nDY ) add
this:

float fScale = 1.0f;
if (pSalFrame->getNSWindow())
    fScale = [pSalFrame->getNSWindow() backingScaleFactor];

maBitmapContext.set(CGBitmapContextCreate(pRawData, nDX * fScale, nDY * fScale,
8, nBytesPerRow,
GetSalData()->mxRGBSpace, nFlags));


Now everything is crispy clear. Unfortunately LO became extremely slow with
that. Maybe someone knows more?

-- 
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/20201202/1f2e1733/attachment.htm>


More information about the Libreoffice-bugs mailing list