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

Side by Side Diff: ui/gfx/font_render_params_linux.h

Issue 10544103: Chromium change of sharing some WebKit API between Android/Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For landing Created 8 years, 5 months 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 | Annotate | Revision Log
« no previous file with comments | « ui/gfx/font_render_params_android.cc ('k') | ui/gfx/font_render_params_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ui/gfx/font_render_params_android.cc ('k') | ui/gfx/font_render_params_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698