Merge pull request #28 from vector-im/dbkr/maybe_enable_subpixel_rendering

Hopefully enable subpixel font rendering
This commit is contained in:
David Baker
2020-02-21 11:42:10 +00:00
committed by GitHub

View File

@@ -592,6 +592,9 @@ app.on('ready', async () => {
const preloadScript = path.normalize(`${__dirname}/preload.js`);
mainWindow = global.mainWindow = new BrowserWindow({
// https://www.electronjs.org/docs/faq#the-font-looks-blurry-what-is-this-and-what-can-i-do
backgroundColor: '#fff',
icon: iconPath,
show: false,
autoHideMenuBar: store.get('autoHideMenuBar', true),