Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: ui/gfx/switches.cc

Issue 726893005: Enable DirectWrite for font metrics and font rendering in Chrome UI on Windows by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gfx/switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/gfx/switches.h" 5 #include "ui/gfx/switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Disables the HarfBuzz port of RenderText on all platforms. 9 // Disables the HarfBuzz port of RenderText on all platforms.
10 const char kDisableHarfBuzzRenderText[] = "disable-harfbuzz-rendertext"; 10 const char kDisableHarfBuzzRenderText[] = "disable-harfbuzz-rendertext";
11 11
12 // Enables the HarfBuzz port of RenderText on all platforms. 12 // Enables the HarfBuzz port of RenderText on all platforms.
13 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext"; 13 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
14 14
15 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid 15 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid
16 // in webkit renderers. 16 // in webkit renderers.
17 const char kEnableWebkitTextSubpixelPositioning[] = 17 const char kEnableWebkitTextSubpixelPositioning[] =
18 "enable-webkit-text-subpixel-positioning"; 18 "enable-webkit-text-subpixel-positioning";
19 19
20 // Overrides the device scale factor for the browser UI and the contents. 20 // Overrides the device scale factor for the browser UI and the contents.
21 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; 21 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
22 22
23 #if defined(OS_WIN) 23 #if defined(OS_WIN)
24 // Disables the DirectWrite font rendering system on windows. 24 // Disables the DirectWrite font rendering system on windows.
25 const char kDisableDirectWrite[] = "disable-direct-write"; 25 const char kDisableDirectWrite[] = "disable-direct-write";
26 26
27 // Enables DirectWrite font rendering for general UI elements. 27 // Disables DirectWrite font rendering for general UI elements.
28 const char kEnableDirectWriteForUI[] = "enable-directwrite-for-ui"; 28 const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui";
sky 2014/11/17 15:44:16 Do we really need both DisableDirectWrite and Disa
29 #endif 29 #endif
30 30
31 } // namespace switches 31 } // namespace switches
OLDNEW
« no previous file with comments | « ui/gfx/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698