|
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?
|
|
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!
|
|
Rank: Newbie Groups: Member
Joined: 2/4/2015 Posts: 2
|
Is there currently an estimate of when those updates will be released?
|
|
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!
|
|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Very interesting observation indeed. Thank you very much for sharing!
|
|