summaryrefslogtreecommitdiff
path: root/src/hb-common.cc
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2014-04-28 15:06:42 -0700
committerBehdad Esfahbod <behdad@behdad.org>2014-06-18 12:22:45 -0400
commita4a7899cd93fb9d1bc2163a4bbabfa733ee5bd52 (patch)
treef8631fbf8620bda730da74897d48847bdf6eca16 /src/hb-common.cc
parent62587bfc5178a447ef66d88eab7412a7efe84692 (diff)
[unicode7] Mark right-to-left scripts
Diffstat (limited to 'src/hb-common.cc')
-rw-r--r--src/hb-common.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/hb-common.cc b/src/hb-common.cc
index afaecce0..33d2e55f 100644
--- a/src/hb-common.cc
+++ b/src/hb-common.cc
@@ -484,6 +484,14 @@ hb_script_get_horizontal_direction (hb_script_t script)
case HB_SCRIPT_MEROITIC_CURSIVE:
case HB_SCRIPT_MEROITIC_HIEROGLYPHS:
+ /* Unicode-7.0 additions */
+ case HB_SCRIPT_MANICHAEAN:
+ case HB_SCRIPT_MENDE_KIKAKUI:
+ case HB_SCRIPT_NABATAEAN:
+ case HB_SCRIPT_OLD_NORTH_ARABIAN:
+ case HB_SCRIPT_PALMYRENE:
+ case HB_SCRIPT_PSALTER_PAHLAVI:
+
return HB_DIRECTION_RTL;
}