1 /***************************************************************************/
2 /*                                                                         */
3 /*  afscript.h                                                             */
4 /*                                                                         */
5 /*    Auto-fitter scripts (specification only).                            */
6 /*                                                                         */
7 /*  Copyright 2013, 2014 by                                                */
8 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
9 /*                                                                         */
10 /*  This file is part of the FreeType project, and may only be used,       */
11 /*  modified, and distributed under the terms of the FreeType project      */
12 /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
13 /*  this file you indicate that you have read the license and              */
14 /*  understand and accept it fully.                                        */
15 /*                                                                         */
16 /***************************************************************************/
17 
18 
19   /* The following part can be included multiple times. */
20   /* Define `SCRIPT' as needed.                         */
21 
22 
23   /* Add new scripts here.  The first and second arguments are the    */
24   /* script name in lowercase and uppercase, respectively, followed   */
25   /* by a description string.  Then comes the corresponding HarfBuzz  */
26   /* script name tag, followed by a string of standard characters (to */
27   /* derive the standard width and height of stems).                  */
28 
29   SCRIPT( cyrl, CYRL,
30           "Cyrillic",
31           HB_SCRIPT_CYRILLIC,
32           0x43E, 0x41E, 0x0 ) /* оО */
33 
34   SCRIPT( grek, GREK,
35           "Greek",
36           HB_SCRIPT_GREEK,
37           0x3BF, 0x39F, 0x0 ) /* οΟ */
38 
39   SCRIPT( hebr, HEBR,
40           "Hebrew",
41           HB_SCRIPT_HEBREW,
42           0x5DD, 0x0, 0x0 ) /* ם */
43 
44   SCRIPT( latn, LATN,
45           "Latin",
46           HB_SCRIPT_LATIN,
47           'o', 'O', '0' )
48 
49   SCRIPT( none, NONE,
50           "no script",
51           HB_SCRIPT_INVALID,
52           0x0, 0x0, 0x0 )
53 
54 #ifdef AF_CONFIG_OPTION_INDIC
55 
56   SCRIPT( beng, BENG,
57           "Bengali",
58           HB_SCRIPT_BENGALI,
59           'o', 0x0, 0x0 ) /* XXX */
60 
61   SCRIPT( deva, DEVA,
62           "Devanagari",
63           HB_SCRIPT_DEVANAGARI,
64           'o', 0x0, 0x0 ) /* XXX */
65 
66   SCRIPT( gujr, GUJR,
67           "Gujarati",
68           HB_SCRIPT_GUJARATI,
69           'o', 0x0, 0x0 ) /* XXX */
70 
71   SCRIPT( guru, GURU,
72           "Gurmukhi",
73           HB_SCRIPT_GURMUKHI,
74           'o', 0x0, 0x0 ) /* XXX */
75 
76   SCRIPT( knda, KNDA,
77           "Kannada",
78           HB_SCRIPT_KANNADA,
79           'o', 0x0, 0x0 ) /* XXX */
80 
81   SCRIPT( limb, LIMB,
82           "Limbu",
83           HB_SCRIPT_LIMBU,
84           'o', 0x0, 0x0 ) /* XXX */
85 
86   SCRIPT( mlym, MLYM,
87           "Malayalam",
88           HB_SCRIPT_MALAYALAM,
89           'o', 0x0, 0x0 ) /* XXX */
90 
91   SCRIPT( orya, ORYA,
92           "Oriya",
93           HB_SCRIPT_ORIYA,
94           'o', 0x0, 0x0 ) /* XXX */
95 
96   SCRIPT( sinh, SINH,
97           "Sinhala",
98           HB_SCRIPT_SINHALA,
99           'o', 0x0, 0x0 ) /* XXX */
100 
101   SCRIPT( sund, SUND,
102           "Sundanese",
103           HB_SCRIPT_SUNDANESE,
104           'o', 0x0, 0x0 ) /* XXX */
105 
106   SCRIPT( sylo, SYLO,
107           "Syloti Nagri",
108           HB_SCRIPT_SYLOTI_NAGRI,
109           'o', 0x0, 0x0 ) /* XXX */
110 
111   SCRIPT( taml, TAML,
112           "Tamil",
113           HB_SCRIPT_TAMIL,
114           'o', 0x0, 0x0 ) /* XXX */
115 
116   SCRIPT( telu, TELU,
117           "Telugu",
118           HB_SCRIPT_TELUGU,
119           'o', 0x0, 0x0 ) /* XXX */
120 
121   SCRIPT( tibt, TIBT,
122           "Tibetan",
123           HB_SCRIPT_TIBETAN,
124           'o', 0x0, 0x0 ) /* XXX */
125 
126 #endif /* AF_CONFIG_OPTION_INDIC */
127 
128 #ifdef AF_CONFIG_OPTION_CJK
129 
130   SCRIPT( hani, HANI,
131           "CJKV ideographs",
132           HB_SCRIPT_HAN,
133           0x7530, 0x56D7, 0x0 ) /* 田囗 */
134 
135 #endif /* AF_CONFIG_OPTION_CJK */
136 
137 
138 /* END */
139