[Webkit-unassigned] [Bug 201361] New: [WinCairo, FTW] Properly handle device scale factor

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 30 15:38:09 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=201361

            Bug ID: 201361
           Summary: [WinCairo, FTW] Properly handle device scale factor
           Product: WebKit
           Version: Safari 10
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

The Modern WebKit implementation does not handle device scale factor properly. The WebContent process runs without DPI awareness and draws everything into 1x buffers, even when the system is running at higher DPI. This leads to Windows scaling the content and lower resolution output.

This patch makes a few corrections:

1. It calls "SetProcessDPIAware" at launch in the WebContent process so that it can make appropriate measurements of the screen resolution.
2. We update the WebPage the proper "setIntrinsicDeviceScaleFactor" value based on screen resolution so that it can pass it to the WebContent process for rendering calculations.
3. We do call WKPageSetPageZoomFactor with the screen DPI scale factor, since this is meant to be a logical screen zoom, not a correction for high DPI.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190830/d793e9a1/attachment.html>


More information about the webkit-unassigned mailing list