Support for High DPI Display

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Support for High DPI Display

Postby jimnoble » Wed Nov 26, 2014 12:44 pm

I have Chrome configured to work well with my high DPI display, windows 8 is set to a 200% zoom under the Screen Resolution > Make text and other items larger or smaller.

However, the reference CEF client application (cef_binary_3.2062.1898_windows32_client) does not use the extra pixels, but instead is apparently just getting scaled up by windows, which looks pretty heinous.

Here is chrome (apologies, this will probably be huge on a standard display):

http://screencast.com/t/eIHiJOL9R4v

Here is the CEF reference client:

http://screencast.com/t/oD2H4e9q78

I read in this post (http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=12096) that the --high-dpi-support=1 command flag was retired and replaced with the value of the registry key at HKEY_CURRENT_USER\Software\Google\Chrome\Profile\high-dpi-support.

For me this value was set to 2, changing it to 1 and running the CEF reference client app does not change its behavior.

How do I run CEF with proper high DPI support?
jimnoble
Newbie
 
Posts: 1
Joined: Wed Nov 26, 2014 12:18 pm

Re: Support for High DPI Display

Postby magreenblatt » Wed Nov 26, 2014 1:52 pm

Your application needs a DPI-aware manifest. There is also a currently a known bug with hi-dpi on Windows: https://code.google.com/p/chromiumembed ... il?id=1445.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 40 guests