| 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 * GenerateChecksums() in ../../src/utils/SkWhitelistTypefaces.cpp generated SkW
hitelistChecksums.cpp. | 7 * GenerateChecksums() in ../../src/utils/SkWhitelistTypefaces.cpp generated SkW
hitelistChecksums.inc. |
| 8 * Run 'whitelist_typefaces --generate' to create anew. | 8 * Run 'whitelist_typefaces --generate' to create anew. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include "SkTDArray.h" | 11 #include "SkTDArray.h" |
| 12 | 12 |
| 13 struct Whitelist { | 13 struct Whitelist { |
| 14 const char* fFontName; | 14 const char* fFontName; |
| 15 uint32_t fChecksum; | 15 uint32_t fChecksum; |
| 16 bool fSerializedNameOnly; | 16 bool fSerializedNameOnly; |
| 17 bool fSerializedSub; | 17 bool fSerializedSub; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 41 { "NanumGothic", 0xff8d773d, false, false }, | 41 { "NanumGothic", 0xff8d773d, false, false }, |
| 42 { "OpenSymbol", 0x4fcaf331, false, false }, | 42 { "OpenSymbol", 0x4fcaf331, false, false }, |
| 43 { "Symbola", 0x639a35c7, false, false }, | 43 { "Symbola", 0x639a35c7, false, false }, |
| 44 { "TakaoPGothic", 0x068c405a, false, false }, | 44 { "TakaoPGothic", 0x068c405a, false, false }, |
| 45 { "Waree", 0x6a2bfca8, false, false }, | 45 { "Waree", 0x6a2bfca8, false, false }, |
| 46 { "WenQuanYi Micro Hei", 0xcdec08a3, false, false }, | 46 { "WenQuanYi Micro Hei", 0xcdec08a3, false, false }, |
| 47 { "padmaa", 0x09eb1865, false, false }, | 47 { "padmaa", 0x09eb1865, false, false }, |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 static const int whitelistCount = (int) SK_ARRAY_COUNT(whitelist); | 50 static const int whitelistCount = (int) SK_ARRAY_COUNT(whitelist); |
| OLD | NEW |