Synchronize with FreeType.
[ttfautohint.git] / lib / taranges.c
blob3dac43a70399561ab7c94129521ee2a8880383bb
1 /* taranges.c */
3 /*
4 * Copyright (C) 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 `afranges.c' (2014-Jan-11) from FreeType */
18 /* heavily modified 2014 by Werner Lemberg <wl@gnu.org> */
20 #include "taranges.h"
23 const TA_Script_UniRangeRec ta_cyrl_uniranges[] =
25 TA_UNIRANGE_REC(0x0400UL, 0x04FFUL), /* Cyrillic */
26 TA_UNIRANGE_REC(0x0500UL, 0x052FUL), /* Cyrillic Supplement */
27 TA_UNIRANGE_REC(0x2DE0UL, 0x2DFFUL), /* Cyrillic Extended-A */
28 TA_UNIRANGE_REC(0xA640UL, 0xA69FUL), /* Cyrillic Extended-B */
29 TA_UNIRANGE_REC( 0UL, 0UL)
32 /* there are some characters in the Devanagari Unicode block that are */
33 /* generic to Indic scripts; we omit them so that their presence doesn't */
34 /* trigger Devanagari */
36 const TA_Script_UniRangeRec ta_deva_uniranges[] =
38 TA_UNIRANGE_REC(0x0900UL, 0x093BUL), /* Devanagari */
39 /* omitting U+093C nukta */
40 TA_UNIRANGE_REC(0x093DUL, 0x0950UL),
41 /* omitting U+0951 udatta, U+0952 anudatta */
42 TA_UNIRANGE_REC(0x0953UL, 0x0963UL),
43 /* omitting U+0964 danda, U+0965 double danda */
44 TA_UNIRANGE_REC(0x0966UL, 0x097FUL),
45 TA_UNIRANGE_REC(0x20B9UL, 0x20B9UL), /* (new) Rupee sign */
46 TA_UNIRANGE_REC( 0UL, 0UL)
49 const TA_Script_UniRangeRec ta_grek_uniranges[] =
51 TA_UNIRANGE_REC(0x0370UL, 0x03FFUL), /* Greek and Coptic */
52 TA_UNIRANGE_REC(0x1F00UL, 0x1FFFUL), /* Greek Extended */
53 TA_UNIRANGE_REC( 0UL, 0UL)
56 const TA_Script_UniRangeRec ta_hebr_uniranges[] =
58 TA_UNIRANGE_REC(0x0590UL, 0x05FFUL), /* Hebrew */
59 TA_UNIRANGE_REC(0xFB1DUL, 0xFB4FUL), /* Alphab. Present. Forms (Hebrew) */
60 TA_UNIRANGE_REC( 0UL, 0UL)
63 const TA_Script_UniRangeRec ta_latn_uniranges[] =
65 TA_UNIRANGE_REC( 0x0020UL, 0x007FUL), /* Basic Latin (no control chars) */
66 TA_UNIRANGE_REC( 0x00A0UL, 0x00FFUL), /* Latin-1 Supplement (no control chars) */
67 TA_UNIRANGE_REC( 0x0100UL, 0x017FUL), /* Latin Extended-A */
68 TA_UNIRANGE_REC( 0x0180UL, 0x024FUL), /* Latin Extended-B */
69 TA_UNIRANGE_REC( 0x0250UL, 0x02AFUL), /* IPA Extensions */
70 TA_UNIRANGE_REC( 0x02B0UL, 0x02FFUL), /* Spacing Modifier Letters */
71 TA_UNIRANGE_REC( 0x0300UL, 0x036FUL), /* Combining Diacritical Marks */
72 TA_UNIRANGE_REC( 0x1D00UL, 0x1D7FUL), /* Phonetic Extensions */
73 TA_UNIRANGE_REC( 0x1D80UL, 0x1DBFUL), /* Phonetic Extensions Supplement */
74 TA_UNIRANGE_REC( 0x1DC0UL, 0x1DFFUL), /* Combining Diacritical Marks Supplement */
75 TA_UNIRANGE_REC( 0x1E00UL, 0x1EFFUL), /* Latin Extended Additional */
76 TA_UNIRANGE_REC( 0x2000UL, 0x206FUL), /* General Punctuation */
77 TA_UNIRANGE_REC( 0x2070UL, 0x209FUL), /* Superscripts and Subscripts */
78 TA_UNIRANGE_REC( 0x20A0UL, 0x20B8UL), /* Currency Symbols ... */
79 TA_UNIRANGE_REC( 0x20BAUL, 0x20CFUL), /* ... except new Rupee sign */
80 TA_UNIRANGE_REC( 0x2150UL, 0x218FUL), /* Number Forms */
81 TA_UNIRANGE_REC( 0x2460UL, 0x24FFUL), /* Enclosed Alphanumerics */
82 TA_UNIRANGE_REC( 0x2C60UL, 0x2C7FUL), /* Latin Extended-C */
83 TA_UNIRANGE_REC( 0x2E00UL, 0x2E7FUL), /* Supplemental Punctuation */
84 TA_UNIRANGE_REC( 0xA720UL, 0xA7FFUL), /* Latin Extended-D */
85 TA_UNIRANGE_REC( 0xFB00UL, 0xFB06UL), /* Alphab. Present. Forms (Latin Ligs) */
86 TA_UNIRANGE_REC(0x1D400UL, 0x1D7FFUL), /* Mathematical Alphanumeric Symbols */
87 TA_UNIRANGE_REC(0x1F100UL, 0x1F1FFUL), /* Enclosed Alphanumeric Supplement */
88 TA_UNIRANGE_REC( 0UL, 0UL)
91 const TA_Script_UniRangeRec ta_telu_uniranges[] =
93 TA_UNIRANGE_REC(0x0C00UL, 0x0C7FUL), /* Telugu */
94 TA_UNIRANGE_REC( 0UL, 0UL)
97 const TA_Script_UniRangeRec ta_none_uniranges[] =
99 TA_UNIRANGE_REC(0UL, 0UL)
102 /* end of taranges.c */