Welcome Guest Search | Active Topics | Sign In | Register

Text drawn on canvas in web view unclear Options
HealerRend
Posted: Wednesday, February 4, 2015 1:48:49 PM
Rank: Newbie
Groups: Member

Joined: 2/4/2015
Posts: 2
I'm using EO's web view/control to draw onto an HTML5 canvas using javascript, and I'm using a custom font.
However, when I do this, the text often looks unclear, as if it's not being properly aliased, or something.

On the left you can see the EO web view, on the right you can see the same html loaded up in chrome.


Does anyone have any insight as to what might be causing this, and how I can correct this issue?
eo_support
Posted: Wednesday, February 4, 2015 5:16:20 PM
Rank: Administration
Groups: Administration

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

I am aware of many of our users use EO.WebBrowser with custom font and we have not had this complain before. So you may want to switch to a different font or a slightly bigger font size and see if it renders better. On the other hand, we also know that Chrome switched to DirectDraw for text rendering since version 37 and the current version of our engine is based on V33. So the current version of Google Chrome supposes to be more "superior" on text rendering than our current build. We are in the process of updating our codebase so once that is done they should look the same.

Thanks!
HealerRend
Posted: Thursday, February 5, 2015 11:18:41 AM
Rank: Newbie
Groups: Member

Joined: 2/4/2015
Posts: 2
Is there currently an estimate of when those updates will be released?
eo_support
Posted: Thursday, February 5, 2015 11:53:12 AM
Rank: Administration
Groups: Administration

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

We do not have fixed time line on this but we expect it to be done in a one to two month time frame.

Thanks!
netvico GmbH
Posted: Thursday, February 5, 2015 2:33:12 PM
Rank: Newbie
Groups: Member

Joined: 10/24/2014
Posts: 3
Hello,

maybe i have a solution for your problem.
We were encountering the problem you described as well.

After along journey through rareley documented command line parameters we ended up with this:

Runtime.ExtraCommandLineArgs = "--enable-direct-write";

In V33 the direct write font rendering was like-beta. So you have to try if this works for your case in canvas.

I would be interested if this solution worked for you as well.

Bye
eo_support
Posted: Thursday, February 5, 2015 2:38:12 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Very interesting observation indeed. Thank you very much for sharing!


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.