Skip to content

disable-browser-font-smoothing-win Does Not Work. #11

@JohnLouderback

Description

@JohnLouderback

Hi,

I apologize if I misunderstand the goal of this project or if I'm being a bit ignorant here, but when I pass the disable-browser-font-smoothing-win flag via:

app.commandLine.appendSwitch("force-gdi");
app.commandLine.appendSwitch("disable-browser-font-smoothing-win");

I still see rendered text using ClearType sub-pixel anti-aliasing.
If I also pass:

app.commandLine.appendSwitch("disable-lcd-text");

I still see grayscale anti-aliasing.

It could just be that the disable-browser-font-smoothing-win flag is not implemented in the release of Supermium used by this project in its last release (which is a few years old).

For context, for my project, I install the normal Electron 28.0.0 dependency and then, as a post install step, I download the latest release from this repo and replace the files in node_modules/electron/dist. This does appear to be working as expected at face value. My end-goal here is really just to render my UI with aliased text using the Tahoma font and others with good font hinting.

Let me know if I can provide any more information.

Thanks,
John

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions