Disable subpixel font scaling.

This commit is contained in:
Cheng Zhao
2014-09-09 20:46:33 +08:00
parent 3487ab9b11
commit 3e10f491b4

View File

@@ -25,7 +25,12 @@ class AtomWindow
# Normalize to make sure drive letter case is consistent on Windows
@resourcePath = path.normalize(@resourcePath) if @resourcePath
@browserWindow = new BrowserWindow show: false, title: 'Atom', icon: @constructor.iconPath
@browserWindow = new BrowserWindow
show: false
title: 'Atom'
icon: @constructor.iconPath
'web-preferences':
'subpixel-font-scaling': false
global.atomApplication.addWindow(this)
@handleEvents()