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

Side by Side Diff: ui/gfx/font_names_testing.cc

Issue 2302313002: Configure font font names in GFX unittests (Closed)
Patch Set: Use Heiti SC font, namespace, comment, hex escapes Created 4 years, 3 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
« no previous file with comments | « ui/gfx/font_names_testing.h ('k') | ui/gfx/font_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/gfx/font_names_testing.h"
6
7 #include "build/build_config.h"
8
9 namespace gfx {
10
11 #if defined(OS_LINUX)
12 const char kSymbolFontName[] = "DejaVu Sans";
jungshik at Google 2016/09/16 19:34:55 Will this test ever be run on an actual Chrome OS
drott 2016/09/20 07:37:39 It would be much better to have access to Noto ind
13 #else
14 const char kSymbolFontName[] = "Symbol";
15 #endif
16
17 #if defined(OS_LINUX)
18 const char kCJKFontName[] = "Kochi Mincho";
19 #elif defined(OS_MACOSX)
20 const char kCJKFontName[] = "Heiti SC";
21 #else
22 const char kCJKFontName[] = "SimSun";
23 #endif
24
25 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/font_names_testing.h ('k') | ui/gfx/font_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698