mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
Support scripts that are written both LTR and RTL
Right now only Old Italic is marked as such. Fixes https://github.com/harfbuzz/harfbuzz/issues/1000
This commit is contained in:
1 parent
90869e6962
commit
f673cfbd64
7 files changed
+20
-2
No files matched your search
@@ -173,6 +173,7 @@ test_types_script (void)
|
||||
|
||||
g_assert_cmpint (hb_script_get_horizontal_direction (HB_SCRIPT_LATIN), ==, HB_DIRECTION_LTR);
|
||||
g_assert_cmpint (hb_script_get_horizontal_direction (HB_SCRIPT_ARABIC), ==, HB_DIRECTION_RTL);
|
||||
g_assert_cmpint (hb_script_get_horizontal_direction (HB_SCRIPT_OLD_ITALIC), ==, HB_DIRECTION_INVALID);
|
||||
g_assert_cmpint (hb_script_get_horizontal_direction (hb_script_from_iso15924_tag (wWyZ)), ==, HB_DIRECTION_LTR);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user