From 8d2781d69274672303e30522e222bd01c6b5e781 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 19 Jan 2012 11:36:39 -0500 Subject: [PATCH] [test] Add two Indic test cases from Bernard Massot --- test/test-shape-complex.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/test-shape-complex.c b/test/test-shape-complex.c index dea12ec77..8f25d8f1f 100644 --- a/test/test-shape-complex.c +++ b/test/test-shape-complex.c @@ -181,6 +181,21 @@ static const test_set_t tests_devanagari2 = { } }; +static const test_set_t tests_devanagari3 = { + {"Lohit-Devanagari.ttf", 0}, + { + { "Ka Halant Ssa Halant", + { 0x0915, 0x094D, 0x0937, 0x094D, 0}, + { 0x00C4, 0x007D, 0} + }, + { "Ja Halant Nya Halant", + { 0x091C, 0x094D, 0x091E, 0x094D, 0}, + { 0x00C5, 0x007D, 0} + }, + {{0}} + } +}; + static const test_set_t tests_bengali1 = { {"AkaashNormal.ttf", 0}, { @@ -1151,6 +1166,7 @@ main (int argc, char **argv) TEST_SET (devanagari1); TEST_SET (devanagari2); + TEST_SET (devanagari3); TEST_SET (bengali1); TEST_SET (bengali2); TEST_SET (bengali3);