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

Side by Side Diff: gfx/font_gtk.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 | « gfx/font.h ('k') | gfx/font_mac.mm » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "app/gfx/font.h" 5 #include "gfx/font.h"
6 6
7 #include <fontconfig/fontconfig.h> 7 #include <fontconfig/fontconfig.h>
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/string_piece.h" 11 #include "base/string_piece.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 15
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 case gfx::Font::UNDERLINED: 120 case gfx::Font::UNDERLINED:
121 // TODO(deanm): How to do underlined? Where do we use it? Probably have 121 // TODO(deanm): How to do underlined? Where do we use it? Probably have
122 // to paint it ourselves, see pango_font_metrics_get_underline_position. 122 // to paint it ourselves, see pango_font_metrics_get_underline_position.
123 break; 123 break;
124 } 124 }
125 125
126 return pfd; 126 return pfd;
127 } 127 }
128 128
129 } // namespace gfx 129 } // namespace gfx
OLDNEW
« no previous file with comments | « gfx/font.h ('k') | gfx/font_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698