Use `Control_Type' to handle different segment directions.
[ttfautohint.git] / lib / ttfautohint-scripts.h
blob500239da47d20a2964a401d2a9f146e70d8be99a
1 /* ttfautohint-scripts.h */
3 /*
4 * Copyright (C) 2013-2014 by Werner Lemberg.
6 * This file is part of the ttfautohint library, and may only be used,
7 * modified, and distributed under the terms given in `COPYING'. By
8 * continuing to use, modify, or distribute this file you indicate that you
9 * have read `COPYING' and understand and accept it fully.
11 * The file `COPYING' mentioned in the previous paragraph is distributed
12 * with the ttfautohint library.
16 /* originally file `afscript.h' (2013-Aug-05) from FreeType */
19 /* The following part can be included multiple times. */
20 /* Define `SCRIPT' as needed. */
24 * Add new scripts here. The first and second arguments are the
25 * script name in lowercase and uppercase, respectively, followed
26 * by a description string. Then comes the corresponding HarfBuzz
27 * script name tag, followed by the default character (to derive
28 * the standard width of stems).
31 SCRIPT(cyrl, CYRL,
32 "Cyrillic",
33 HB_SCRIPT_CYRILLIC,
34 0x43E, 0x41E, 0x0) /* оО */
36 SCRIPT(deva, DEVA,
37 "Devanagari",
38 HB_SCRIPT_DEVANAGARI,
39 0x920, 0x935, 0x91F) /* ठ व ट */
41 SCRIPT(grek, GREK,
42 "Greek",
43 HB_SCRIPT_GREEK,
44 0x3BF, 0x39F, 0x0) /* οΟ */
46 SCRIPT(hebr, HEBR,
47 "Hebrew",
48 HB_SCRIPT_HEBREW,
49 0x5DD, 0x0, 0x0) /* ם */
51 SCRIPT(latn, LATN,
52 "Latin",
53 HB_SCRIPT_LATIN,
54 'o', 'O', '0')
56 SCRIPT(none, NONE,
57 "no script",
58 HB_SCRIPT_INVALID,
59 0x0, 0x0, 0x0)
61 /* end of ttfautohint-scripts.h */