win: Add "direct-write" option for BrowserWindow.

For atom/atom#3540.
This commit is contained in:
Cheng Zhao 2014-09-18 21:49:04 +08:00
parent 1381d16f9c
commit 9653f20995
4 changed files with 14 additions and 1 deletions

View file

@ -86,6 +86,8 @@ normal browsers, see [Web Security](web-security.md) for more.
* `overlay-scrollbars` Boolean
* `overlay-fullscreen-video` Boolean
* `shared-worker` Boolean
* `direct-write` Boolean - Whether the DirectWrite font rendering system on
Windows is enabled
Creates a new `BrowserWindow` with native properties set by the `options`.
Usually you only need to set the `width` and `height`, other properties will