cef3:禁止win10高dpi下cef对内部网页进行缩放

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
posted @ 2018-06-28 10:09  郑延杰  阅读(1431)  评论(0编辑  收藏  举报