OLD | NEW |
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 Loading... |
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 |
OLD | NEW |