OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 // Auto-generated by create_test_font.cpp | 8 // Auto-generated by create_test_font.cpp |
9 | 9 |
10 static SkTestFontData gTestFonts[] = { | 10 static SkTestFontData gTestFonts[] = { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 { "Toy Liberation Sans", SkFontStyle::FromOldStyle(SkTypeface::kBoldItalic),
gTestFonts[7], "LiberationSans-BoldItalic.ttf" }, | 90 { "Toy Liberation Sans", SkFontStyle::FromOldStyle(SkTypeface::kBoldItalic),
gTestFonts[7], "LiberationSans-BoldItalic.ttf" }, |
91 { "Toy Liberation Serif", SkFontStyle(), gTestFonts[8], "LiberationSerif-Reg
ular.ttf" }, | 91 { "Toy Liberation Serif", SkFontStyle(), gTestFonts[8], "LiberationSerif-Reg
ular.ttf" }, |
92 { "Toy Liberation Serif", SkFontStyle::FromOldStyle(SkTypeface::kBold), gTes
tFonts[9], "LiberationSerif-Bold.ttf" }, | 92 { "Toy Liberation Serif", SkFontStyle::FromOldStyle(SkTypeface::kBold), gTes
tFonts[9], "LiberationSerif-Bold.ttf" }, |
93 { "Toy Liberation Serif", SkFontStyle::FromOldStyle(SkTypeface::kItalic), gT
estFonts[10], "LiberationSerif-Italic.ttf" }, | 93 { "Toy Liberation Serif", SkFontStyle::FromOldStyle(SkTypeface::kItalic), gT
estFonts[10], "LiberationSerif-Italic.ttf" }, |
94 { "Toy Liberation Serif", SkFontStyle::FromOldStyle(SkTypeface::kBoldItalic)
, gTestFonts[11], "LiberationSerif-BoldItalic.ttf" }, | 94 { "Toy Liberation Serif", SkFontStyle::FromOldStyle(SkTypeface::kBoldItalic)
, gTestFonts[11], "LiberationSerif-BoldItalic.ttf" }, |
95 }; | 95 }; |
96 | 96 |
97 const int gSubFontsCount = (int) SK_ARRAY_COUNT(gSubFonts); | 97 const int gSubFontsCount = (int) SK_ARRAY_COUNT(gSubFonts); |
98 | 98 |
99 const int gDefaultFontIndex = 4; | 99 const int gDefaultFontIndex = 4; |
OLD | NEW |