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
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
转载于:https://www.cnblogs.com/ZhyjEye/p/9237297.html