2013-08-02 20:25:21 +02:00
|
|
|
|
/***************************************************************************/
|
|
|
|
|
/* */
|
|
|
|
|
/* afscript.h */
|
|
|
|
|
/* */
|
|
|
|
|
/* Auto-fitter scripts (specification only). */
|
|
|
|
|
/* */
|
2016-01-13 11:54:10 +01:00
|
|
|
|
/* Copyright 2013-2016 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). */
|
2015-09-04 10:28:53 +02:00
|
|
|
|
/* */
|
|
|
|
|
/* Note that fallback scripts only have a default style, thus we */
|
|
|
|
|
/* use `HB_SCRIPT_INVALID' as the HarfBuzz script name tag for */
|
|
|
|
|
/* them. */
|
2013-08-02 20:25:21 +02:00
|
|
|
|
|
2015-03-11 16:45:58 +01:00
|
|
|
|
SCRIPT( arab, ARAB,
|
|
|
|
|
"Arabic",
|
|
|
|
|
HB_SCRIPT_ARABIC,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"\xD9\x84 \xD8\xAD \xD9\x80" ) /* ل ح ـ */
|
2015-03-11 16:45:58 +01:00
|
|
|
|
|
2016-05-24 18:27:18 +02:00
|
|
|
|
SCRIPT( armn, ARMN,
|
|
|
|
|
"Armenian",
|
|
|
|
|
HB_SCRIPT_ARMENIAN,
|
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
|
|
|
|
"\xD6\x85 \xD5\x95" ) /* օ Օ */
|
|
|
|
|
|
2015-12-15 17:53:46 +01:00
|
|
|
|
/* there are no simple forms for letters; we thus use two digit shapes */
|
|
|
|
|
SCRIPT( beng, BENG,
|
|
|
|
|
"Bengali",
|
|
|
|
|
HB_SCRIPT_BENGALI,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_TOP_TO_BOTTOM,
|
2015-12-15 17:53:46 +01:00
|
|
|
|
"\xE0\xA7\xA6 \xE0\xA7\xAA" ) /* ০ ৪*/
|
|
|
|
|
|
2013-12-19 15:45:24 +01:00
|
|
|
|
SCRIPT( cyrl, CYRL,
|
|
|
|
|
"Cyrillic",
|
2013-12-21 21:31:38 +01:00
|
|
|
|
HB_SCRIPT_CYRILLIC,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"\xD0\xBE \xD0\x9E" ) /* о О */
|
2013-12-19 15:45:24 +01:00
|
|
|
|
|
2014-05-01 17:24:19 +02:00
|
|
|
|
SCRIPT( deva, DEVA,
|
|
|
|
|
"Devanagari",
|
|
|
|
|
HB_SCRIPT_DEVANAGARI,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_TOP_TO_BOTTOM,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"\xE0\xA4\xA0 \xE0\xA4\xB5 \xE0\xA4\x9F" ) /* ठ व ट */
|
2014-05-01 17:24:19 +02:00
|
|
|
|
|
[autofit] Add support for Georgian scripts.
Georgian is problematic, since `uppercase' forms of Mkhedruli
(called Mtavruli) are not yet defined in Unicode, which means that
proper blue zones can't be defined. However, there is already a
proposal submitted to Unicode; see
http://www.unicode.org/L2/L2016/16034-n4707-georgian.pdf
Additionally, due to historical reasons, Unicode treats Khutsuri as
the same script as Mkhedruli, and so does OpenType. However, since
the two scripts have completely different shapes it can happen that
blue zones differ considerably. The tag `geok' used here (derived
from ISO 15924) to differentiate the two scripts is not an OpenType
tag in use. If we now have a font that contains both glyphs for
Mkhedruli and Khutsuri, and it uses OpenType features for both also,
HarfBuzz unavoidably treats all glyphs as `geor'. As a consequence,
blue zones for `geok' are not used for glyphs involved in the
OpenType features.
An issue not yet resolved is which OpenType feature should be used
to access Mtavruli glyph shapes; right now, FreeType doesn't set up
support for them, but it is easy to add them later on as soon as
more information is available.
* src/autofit/afblue.dat: Add blue zone data for Georgian.
* src/autofit/afblue.c, src/autofit/afblue.h: Regenerated.
* src/autofit/afscript.h: Add Georgian standard characters.
* src/autofit/afranges.c: Add Georgian data.
* src/autofit/afstyles.h: Add Georgian data.
2016-04-09 08:24:00 +02:00
|
|
|
|
SCRIPT( geor, GEOR,
|
|
|
|
|
"Georgian (Mkhedruli)",
|
|
|
|
|
HB_SCRIPT_GEORGIAN,
|
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
|
|
|
|
"\xE1\x83\x98 \xE1\x83\x94 \xE1\x83\x90" ) /* ი ე ა */
|
|
|
|
|
|
|
|
|
|
SCRIPT( geok, GEOK,
|
|
|
|
|
"Georgian (Khutsuri)",
|
|
|
|
|
HB_SCRIPT_INVALID,
|
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
|
|
|
|
"\xE1\x82\xB6 \xE1\x82\xB1 \xE2\xB4\x99" ) /* Ⴖ Ⴑ ⴙ */
|
|
|
|
|
|
2013-12-19 15:45:24 +01:00
|
|
|
|
SCRIPT( grek, GREK,
|
|
|
|
|
"Greek",
|
2013-12-21 21:31:38 +01:00
|
|
|
|
HB_SCRIPT_GREEK,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"\xCE\xBF \xCE\x9F" ) /* ο Ο */
|
2013-12-19 15:45:24 +01:00
|
|
|
|
|
2016-04-25 21:18:24 +02:00
|
|
|
|
SCRIPT( gujr, GUJR,
|
|
|
|
|
"Gujarati",
|
|
|
|
|
HB_SCRIPT_GUJARATI,
|
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
|
|
|
|
"\xE0\xAA\x9F \xE0\xAB\xA6" ) /* ટ ૦ */
|
|
|
|
|
|
2016-05-22 08:38:41 +02:00
|
|
|
|
SCRIPT( guru, GURU,
|
|
|
|
|
"Gurmukhi",
|
|
|
|
|
HB_SCRIPT_GURMUKHI,
|
|
|
|
|
HINTING_TOP_TO_BOTTOM,
|
|
|
|
|
"\xE0\xA8\xA0 \xE0\xA8\xB0 \xE0\xA9\xA6" ) /* ਠ ਰ ੦*/
|
|
|
|
|
|
2013-12-19 15:45:24 +01:00
|
|
|
|
SCRIPT( hebr, HEBR,
|
|
|
|
|
"Hebrew",
|
2013-12-21 21:31:38 +01:00
|
|
|
|
HB_SCRIPT_HEBREW,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"\xD7\x9D" ) /* ם */
|
2013-12-19 15:45:24 +01:00
|
|
|
|
|
2016-01-28 10:13:24 +01:00
|
|
|
|
SCRIPT( knda, KNDA,
|
|
|
|
|
"Kannada",
|
|
|
|
|
HB_SCRIPT_KANNADA,
|
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
|
|
|
|
"\xE0\xB3\xA6 \xE0\xB2\xAC" ) /* ೦ ಬ */
|
|
|
|
|
|
2015-12-06 19:34:59 +01:00
|
|
|
|
/* only digit zero has a simple shape in the Khmer script */
|
|
|
|
|
SCRIPT( khmr, KHMR,
|
|
|
|
|
"Khmer",
|
|
|
|
|
HB_SCRIPT_KHMER,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 19:34:59 +01:00
|
|
|
|
"\xE1\x9F\xA0" ) /* ០ */
|
|
|
|
|
|
|
|
|
|
SCRIPT( khms, KHMS,
|
|
|
|
|
"Khmer Symbols",
|
|
|
|
|
HB_SCRIPT_INVALID,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 19:34:59 +01:00
|
|
|
|
"\xE1\xA7\xA1 \xE1\xA7\xAA" ) /* ᧡ ᧪ */
|
|
|
|
|
|
2015-12-10 08:32:58 +01:00
|
|
|
|
/* only digit zero has a simple shape in the Lao script */
|
|
|
|
|
SCRIPT( lao, LAO,
|
|
|
|
|
"Lao",
|
|
|
|
|
HB_SCRIPT_LAO,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-10 08:32:58 +01:00
|
|
|
|
"\xE0\xBB\x90" ) /* ໐ */
|
|
|
|
|
|
2013-12-19 15:45:24 +01:00
|
|
|
|
SCRIPT( latn, LATN,
|
|
|
|
|
"Latin",
|
2013-12-21 21:31:38 +01:00
|
|
|
|
HB_SCRIPT_LATIN,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"o O 0" )
|
2013-12-19 15:45:24 +01:00
|
|
|
|
|
2015-09-04 10:28:53 +02:00
|
|
|
|
SCRIPT( latb, LATB,
|
|
|
|
|
"Latin Subscript Fallback",
|
|
|
|
|
HB_SCRIPT_INVALID,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"\xE2\x82\x92 \xE2\x82\x80" ) /* ₒ ₀ */
|
2015-09-04 10:28:53 +02:00
|
|
|
|
|
|
|
|
|
SCRIPT( latp, LATP,
|
|
|
|
|
"Latin Superscript Fallback",
|
|
|
|
|
HB_SCRIPT_INVALID,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"\xE1\xB5\x92 \xE1\xB4\xBC \xE2\x81\xB0" ) /* ᵒ ᴼ ⁰ */
|
2015-09-04 10:28:53 +02:00
|
|
|
|
|
2016-02-18 12:56:38 +01:00
|
|
|
|
SCRIPT( mlym, MLYM,
|
|
|
|
|
"Malayalam",
|
|
|
|
|
HB_SCRIPT_MALAYALAM,
|
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
|
|
|
|
"\xE0\xB4\xA0 \xE0\xB4\xB1" ) /* ഠ റ */
|
|
|
|
|
|
2015-12-13 15:54:17 +01:00
|
|
|
|
SCRIPT( mymr, MYMR,
|
|
|
|
|
"Myanmar",
|
|
|
|
|
HB_SCRIPT_MYANMAR,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-13 15:54:17 +01:00
|
|
|
|
"\xE1\x80\x9D \xE1\x80\x84 \xE1\x80\x82" ) /* ဝ င ဂ */
|
|
|
|
|
|
[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,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-12 07:27:14 +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
|
|
|
|
|
2016-02-29 09:12:35 +01:00
|
|
|
|
SCRIPT( sinh, SINH,
|
|
|
|
|
"Sinhala",
|
|
|
|
|
HB_SCRIPT_SINHALA,
|
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
|
|
|
|
"\xE0\xB6\xA7" ) /* ට */
|
|
|
|
|
|
2016-02-25 06:58:47 +01:00
|
|
|
|
/* only digit zero has a simple (round) shape in the Tamil script */
|
|
|
|
|
SCRIPT( taml, TAML,
|
|
|
|
|
"Tamil",
|
|
|
|
|
HB_SCRIPT_TAMIL,
|
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
|
|
|
|
"\xE0\xAF\xA6" ) /* ௦ */
|
|
|
|
|
|
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,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"\xE0\xB1\xA6 \xE0\xB1\xA7" ) /* ౦ ౧ */
|
2014-10-18 11:01:14 +02:00
|
|
|
|
|
2015-01-31 11:01:33 +01:00
|
|
|
|
SCRIPT( thai, THAI,
|
|
|
|
|
"Thai",
|
|
|
|
|
HB_SCRIPT_THAI,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"\xE0\xB8\xB2 \xE0\xB9\x85 \xE0\xB9\x90" ) /* า ๅ ๐ */
|
2015-01-31 11:01:33 +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
|
|
|
|
#ifdef AF_CONFIG_OPTION_INDIC
|
|
|
|
|
|
|
|
|
|
SCRIPT( limb, LIMB,
|
|
|
|
|
"Limbu",
|
|
|
|
|
HB_SCRIPT_LIMBU,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"o" ) /* 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,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"o" ) /* 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,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"o" ) /* 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,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"o" ) /* 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,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"o" ) /* 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,
|
2015-12-23 23:25:03 +01:00
|
|
|
|
HINTING_BOTTOM_TO_TOP,
|
2015-12-06 09:58:18 +01:00
|
|
|
|
"\xE7\x94\xB0 \xE5\x9B\x97" ) /* 田 囗 */
|
[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 */
|