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

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

Issue 385463002: Support FontRenderParams on Win; fix RenderTextHarfBuzz. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update Android include. Created 6 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/BUILD.gn ('k') | ui/gfx/font_render_params_android.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_
boliu 2014/07/09 23:56:15 Should these header defines be fixed?
msw 2014/07/10 00:02:29 Good catch! Done.
6 #define UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ 6 #define UI_GFX_FONT_RENDER_PARAMS_LINUX_H_
7 7
8 #include "ui/gfx/gfx_export.h" 8 #include "ui/gfx/gfx_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
11 11
12 // A collection of parameters describing how text should be rendered on Linux. 12 // A collection of parameters describing how text should be rendered on Linux.
13 struct GFX_EXPORT FontRenderParams { 13 struct GFX_EXPORT FontRenderParams {
14 // No constructor to avoid static initialization. 14 // No constructor to avoid static initialization.
15 15
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // Returns the system's default parameters for WebKit subpixel positioning. 62 // Returns the system's default parameters for WebKit subpixel positioning.
63 // Subpixel positioning is special since neither GTK nor FontConfig currently 63 // Subpixel positioning is special since neither GTK nor FontConfig currently
64 // track it as a preference. 64 // track it as a preference.
65 // See https://bugs.freedesktop.org/show_bug.cgi?id=50736 65 // See https://bugs.freedesktop.org/show_bug.cgi?id=50736
66 GFX_EXPORT bool GetDefaultWebkitSubpixelPositioning(); 66 GFX_EXPORT bool GetDefaultWebkitSubpixelPositioning();
67 67
68 } // namespace gfx 68 } // namespace gfx
69 69
70 #endif // UI_GFX_FONT_RENDER_PARAMS_LINUX_H_ 70 #endif // UI_GFX_FONT_RENDER_PARAMS_LINUX_H_
OLDNEW
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/font_render_params_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698