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
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-winflag via:I still see rendered text using ClearType sub-pixel anti-aliasing.
If I also pass:
I still see grayscale anti-aliasing.
It could just be that the
disable-browser-font-smoothing-winflag 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.0dependency and then, as a post install step, I download the latest release from this repo and replace the files innode_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