| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "ui/gfx/switches.h" | |
| 6 | |
| 7 namespace switches { | |
| 8 | |
| 9 // Disables the HarfBuzz port of RenderText on all platforms. | |
| 10 const char kDisableHarfBuzzRenderText[] = "disable-harfbuzz-rendertext"; | |
| 11 | |
| 12 // Enables the HarfBuzz port of RenderText on all platforms. | |
| 13 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext"; | |
| 14 | |
| 15 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid | |
| 16 // in webkit renderers. | |
| 17 const char kEnableWebkitTextSubpixelPositioning[] = | |
| 18 "enable-webkit-text-subpixel-positioning"; | |
| 19 | |
| 20 // Overrides the device scale factor for the browser UI and the contents. | |
| 21 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; | |
| 22 | |
| 23 #if defined(OS_WIN) | |
| 24 // Disables the DirectWrite font rendering system on windows. | |
| 25 const char kDisableDirectWrite[] = "disable-direct-write"; | |
| 26 | |
| 27 // Enables DirectWrite font rendering for general UI elements. | |
| 28 const char kEnableDirectWriteForUI[] = "enable-directwrite-for-ui"; | |
| 29 #endif | |
| 30 | |
| 31 } // namespace switches | |
| OLD | NEW |