@ -4,7 +4,7 @@
/* */
/* Auto-fitter Unicode script ranges (body). */
/* */
/* Copyright 2013 by */
/* Copyright 2013, 2014 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -19,9 +19,6 @@
# include "afranges.h"
/* XXX: this should probably fine tuned to differentiate better between */
/* scripts... */
const AF_Script_UniRangeRec af_cyrl_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0400UL , 0x04FFUL ) , /* Cyrillic */
@ -31,36 +28,140 @@
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_grek_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0370UL , 0x03FFUL ) , /* Greek and Coptic */
AF_UNIRANGE_REC ( 0x1F00UL , 0x1FFFUL ) , /* Greek Extended */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_hebr_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0590UL , 0x05FFUL ) , /* Hebrew */
AF_UNIRANGE_REC ( 0xFB1DUL , 0xFB4FUL ) , /* Alphab. Present. Forms (Hebrew) */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_latn_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0020UL , 0x007FUL ) , /* Basic Latin (no control chars) */
AF_UNIRANGE_REC ( 0x00A0UL , 0x00FFUL ) , /* Latin-1 Supplement (no control chars) */
AF_UNIRANGE_REC ( 0x0100UL , 0x017FUL ) , /* Latin Extended-A */
AF_UNIRANGE_REC ( 0x0180UL , 0x024FUL ) , /* Latin Extended-B */
AF_UNIRANGE_REC ( 0x0250UL , 0x02AFUL ) , /* IPA Extensions */
AF_UNIRANGE_REC ( 0x02B0UL , 0x02FFUL ) , /* Spacing Modifier Letters */
AF_UNIRANGE_REC ( 0x0300UL , 0x036FUL ) , /* Combining Diacritical Marks */
AF_UNIRANGE_REC ( 0x1D00UL , 0x1D7FUL ) , /* Phonetic Extensions */
AF_UNIRANGE_REC ( 0x1D80UL , 0x1DBFUL ) , /* Phonetic Extensions Supplement */
AF_UNIRANGE_REC ( 0x1DC0UL , 0x1DFFUL ) , /* Combining Diacritical Marks Supplement */
AF_UNIRANGE_REC ( 0x1E00UL , 0x1EFFUL ) , /* Latin Extended Additional */
AF_UNIRANGE_REC ( 0x2000UL , 0x206FUL ) , /* General Punctuation */
AF_UNIRANGE_REC ( 0x2070UL , 0x209FUL ) , /* Superscripts and Subscripts */
AF_UNIRANGE_REC ( 0x20A0UL , 0x20CFUL ) , /* Currency Symbols */
AF_UNIRANGE_REC ( 0x2150UL , 0x218FUL ) , /* Number Forms */
AF_UNIRANGE_REC ( 0x2460UL , 0x24FFUL ) , /* Enclosed Alphanumerics */
AF_UNIRANGE_REC ( 0x2C60UL , 0x2C7FUL ) , /* Latin Extended-C */
AF_UNIRANGE_REC ( 0x2E00UL , 0x2E7FUL ) , /* Supplemental Punctuation */
AF_UNIRANGE_REC ( 0xA720UL , 0xA7FFUL ) , /* Latin Extended-D */
AF_UNIRANGE_REC ( 0xFB00UL , 0xFB06UL ) , /* Alphab. Present. Forms (Latin Ligs) */
AF_UNIRANGE_REC ( 0x1D400UL , 0x1D7FFUL ) , /* Mathematical Alphanumeric Symbols */
AF_UNIRANGE_REC ( 0x1F100UL , 0x1F1FFUL ) , /* Enclosed Alphanumeric Supplement */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_none_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
# ifdef AF_CONFIG_OPTION_INDIC
const AF_Script_UniRangeRec af_beng_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0980UL , 0x09FFUL ) , /* Bengali */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_deva_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0900UL , 0x0DFFUL ) , /* Indic Range */
AF_UNIRANGE_REC ( 0x0F00UL , 0x0FFFUL ) , /* Tibetan */
AF_UNIRANGE_REC ( 0x1900UL , 0x194FUL ) , /* Limbu */
AF_UNIRANGE_REC ( 0x1B80UL , 0x1BBFUL ) , /* Sundanese */
AF_UNIRANGE_REC ( 0x1C80UL , 0x1CDFUL ) , /* Meetei Mayak */
AF_UNIRANGE_REC ( 0xA800UL , 0xA82FUL ) , /* Syloti Nagri */
AF_UNIRANGE_REC ( 0x11800UL , 0x118DFUL ) , /* Sharada */
AF_UNIRANGE_REC ( 0x0900UL , 0x097FUL ) , /* Devanagari */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_gujr_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0A80UL , 0x0AFFUL ) , /* Gujarati */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
# else /* !AF_CONFIG_OPTION_INDIC */
const AF_Script_UniRangeRec af_guru_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0A00UL , 0x0A7FUL ) , /* Gurmukhi */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_deva_uniranges [ ] =
const AF_Script_UniRangeRec af_kn da_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0UL , 0UL )
AF_UNIRANGE_REC ( 0x0C80UL , 0x0CFFUL ) , /* Kannada */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
# endif /* !AF_CONFIG_OPTION_INDIC */
const AF_Script_UniRangeRec af_limb_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x1900UL , 0x194FUL ) , /* Limbu */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_grek_uniranges [ ] =
const AF_Script_UniRangeRec af_mlym _uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0370UL , 0x03FFUL ) , /* Greek and Coptic */
AF_UNIRANGE_REC ( 0x1F00UL , 0x1FFFUL ) , /* Greek Extended */
AF_UNIRANGE_REC ( 0x0D00UL , 0x0D7FUL ) , /* Malayalam */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_orya_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0B00UL , 0x0B7FUL ) , /* Oriya */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_sinh_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0D80UL , 0x0DFFUL ) , /* Sinhala */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_sund_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x1B80UL , 0x1BBFUL ) , /* Sundanese */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_sylo_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0xA800UL , 0xA82FUL ) , /* Syloti Nagri */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_taml_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0B80UL , 0x0BFFUL ) , /* Tamil */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_telu_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0C00UL , 0x0C7FUL ) , /* Telugu */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_tibt_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0F00UL , 0x0FFFUL ) , /* Tibetan */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
# endif /* !AF_CONFIG_OPTION_INDIC */
# ifdef AF_CONFIG_OPTION_CJK
/* this corresponds to Unicode 6.0 */
@ -102,53 +203,6 @@
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
# else /* !AF_CONFIG_OPTION_CJK */
const AF_Script_UniRangeRec af_hani_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
# endif /* !AF_CONFIG_OPTION_CJK */
const AF_Script_UniRangeRec af_hebr_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0590UL , 0x05FFUL ) , /* Hebrew */
AF_UNIRANGE_REC ( 0xFB1DUL , 0xFB4FUL ) , /* Alphab. Present. Forms (Hebrew) */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_latn_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0x0020UL , 0x007FUL ) , /* Basic Latin (no control chars) */
AF_UNIRANGE_REC ( 0x00A0UL , 0x00FFUL ) , /* Latin-1 Supplement (no control chars) */
AF_UNIRANGE_REC ( 0x0100UL , 0x017FUL ) , /* Latin Extended-A */
AF_UNIRANGE_REC ( 0x0180UL , 0x024FUL ) , /* Latin Extended-B */
AF_UNIRANGE_REC ( 0x0250UL , 0x02AFUL ) , /* IPA Extensions */
AF_UNIRANGE_REC ( 0x02B0UL , 0x02FFUL ) , /* Spacing Modifier Letters */
AF_UNIRANGE_REC ( 0x0300UL , 0x036FUL ) , /* Combining Diacritical Marks */
AF_UNIRANGE_REC ( 0x1D00UL , 0x1D7FUL ) , /* Phonetic Extensions */
AF_UNIRANGE_REC ( 0x1D80UL , 0x1DBFUL ) , /* Phonetic Extensions Supplement */
AF_UNIRANGE_REC ( 0x1DC0UL , 0x1DFFUL ) , /* Combining Diacritical Marks Supplement */
AF_UNIRANGE_REC ( 0x1E00UL , 0x1EFFUL ) , /* Latin Extended Additional */
AF_UNIRANGE_REC ( 0x2000UL , 0x206FUL ) , /* General Punctuation */
AF_UNIRANGE_REC ( 0x2070UL , 0x209FUL ) , /* Superscripts and Subscripts */
AF_UNIRANGE_REC ( 0x20A0UL , 0x20CFUL ) , /* Currency Symbols */
AF_UNIRANGE_REC ( 0x2150UL , 0x218FUL ) , /* Number Forms */
AF_UNIRANGE_REC ( 0x2460UL , 0x24FFUL ) , /* Enclosed Alphanumerics */
AF_UNIRANGE_REC ( 0x2C60UL , 0x2C7FUL ) , /* Latin Extended-C */
AF_UNIRANGE_REC ( 0x2E00UL , 0x2E7FUL ) , /* Supplemental Punctuation */
AF_UNIRANGE_REC ( 0xA720UL , 0xA7FFUL ) , /* Latin Extended-D */
AF_UNIRANGE_REC ( 0xFB00UL , 0xFB06UL ) , /* Alphab. Present. Forms (Latin Ligs) */
AF_UNIRANGE_REC ( 0x1D400UL , 0x1D7FFUL ) , /* Mathematical Alphanumeric Symbols */
AF_UNIRANGE_REC ( 0x1F100UL , 0x1F1FFUL ) , /* Enclosed Alphanumeric Supplement */
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
const AF_Script_UniRangeRec af_none_uniranges [ ] =
{
AF_UNIRANGE_REC ( 0UL , 0UL )
} ;
/* END */