A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cztomczak/cefpython/issues/358 below:

Issues with High DPI support in latest CEF on Windows · Issue #358 · cztomczak/cefpython · GitHub

High DPI was last tested by me in the v31 release. There were some changes in upstream CEF in regards to High DPI support. For example in phpdesktop it was no more required to change zoom level according to OS DPI settings.

SetProcessDpiAware code was commented out in phpdesktop:
https://github.com/cztomczak/phpdesktop/blob/c00988f69348b73b6dee27bdf45d145b719e2a3d/phpdesktop-chrome39/dpi_aware.cpp#L14

CEF Python has the same code. It needs to be checked whether this needs to be commented out as well:

cefpython/src/client_handler/dpi_aware.cpp

Line 163 in 824d7ce

void SetBrowserDpiSettings(CefRefPtr<CefBrowser> cefBrowser,

In the wxpython.py example you can see this code that enables High DPI support:

if WINDOWS:
        settings["auto_zooming"] = "system_dpi"  # High DPI support
        # noinspection PyUnresolvedReferences, PyArgumentList
        cef.DpiAware.SetProcessDpiAware()  # Alternative is to embed manifest

PHP Desktop embeds DPI aware manifest by default:
https://github.com/cztomczak/phpdesktop/blob/master/phpdesktop-chrome57/DeclareDPIAware.manifest


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4