2013-08-02 20:25:21 +02:00
|
|
|
|
/***************************************************************************/
|
|
|
|
|
/* */
|
|
|
|
|
/* afscript.h */
|
|
|
|
|
/* */
|
|
|
|
|
/* Auto-fitter scripts (specification only). */
|
|
|
|
|
/* */
|
2015-01-17 20:41:43 +01:00
|
|
|
|
/* Copyright 2013-2015 by */
|
2013-08-02 20:25:21 +02:00
|
|
|
|
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
|
|
|
|
/* */
|
|
|
|
|
/* This file is part of the FreeType project, and may only be used, */
|
|
|
|
|
/* modified, and distributed under the terms of the FreeType project */
|
|
|
|
|
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
|
|
|
|
|
/* this file you indicate that you have read the license and */
|
|
|
|
|
/* understand and accept it fully. */
|
|
|
|
|
/* */
|
|
|
|
|
/***************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* The following part can be included multiple times. */
|
|
|
|
|
/* Define `SCRIPT' as needed. */
|
|
|
|
|
|
|
|
|
|
|
2014-01-26 09:45:23 +01:00
|
|
|
|
/* Add new scripts here. The first and second arguments are the */
|
|
|
|
|
/* script name in lowercase and uppercase, respectively, followed */
|
|
|
|
|
/* by a description string. Then comes the corresponding HarfBuzz */
|
|
|
|
|
/* script name tag, followed by a string of standard characters (to */
|
|
|
|
|
/* derive the standard width and height of stems). */
|
2013-08-02 20:25:21 +02:00
|
|
|
|
|
2013-12-19 15:45:24 +01:00
|
|
|
|
SCRIPT( cyrl, CYRL,
|
|
|
|
|
"Cyrillic",
|
2013-12-21 21:31:38 +01:00
|
|
|
|
HB_SCRIPT_CYRILLIC,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
0x43E, 0x41E, 0x0 ) /* оО */
|
2013-12-19 15:45:24 +01:00
|
|
|
|
|
2014-05-01 17:24:19 +02:00
|
|
|
|
SCRIPT( deva, DEVA,
|
|
|
|
|
"Devanagari",
|
|
|
|
|
HB_SCRIPT_DEVANAGARI,
|
|
|
|
|
0x920, 0x935, 0x91F ) /* ठ व ट */
|
|
|
|
|
|
2013-12-19 15:45:24 +01:00
|
|
|
|
SCRIPT( grek, GREK,
|
|
|
|
|
"Greek",
|
2013-12-21 21:31:38 +01:00
|
|
|
|
HB_SCRIPT_GREEK,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
0x3BF, 0x39F, 0x0 ) /* οΟ */
|
2013-12-19 15:45:24 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( hebr, HEBR,
|
|
|
|
|
"Hebrew",
|
2013-12-21 21:31:38 +01:00
|
|
|
|
HB_SCRIPT_HEBREW,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
0x5DD, 0x0, 0x0 ) /* ם */
|
2013-12-19 15:45:24 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( latn, LATN,
|
|
|
|
|
"Latin",
|
2013-12-21 21:31:38 +01:00
|
|
|
|
HB_SCRIPT_LATIN,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 'O', '0' )
|
2013-12-19 15:45:24 +01:00
|
|
|
|
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
SCRIPT( none, NONE,
|
|
|
|
|
"no script",
|
|
|
|
|
HB_SCRIPT_INVALID,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
0x0, 0x0, 0x0 )
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
2014-10-18 11:01:14 +02:00
|
|
|
|
/* there are no simple forms for letters; we thus use two digit shapes */
|
|
|
|
|
SCRIPT( telu, TELU,
|
|
|
|
|
"Telugu",
|
|
|
|
|
HB_SCRIPT_TELUGU,
|
|
|
|
|
0xC66, 0xC67, 0x0 ) /* ౦ ౧ */
|
|
|
|
|
|
2015-01-31 11:01:33 +01:00
|
|
|
|
SCRIPT( thai, THAI,
|
|
|
|
|
"Thai",
|
|
|
|
|
HB_SCRIPT_THAI,
|
|
|
|
|
0xE32, 0xE45, 0xE50 ) /* า ๅ ๐ */
|
|
|
|
|
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
#ifdef AF_CONFIG_OPTION_INDIC
|
|
|
|
|
|
|
|
|
|
SCRIPT( beng, BENG,
|
|
|
|
|
"Bengali",
|
|
|
|
|
HB_SCRIPT_BENGALI,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( gujr, GUJR,
|
|
|
|
|
"Gujarati",
|
|
|
|
|
HB_SCRIPT_GUJARATI,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( guru, GURU,
|
|
|
|
|
"Gurmukhi",
|
|
|
|
|
HB_SCRIPT_GURMUKHI,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( knda, KNDA,
|
|
|
|
|
"Kannada",
|
|
|
|
|
HB_SCRIPT_KANNADA,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( limb, LIMB,
|
|
|
|
|
"Limbu",
|
|
|
|
|
HB_SCRIPT_LIMBU,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( mlym, MLYM,
|
|
|
|
|
"Malayalam",
|
|
|
|
|
HB_SCRIPT_MALAYALAM,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( orya, ORYA,
|
|
|
|
|
"Oriya",
|
|
|
|
|
HB_SCRIPT_ORIYA,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( sinh, SINH,
|
|
|
|
|
"Sinhala",
|
|
|
|
|
HB_SCRIPT_SINHALA,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( sund, SUND,
|
|
|
|
|
"Sundanese",
|
|
|
|
|
HB_SCRIPT_SUNDANESE,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( sylo, SYLO,
|
|
|
|
|
"Syloti Nagri",
|
|
|
|
|
HB_SCRIPT_SYLOTI_NAGRI,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( taml, TAML,
|
|
|
|
|
"Tamil",
|
|
|
|
|
HB_SCRIPT_TAMIL,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
SCRIPT( tibt, TIBT,
|
|
|
|
|
"Tibetan",
|
|
|
|
|
HB_SCRIPT_TIBETAN,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
'o', 0x0, 0x0 ) /* XXX */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
#endif /* AF_CONFIG_OPTION_INDIC */
|
|
|
|
|
|
|
|
|
|
#ifdef AF_CONFIG_OPTION_CJK
|
|
|
|
|
|
|
|
|
|
SCRIPT( hani, HANI,
|
|
|
|
|
"CJKV ideographs",
|
|
|
|
|
HB_SCRIPT_HAN,
|
2014-01-26 09:45:23 +01:00
|
|
|
|
0x7530, 0x56D7, 0x0 ) /* 田囗 */
|
[autofit] Fix Indic scripts.
Split the single, incorrect Indic entry into separate scripts so
that the covered ranges are the same: Bengali, Devanagari, Gujarati,
Gurmukhi, Kannada, Limbu, Malayalam, Oriya, Sinhala, Sundanese,
Syloti Nagri, Tamil, Telugu, and Tibetan. At the same time, remove
entries for Meetai Mayak and Sharada – the Unicode ranges were
incorrect (and nobody has complained about that), fonts are scarce
for those scripts, and the Indic auto-hinter support is rudimentary
anyways.
* src/autofit/afscript.h: Updated, using AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK.
* src/autofit/afstyles.h (STYLE_DEFAULT_INDIC): New auxiliary macro.
Use it, together with AF_CONFIG_OPTION_INDIC and
AF_CONFIG_OPTION_CJK, to update.
* src/autofit/afranges.c [AF_CONFIG_OPTION_INDIC]: Updated.
[!AF_CONFIG_OPTION_INDIC, !AF_CONFIG_OPTION_CJK]: Removed.
Sort entries by tags.
2014-01-04 11:46:34 +01:00
|
|
|
|
|
|
|
|
|
#endif /* AF_CONFIG_OPTION_CJK */
|
|
|
|
|
|
2013-08-02 20:25:21 +02:00
|
|
|
|
|
|
|
|
|
/* END */
|