summaryrefslogtreecommitdiff
path: root/src/autofit/afblue.c
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2015-03-11 16:45:58 +0100
committerWerner Lemberg <wl@gnu.org>2015-03-11 16:45:58 +0100
commitd3284462c3f227a4bc396fa9f3b716e46d43f5c8 (patch)
tree2e50335b7677b373dc90de38f89eaab8ec141353 /src/autofit/afblue.c
parenta451638ec55be06aabb3a99b7461679dc750c80a (diff)
downloadfreetype2-d3284462c3f227a4bc396fa9f3b716e46d43f5c8.tar.gz
[autofit] Add support for Arabic script.
Thanks to Titus Nemeth <tn@tntypography.eu> for guidance! * src/autofit/afblue.dat: Add blue zone data for Arabic. * src/autofit/afblue.c, src/autofit/afblue.h: Regenerated. * src/autofit/afscript.h: Add Arabic standard characters. * src/autofit/afranges.c: Add Arabic data. * src/autofit/afstyles.h: Add Arabic data. * docs/CHANGES: Document it.
Diffstat (limited to 'src/autofit/afblue.c')
-rw-r--r--src/autofit/afblue.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/autofit/afblue.c b/src/autofit/afblue.c
index 1f9869f64..e2b24519a 100644
--- a/src/autofit/afblue.c
+++ b/src/autofit/afblue.c
@@ -26,6 +26,10 @@
af_blue_strings[] =
{
/* */
+ '\xD8', '\xA7', '\xD8', '\xA5', '\xD9', '\x84', '\xD9', '\x83', '\xD8', '\xB7', '\xD8', '\xB8', /* ا إ ل ك ط ظ */
+ '\0',
+ '\xD8', '\xAA', '\xD8', '\xAB', '\xD8', '\xB7', '\xD8', '\xB8', '\xD9', '\x83', /* ت ث ط ظ ك */
+ '\0',
'\xD0', '\x91', '\xD0', '\x92', '\xD0', '\x95', '\xD0', '\x9F', '\xD0', '\x97', '\xD0', '\x9E', '\xD0', '\xA1', '\xD0', '\xAD', /* БВЕПЗОСЭ */
'\0',
'\xD0', '\x91', '\xD0', '\x92', '\xD0', '\x95', '\xD0', '\xA8', '\xD0', '\x97', '\xD0', '\x9E', '\xD0', '\xA1', '\xD0', '\xAD', /* БВЕШЗОСЭ */
@@ -135,6 +139,9 @@
af_blue_stringsets[] =
{
/* */
+ { AF_BLUE_STRING_ARABIC_TOP, AF_BLUE_PROPERTY_LATIN_TOP },
+ { AF_BLUE_STRING_ARABIC_JOIN, 0 },
+ { AF_BLUE_STRING_MAX, 0 },
{ AF_BLUE_STRING_CYRILLIC_CAPITAL_TOP, AF_BLUE_PROPERTY_LATIN_TOP },
{ AF_BLUE_STRING_CYRILLIC_CAPITAL_BOTTOM, 0 },
{ AF_BLUE_STRING_CYRILLIC_SMALL, AF_BLUE_PROPERTY_LATIN_TOP |