caryclark | 5ef194c | 2015-08-31 09:22:38 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2015 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | * |
| 7 | * GenerateChecksums() in ../../src/utils/SkWhitelistTypefaces.cpp generated SkWhitelistChecksums.cpp. |
| 8 | * Run 'whitelist_typefaces --generate' to create anew. |
| 9 | */ |
| 10 | |
| 11 | #include "SkTDArray.h" |
| 12 | |
| 13 | struct Whitelist { |
| 14 | const char* fFontName; |
| 15 | uint32_t fChecksum; |
| 16 | bool fSerializedNameOnly; |
| 17 | bool fSerializedSub; |
| 18 | }; |
| 19 | |
| 20 | static Whitelist whitelist[] = { |
| 21 | { "Aegean", 0x82ad09a5, false, false }, |
| 22 | { "Analecta", 0xc378d990, false, false }, |
| 23 | { "Arial", 0xbc28cb14, false, false }, |
| 24 | { "DejaVu Sans", 0x91e2fe32, false, false }, |
| 25 | { "DejaVu Sans Mono", 0xddc8af48, false, false }, |
| 26 | { "DejaVu Serif", 0x0077166d, false, false }, |
| 27 | { "FreeMono", 0xb9e602cd, false, false }, |
| 28 | { "FreeSans", 0x6f484994, false, false }, |
| 29 | { "FreeSerif", 0x933ce1c4, false, false }, |
| 30 | { "Khmer OS", 0x917c40aa, false, false }, |
| 31 | { "Kochi Gothic", 0x962132dd, false, false }, |
| 32 | { "Lohit Kannada", 0x7c829df4, false, false }, |
| 33 | { "Lohit Marathi", 0x0eb0a941, false, false }, |
| 34 | { "Lohit Oriya", 0xf3e9d313, false, false }, |
| 35 | { "Lohit Punjabi", 0xfd8b26e0, false, false }, |
| 36 | { "Lohit Tamil", 0x83a29565, false, false }, |
| 37 | { "Lohit Telugu", 0x11424bd0, false, false }, |
| 38 | { "Meera", 0xe3e16220, false, false }, |
| 39 | { "Mukti Narrow", 0x53f7d053, false, false }, |
| 40 | { "NanumBarunGothic", 0x859e77ea, false, false }, |
| 41 | { "NanumGothic", 0x9edbcdb8, false, false }, |
| 42 | { "OpenSymbol", 0xd3d743df, false, false }, |
| 43 | { "Symbola", 0xfa80f2ab, false, false }, |
| 44 | { "TakaoPGothic", 0x068c405a, false, false }, |
| 45 | { "Waree", 0x036e4fa4, false, false }, |
| 46 | { "WenQuanYi Micro Hei", 0xfea8587c, false, false }, |
| 47 | { "padmaa", 0x09eb1865, false, false }, |
| 48 | }; |
| 49 | |
| 50 | static const int whitelistCount = (int) SK_ARRAY_COUNT(whitelist); |