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

Side by Side Diff: tests/FontMgrAndroidParserTest.cpp

Issue 1841123002: Reverse dependency between SkScalar.h and SkFixed.h (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 8 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 | « src/utils/SkInterpolator.cpp ('k') | tests/MathTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "Resources.h" 8 #include "Resources.h"
9 #include "SkCommandLineFlags.h" 9 #include "SkCommandLineFlags.h"
10 #include "SkFixed.h"
10 #include "SkFontMgr_android_parser.h" 11 #include "SkFontMgr_android_parser.h"
11 #include "Test.h" 12 #include "Test.h"
12 13
13 #include <cmath> 14 #include <cmath>
14 #include <cstdio> 15 #include <cstdio>
15 16
16 DECLARE_bool(verboseFontMgr); 17 DECLARE_bool(verboseFontMgr);
17 18
18 int CountFallbacks(SkTDArray<FontFamily*> fontFamilies) { 19 int CountFallbacks(SkTDArray<FontFamily*> fontFamilies) {
19 int countOfFallbackFonts = 0; 20 int countOfFallbackFonts = 0;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 ValidateLoadedFonts(v22FontFamilies, "Roboto-Thin.ttf", reporter); 207 ValidateLoadedFonts(v22FontFamilies, "Roboto-Thin.ttf", reporter);
207 } else { 208 } else {
208 resourcesMissing = true; 209 resourcesMissing = true;
209 } 210 }
210 v22FontFamilies.deleteAll(); 211 v22FontFamilies.deleteAll();
211 212
212 if (resourcesMissing) { 213 if (resourcesMissing) {
213 SkDebugf("---- Resource files missing for FontConfigParser test\n"); 214 SkDebugf("---- Resource files missing for FontConfigParser test\n");
214 } 215 }
215 } 216 }
OLDNEW
« no previous file with comments | « src/utils/SkInterpolator.cpp ('k') | tests/MathTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698