1 /* ttfautohint-scripts.h */
4 * Copyright (C) 2013-2016 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 characters (to derive
28 * the standard width of stems).
30 * Note that fallback scripts only have a default style, thus we
31 * use `HB_SCRIPT_INVALID' as the HarfBuzz script name tag for
38 HINTING_BOTTOM_TO_TOP
,
39 "\xD9\x84 \xD8\xAD \xD9\x80") /* ل ح ـ */
41 /* there are no simple forms for letters; we thus use two digit shapes */
45 HINTING_TOP_TO_BOTTOM
,
46 "\xE0\xA7\xA6 \xE0\xA7\xAA") /* ০ ৪*/
51 HINTING_BOTTOM_TO_TOP
,
52 "\xD0\xBE \xD0\x9E") /* о О */
57 HINTING_TOP_TO_BOTTOM
,
58 "\xE0\xA4\xA0 \xE0\xA4\xB5 \xE0\xA4\x9F") /* ठ व ट */
63 HINTING_BOTTOM_TO_TOP
,
64 "\xCE\xBF \xCE\x9F") /* ο Ο */
69 HINTING_BOTTOM_TO_TOP
,
75 HINTING_BOTTOM_TO_TOP
,
76 "\xE0\xB3\xA6 \xE0\xB2\xAC") /* ೦ ಬ */
78 /* only digit zero has a simple shape in the Khmer script */
82 HINTING_BOTTOM_TO_TOP
,
83 "\xE1\x9F\xA0") /* ០ */
88 HINTING_BOTTOM_TO_TOP
,
89 "\xE1\xA7\xA1 \xE1\xA7\xAA") /* ᧡ ᧪ */
91 /* only digit zero has a simple shape in the Lao script */
95 HINTING_BOTTOM_TO_TOP
,
96 "\xE0\xBB\x90") /* ໐ */
101 HINTING_BOTTOM_TO_TOP
,
105 "Latin Subscript Fallback",
107 HINTING_BOTTOM_TO_TOP
,
108 "\xE2\x82\x92 \xE2\x82\x80") /* ₒ ₀ */
111 "Latin Superscript Fallback",
113 HINTING_BOTTOM_TO_TOP
,
114 "\xE1\xB5\x92 \xE1\xB4\xBC \xE2\x81\xB0") /* ᵒ ᴼ ⁰ */
119 HINTING_BOTTOM_TO_TOP
,
120 "\xE0\xB4\xA0 \xE0\xB4\xB1") /* ഠ റ */
125 HINTING_BOTTOM_TO_TOP
,
126 "\xE1\x80\x9D \xE1\x80\x84 \xE1\x80\x82") /* ဝ င ဂ */
131 HINTING_BOTTOM_TO_TOP
,
132 "\xE0\xB6\xA7") /* ට */
134 /* only digit zero has a simple (round) shape in the Tamil script */
138 HINTING_BOTTOM_TO_TOP
,
139 "\xE0\xAF\xA6") /* ௦ */
141 /* there are no simple forms for letters; we thus use two digit shapes */
145 HINTING_BOTTOM_TO_TOP
,
146 "\xE0\xB1\xA6 \xE0\xB1\xA7") /* ౦ ౧ */
151 HINTING_BOTTOM_TO_TOP
,
152 "\xE0\xB8\xB2 \xE0\xB9\x85 \xE0\xB9\x90") /* า ๅ ๐ */
157 HINTING_BOTTOM_TO_TOP
,
160 /* end of ttfautohint-scripts.h */