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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
猜你喜欢
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案