Skip to content

Instantly share code, notes, and snippets.

@deepak1556
Created June 18, 2019 19:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deepak1556/8bf0442f1368db395d1a016b3dcfac7c to your computer and use it in GitHub Desktop.
Save deepak1556/8bf0442f1368db395d1a016b3dcfac7c to your computer and use it in GitHub Desktop.
Font rendering check
const {app, BrowserWindow} = require('electron')
let mainWindow
function createWindow () {
// Create the browser window.
mainWindow = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: false
}
})
mainWindow.loadURL('http://roettsch.es/raster72a.html');
}
app.on('ready', createWindow)
app.on('window-all-closed', function () {
app.quit()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment