mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +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);
|
||||
}
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ TESTS = \
|
||||
tests/mark-filtering-sets.tests \
|
||||
tests/mongolian-variation-selector.tests \
|
||||
tests/myanmar-syllable.tests \
|
||||
tests/none-directional.tests \
|
||||
tests/spaces.tests \
|
||||
tests/simple.tests \
|
||||
tests/tibetan-contractions-1.tests \
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
../fonts/73e84dac2fc6a2d1bc9250d1414353661088937d.ttf::U+10300,U+10301:[u10300=0+1470|u10301=1+1284]
|
||||
../fonts/73e84dac2fc6a2d1bc9250d1414353661088937d.ttf:--direction=ltr:U+10300,U+10301:[u10300=0+1470|u10301=1+1284]
|
||||
../fonts/73e84dac2fc6a2d1bc9250d1414353661088937d.ttf:--direction=rtl:U+10300,U+10301:[u10301_r=1+1284|u10300_r=0+1470]
|
||||
Reference in new issue
Block a user