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.inc. |
8 | * Run 'whitelist_typefaces --generate' to create anew. |
9 | */ |
10 | |
11 | #include "include/private/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" , 0x639a35c7, false, false }, |
22 | { "Analecta" , 0x639a35c7, false, false }, |
23 | { "Arial" , 0xbc28cb14, false, false }, |
24 | { "DejaVu Sans" , 0x639a35c7, false, false }, |
25 | { "DejaVu Sans Mono" , 0xbc29a5d9, false, false }, |
26 | { "DejaVu Serif" , 0x9db67efe, false, false }, |
27 | { "FreeMono" , 0x724884f4, false, false }, |
28 | { "FreeSans" , 0x7dfc48a3, false, false }, |
29 | { "FreeSerif" , 0xa1ae8c77, false, false }, |
30 | { "Khmer OS" , 0x917c40aa, false, false }, |
31 | { "Kochi Gothic" , 0x962132dd, false, false }, |
32 | { "Lohit Kannada" , 0x0b6ce863, false, false }, |
33 | { "Lohit Marathi" , 0x0eb0a941, false, false }, |
34 | { "Lohit Oriya" , 0xf3e9d313, false, false }, |
35 | { "Lohit Punjabi" , 0xfd8b26e0, false, false }, |
36 | { "Lohit Tamil" , 0xa8111d99, false, false }, |
37 | { "Lohit Telugu" , 0xd34299e0, false, false }, |
38 | { "Meera" , 0xe3e16220, false, false }, |
39 | { "Mukti Narrow" , 0x53f7d053, false, false }, |
40 | { "NanumBarunGothic" , 0x639a35c7, false, false }, |
41 | { "NanumGothic" , 0xff8d773d, false, false }, |
42 | { "OpenSymbol" , 0x4fcaf331, false, false }, |
43 | { "Symbola" , 0x639a35c7, false, false }, |
44 | { "TakaoPGothic" , 0x068c405a, false, false }, |
45 | { "Waree" , 0x6a2bfca8, false, false }, |
46 | { "WenQuanYi Micro Hei" , 0xcdec08a3, false, false }, |
47 | { "padmaa" , 0x09eb1865, false, false }, |
48 | }; |
49 | |
50 | static const int whitelistCount = (int) SK_ARRAY_COUNT(whitelist); |
51 | |