Welcome Guest Search | Active Topics | Sign In | Register

change chrome font settings with command line parameters Options
Bodmoor
Posted: Thursday, September 14, 2017 4:38:12 AM
Rank: Member
Groups: Member

Joined: 9/4/2017
Posts: 10
Hello,

I am trying to get chrome to render iets fonts differently. I've tried running the webview as follows:

Quote:
Engine engine = Engine.Create("engine");

engine.Options.ExtraCommandLineArgs = "--disable-accelerated-2d-canvas --disable-lcd-text --disable-accelerated-2d-canvas";

EOView = new WebView();
EOView.Engine = engine;

EOControl.WebView = EOView;


But there is no effect. Am I running my custom engine correctly, or are these commandline switches simply not supported at this time? I can see a difference in chrome itself when I change these, just not in EO.WebBrowser.
eo_support
Posted: Thursday, September 14, 2017 11:28:43 AM
Rank: Administration
Groups: Administration

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

You can try to set ExtraCommandLineArgs on the default engine and see if it works. That should eliminate any possibility of additional engine not working properly issue.

As to whether there are flags Chrome supports and we do not, the answer is yes. We only include the core browser engine, not everything in Chrome. So there are a lot of flags we do not support. Additionally, we usually use a different versions of Chromium browser engine than the one used by the current Google Chrome browser. The current Google Chrome browser always use the latest engine. We regularly update to the latest but before we update, our engine can be a few versions behind and that means there are flags/features in Google Chrome that is not in our product yet.

Thanks!


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.