CefSharp icon indicating copy to clipboard operation
CefSharp copied to clipboard

Why do fonts in CEF appear not as clear as in Chrome?

Open kz1989 opened this issue 6 months ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched both open/closed issues, no issue already exists.

CefSharp Version

131.3.50

Operating System

Windows 10

Architecture

x64

.Net Version

4.6

Implementation

WinForms

Reproduction Steps

‌Open the URL‌:

Navigate to: https://threejs.org/examples/#webgl_animation_skinning_blending ‌Observe the Red Font‌:

Locate the red-colored text that reads "three.js"

Expected behavior

The shapes and color brightness should be consistent.

Actual behavior

Image

The fonts in Chrome browser are clearer.

Regression?

No response

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Yes using WPF/OffScreen command line args

Other information

No response

kz1989 avatar Jun 11 '25 08:06 kz1989

Does this problem also occur in the CEF Sample Application

Yes using WPF/OffScreen command line args

Did you test with the CEF Sample Application as per the bug report template?

To help determine where the problem needs to be fixed please download and test using the CEF Sample Application(cefclient). 1. Download for x86 or x64 or arm64. 2. Extract tar.bz2 file 3. Execute cefclient.exe using the command line args below:

      For WinForms `cefclient.exe --multi-threaded-message-loop --no-sandbox --use-alloy-style`

Make sure to use the command line args cefclient.exe --multi-threaded-message-loop --no-sandbox --use-alloy-style

amaitland avatar Jun 16 '25 08:06 amaitland

这个问题也发生在CEF样本应用中吗

是使用WPF/OffScreen命令行ARGS

CEF Sample Application您是否按照错误报告模板进行测试?

为了帮助确定问题需要解决的位置,请使用该问题下载和测试CEF Sample Application(cefclient)。 1。下载X86X64ARM64。 2。提取tar.bz2文件3。使用下面的命令行args 执行cefclient.exe :****

      For WinForms `cefclient.exe --multi-threaded-message-loop --no-sandbox --use-alloy-style`

确保使用命令行args**cefclient.exe --multi-threaded-message-loop --no-sandbox --use-alloy-style**

Image

The test results are the same

ghost avatar Jun 17 '25 07:06 ghost

Thanks for taking the time to test.

As the issue reproduces with the CEF Sample Application you will need to raise an issue at https://github.com/chromiumembedded/cef/issues

Closing for now, can be reopened once the CEF issue is resolved if code changes are required.

amaitland avatar Jun 20 '25 08:06 amaitland

Please post a link back here once you create an issue

amaitland avatar Jun 20 '25 08:06 amaitland

Please post a link back here once you create an issue

https://github.com/chromiumembedded/cef/issues/3950

ghost avatar Jun 20 '25 09:06 ghost