| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ | 5 #ifndef UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ |
| 6 #define UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ | 6 #define UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ui/base/ui_export.h" | 9 #include "ui/base/ui_export.h" |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 bool antialiasing; | 36 bool antialiasing; |
| 37 | 37 |
| 38 // Should subpixel positioning (i.e. fractional X positions for glyphs) be | 38 // Should subpixel positioning (i.e. fractional X positions for glyphs) be |
| 39 // used? | 39 // used? |
| 40 bool subpixel_positioning; | 40 bool subpixel_positioning; |
| 41 | 41 |
| 42 // Should FreeType's autohinter be used (as opposed to Freetype's bytecode | 42 // Should FreeType's autohinter be used (as opposed to Freetype's bytecode |
| 43 // interpreter, which uses fonts' own hinting instructions)? | 43 // interpreter, which uses fonts' own hinting instructions)? |
| 44 bool autohinter; | 44 bool autohinter; |
| 45 | 45 |
| 46 // Should embedded bitmaps in fonts should be used? |
| 47 bool use_bitmaps; |
| 48 |
| 46 // Hinting level. | 49 // Hinting level. |
| 47 Hinting hinting; | 50 Hinting hinting; |
| 48 | 51 |
| 49 // Whether subpixel rendering should be used or not, and if so, the display's | 52 // Whether subpixel rendering should be used or not, and if so, the display's |
| 50 // subpixel order. | 53 // subpixel order. |
| 51 SubpixelRendering subpixel_rendering; | 54 SubpixelRendering subpixel_rendering; |
| 52 }; | 55 }; |
| 53 | 56 |
| 54 // Returns the system's default parameters for font rendering. | 57 // Returns the system's default parameters for font rendering. |
| 55 UI_EXPORT const FontRenderParams& GetDefaultFontRenderParams(); | 58 UI_EXPORT const FontRenderParams& GetDefaultFontRenderParams(); |
| 56 | 59 |
| 57 } // namespace gfx | 60 } // namespace gfx |
| 58 | 61 |
| 59 #endif // UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ | 62 #endif // UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ |
| OLD | NEW |