Welcome Guest Search | Active Topics | Sign In | Register

Blurry text in Webview Options
Benoit
Posted: Thursday, April 30, 2020 3:19:35 AM
Rank: Member
Groups: Member

Joined: 3/27/2020
Posts: 23
Hello,

EO Browser renders blurry fonts (especially for font sizes under 12px), whereas the exact same page on Chrome shows crisp text.

We have tried SetProcessDPIAware(), but it didn't help.

Any hints?

Best regards,
Benoit
Benoit
Posted: Thursday, April 30, 2020 4:00:17 AM
Rank: Member
Groups: Member

Joined: 3/27/2020
Posts: 23
Doing some additional tests, the issue happens when DPI scaling at OS level is not 100% (e.g. 125% or 150%).
eo_support
Posted: Thursday, April 30, 2020 11:40:34 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
What version do you use?
Benoit
Posted: Thursday, April 30, 2020 12:05:59 PM
Rank: Member
Groups: Member

Joined: 3/27/2020
Posts: 23
The very last version EO.WebBrowser 20.1.30.
eo_support
Posted: Thursday, April 30, 2020 1:14:41 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

This build should support high DPI value fine. However it is only enabled when high DPI is enabled on your application. This is enabled by default for WPF application, but for Windows Forms application, you must enable it yourself (typically by calling SetProcessDPIAware). If you still have problems after trying that, please try to create a test project and send the test project to us. See here for more details:

https://www.essentialobjects.com/forum/test_project.aspx

Once we have the test project we will investigate further.

Thanks!
Benoit
Posted: Friday, May 1, 2020 1:08:48 AM
Rank: Member
Groups: Member

Joined: 3/27/2020
Posts: 23
Hi,

SetProcessDPIAware did the trick. We had tried it before, but obviously we had done something wrong.

Thanks again for your support.

Best regards,
Benoit
eo_support
Posted: Friday, May 1, 2020 10:17:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Great. Thanks for confirming!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.