1.使用指令行參數
//禁止cef進行dpi縮放
command_line->AppendSwitchWithValue("--force-device-scale-factor","1");
額外:
// Enable High-DPI support on Windows 7 or newer.
CefEnableHighDPISupport();
來自:http://www.lpime.cn/article/36