| 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.cpp. |
| 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; |
| 18 }; | 18 }; |
| 19 | 19 |
| 20 static Whitelist whitelist[] = { | 20 static Whitelist whitelist[] = { |
| 21 { "Aegean", 0x82ad09a5, false, false }, | 21 { "Aegean", 0x639a35c7, false, false }, |
| 22 { "Analecta", 0xc378d990, false, false }, | 22 { "Analecta", 0x639a35c7, false, false }, |
| 23 { "Arial", 0xbc28cb14, false, false }, | 23 { "Arial", 0xbc28cb14, false, false }, |
| 24 { "DejaVu Sans", 0x91e2fe32, false, false }, | 24 { "DejaVu Sans", 0x639a35c7, false, false }, |
| 25 { "DejaVu Sans Mono", 0xddc8af48, false, false }, | 25 { "DejaVu Sans Mono", 0xbc29a5d9, false, false }, |
| 26 { "DejaVu Serif", 0x0077166d, false, false }, | 26 { "DejaVu Serif", 0x9db67efe, false, false }, |
| 27 { "FreeMono", 0xb9e602cd, false, false }, | 27 { "FreeMono", 0x724884f4, false, false }, |
| 28 { "FreeSans", 0x6f484994, false, false }, | 28 { "FreeSans", 0x7dfc48a3, false, false }, |
| 29 { "FreeSerif", 0x933ce1c4, false, false }, | 29 { "FreeSerif", 0xa1ae8c77, false, false }, |
| 30 { "Khmer OS", 0x917c40aa, false, false }, | 30 { "Khmer OS", 0x917c40aa, false, false }, |
| 31 { "Kochi Gothic", 0x962132dd, false, false }, | 31 { "Kochi Gothic", 0x962132dd, false, false }, |
| 32 { "Lohit Kannada", 0x7c829df4, false, false }, | 32 { "Lohit Kannada", 0x0b6ce863, false, false }, |
| 33 { "Lohit Marathi", 0x0eb0a941, false, false }, | 33 { "Lohit Marathi", 0x0eb0a941, false, false }, |
| 34 { "Lohit Oriya", 0xf3e9d313, false, false }, | 34 { "Lohit Oriya", 0xf3e9d313, false, false }, |
| 35 { "Lohit Punjabi", 0xfd8b26e0, false, false }, | 35 { "Lohit Punjabi", 0xfd8b26e0, false, false }, |
| 36 { "Lohit Tamil", 0x83a29565, false, false }, | 36 { "Lohit Tamil", 0xa8111d99, false, false }, |
| 37 { "Lohit Telugu", 0x11424bd0, false, false }, | 37 { "Lohit Telugu", 0xd34299e0, false, false }, |
| 38 { "Meera", 0xe3e16220, false, false }, | 38 { "Meera", 0xe3e16220, false, false }, |
| 39 { "Mukti Narrow", 0x53f7d053, false, false }, | 39 { "Mukti Narrow", 0x53f7d053, false, false }, |
| 40 { "NanumBarunGothic", 0x859e77ea, false, false }, | 40 { "NanumBarunGothic", 0x639a35c7, false, false }, |
| 41 { "NanumGothic", 0x9edbcdb8, false, false }, | 41 { "NanumGothic", 0xff8d773d, false, false }, |
| 42 { "OpenSymbol", 0xd3d743df, false, false }, | 42 { "OpenSymbol", 0x4fcaf331, false, false }, |
| 43 { "Symbola", 0xfa80f2ab, false, false }, | 43 { "Symbola", 0x639a35c7, false, false }, |
| 44 { "TakaoPGothic", 0x068c405a, false, false }, | 44 { "TakaoPGothic", 0x068c405a, false, false }, |
| 45 { "Waree", 0x036e4fa4, false, false }, | 45 { "Waree", 0x6a2bfca8, false, false }, |
| 46 { "WenQuanYi Micro Hei", 0xfea8587c, 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 |