Commit Graph

262 Commits

Author SHA1 Message Date
Henri Verbeet 8b114ddaf6 usp10: Persian numerals are written left-to-right.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-07 22:04:48 +09:00
Henri Verbeet e49ad1cc5b usp10: Fix the script tag and fallback font for Script_Persian.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-07 22:04:48 +09:00
Henri Verbeet fd5860d2f2 usp10/tests: Add an itemisation test for Persian numerals and punctuation.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-07 22:04:47 +09:00
Henri Verbeet 71cabaa4b9 usp10: Resolve BNs and explicit formatting characters to the preceding level in resolveResolved().
As in section 5.2 of the Unicode Bidirectional Algorithm.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-19 21:26:20 +09:00
Nikolay Sivov e6e0bc4a06 usp10/tests: Use todo_wine_if() in tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 00:22:01 +09:00
Huw Davies fc028e99c1 usp10: ScriptPlace should honour the fZeroWidth attribute.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:43 +09:00
Aric Stewart e395d4e766 usp10: Implement fOverrideDirection.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 01:01:47 +09:00
Aric Stewart 144a7aa6ef usp10: Correct math punctuation handling in itemization.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-04 18:21:47 +09:00
Aric Stewart c160ad9e89 usp10: Rewrite ScriptXtoCP.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 21:48:03 +09:00
Nikolay Sivov 9cede2f0a6 usp10/tests: Use BOOL variable for BOOL retval (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:34 +09:00
Aric Stewart 6b657e0760 usp10/tests: fix some tests on Hebrew and Arabic locales.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2015-10-01 16:34:45 +09:00
Aric Stewart 0072188b69 usp10/tests: Catch case where enumerated font name is too long.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
2015-10-01 16:27:57 +09:00
Jacek Caban efb1cf0299 usp10: Added test of ScriptStringAnalyse call with 0 length string. 2015-09-10 20:10:32 +09:00
Nikolay Sivov f01bab5be1 usp10/tests: Fix some tests failures caused by Tahoma changes (Win10). 2015-08-24 14:42:09 +09:00
Akihiro Sagawa e083986df5 usp10: Display the blank glyph for some control characters (non truetype/opentype). 2015-08-12 23:00:08 +09:00
Akihiro Sagawa 22e8046fcb usp10: Display the blank glyph for some control characters (truetype/opentype). 2015-08-12 23:00:06 +09:00
Akihiro Sagawa 311fce671d usp10/tests: Add tests for control character glyphs. 2015-08-12 23:00:03 +09:00
Nikolay Sivov c7b5a2f851 usp10/tests: Fix some leaks on error path (Valgrind). 2015-04-16 15:14:10 +09:00
Nikolay Sivov 5f52333d34 usp10/tests: Test for S_OK return value in a clean way. 2014-08-29 09:57:52 +02:00
Huw Davies ee14105afd usp10/tests: Mark two failing Hebrew strings as broken under win8.
The strings are tagged as Hebrew, yet the RTL and bidi levels are not correctly set.
2014-05-06 19:20:22 +02:00
Marcus Meissner b6a081ea44 usp10: Fixed border condition in shifts (Coverity). 2014-04-08 18:28:29 +02:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
André Hentschel f309e01282 usp10/tests: Fix tests compilation with __WINESRC__ defined. 2013-10-25 13:36:01 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Aric Stewart 9a59d81f72 usp10: Correct error with ScriptLayout log2vis.
Issue found and test written by Huw Davies.
2013-02-14 20:05:11 +01:00
Francois Gouget a5ff4b8088 Assorted spelling fixes. 2013-01-29 12:13:04 +01:00
Francois Gouget f963f93964 Assorted spelling fixes. 2013-01-07 11:10:40 +01:00
Qian Hong dd2be15118 usp10/tests: Added tests for wgBlank, wgDefault, wgInvalid and wgKashida. 2012-11-21 15:21:37 +01:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Aric Stewart 5bb7590fad usp10: Properly handle invalid arguments to ScriptBreak. 2012-03-26 12:41:28 +02:00
Aric Stewart 3d98085d65 usp10: Implement ScriptGetFontFeatureTags. 2012-01-03 18:06:31 +01:00
Aric Stewart 0661d2d202 usp10: Implement ScriptGetFontLanguageTags. 2012-01-03 18:05:47 +01:00
Aric Stewart 1fc015636e usp10: Updates to ScriptGetFontScriptTags. 2011-12-30 15:41:07 +01:00
Aric Stewart 525d9d1519 usp10: Implement ScriptGetFontScriptTags. 2011-12-22 17:49:54 +01:00
Aric Stewart 00588673c6 usp10: Add Mathematical Alphanumeric Symbols script. 2011-12-19 20:15:45 +01:00
Aric Stewart 88c6b7ef00 usp10: Add Osmanya script. 2011-12-19 20:15:45 +01:00
Aric Stewart 095276073c usp10: Add Deseret script. 2011-12-19 20:15:44 +01:00
Aric Stewart 4d188aa20e usp10: Add Private Use Area and Surrogates Area from Unicode Chapter 16. 2011-12-14 19:35:19 +01:00
Aric Stewart ad71c95e59 usp10: Add Braille script. 2011-12-14 19:35:18 +01:00
Aric Stewart 1c079ad196 usp10: Add Runic Script. 2011-12-14 19:35:17 +01:00
Aric Stewart 8b415ee99f usp10: Add Ogham script. 2011-12-14 19:35:16 +01:00
Aric Stewart 1c40824572 usp10: Add Canadian Aboriginal Syllabics script. 2011-12-14 19:35:15 +01:00
Aric Stewart fa5d9da009 usp10: Add Cherokee script. 2011-12-14 19:35:15 +01:00
Aric Stewart c697d95967 usp10: Add Vai script. 2011-12-14 19:35:14 +01:00
Aric Stewart e7112792ef usp10: Add N'Ko script. 2011-12-14 19:35:14 +01:00
Aric Stewart e5ad5cd11a usp10: Add Tifinagh script. 2011-12-14 19:35:13 +01:00
Aric Stewart be9369e7fe usp10: Add Mongolian script. 2011-12-14 19:35:12 +01:00
Aric Stewart eb084562be usp10: Allow for multiple broken item counts. 2011-12-14 19:35:11 +01:00
Aric Stewart a65c818ca0 usp10: Add Ethiopic script. 2011-12-14 19:35:11 +01:00
Aric Stewart 4d34ea52ad usp10: Add Yi script. 2011-12-13 18:59:02 +01:00
Aric Stewart 345102ed13 usp10: Add Hangul script. 2011-12-13 18:59:01 +01:00
Aric Stewart 30dc47557a usp10: Add Kana script. 2011-12-13 18:59:00 +01:00
Aric Stewart 513a8c5020 usp10: Add Bopomofo script. 2011-12-13 18:59:00 +01:00
Aric Stewart df2e40bc34 usp10: Add CKJ Han and Ideographic scripts. 2011-12-13 18:58:59 +01:00
Aric Stewart f68c03c4b2 usp10: Add Khmer script. 2011-12-12 15:50:44 +01:00
Aric Stewart 05cd57b4f0 usp10: Add New Tai Lue script. 2011-12-12 15:50:44 +01:00
Aric Stewart 51b5e6090a usp10: Add script Tai Le. 2011-12-12 15:50:43 +01:00
Aric Stewart 1dc4c151d7 usp10/tests: Check broken value for script tag as well. 2011-12-12 15:50:42 +01:00
Aric Stewart 486a20c17c usp10: Add Myanmar script. 2011-12-09 21:15:39 +01:00
Aric Stewart 9097226a3c usp10: Itemize numbers outside of the basic ascii set in a seperate script. 2011-11-21 11:02:39 +01:00
Aric Stewart 2fe60ff696 usp10: Windows breaks punctuation into 2 different script types. 2011-11-21 11:02:34 +01:00
Aric Stewart 714408684d usp10: Handle Combining Diacritical Marks. 2011-11-21 11:02:28 +01:00
Aric Stewart 2abb8193b9 usp10: Add a facility to mark itemization test elements as broken. 2011-11-21 11:02:22 +01:00
Aric Stewart 7868be6e70 usp10: Properly set LayoutRTL. 2011-11-15 19:37:28 +01:00
Aric Stewart 65710af292 usp10: Better understand and handle numbers level in RTL runs. 2011-11-09 11:34:49 +01:00
Aric Stewart 2781ac1e6d usp10: Better handle the absorption of whitespace in bidi runs. 2011-11-09 11:34:45 +01:00
Aric Stewart c5db60200f usp10/tests: Add Kannada shaping test. 2011-11-08 18:19:18 +01:00
Aric Stewart 729de083f3 usp10: Correct itemizing multiple spaces at the beginning of a run. 2011-10-24 11:14:06 +02:00
Aric Stewart 8836da818e usp10/tests: Initialize our SCRIPT_VISATTR array.
Found by Valgrind and Dan Kegel.
2011-10-20 11:02:37 +02:00
Aric Stewart c1607a04b9 usp10: Correct where the trailing flag transitions in the middle of a glyph. 2011-10-12 20:52:46 +02:00
Aric Stewart 515dd2543e usp10/test: Test ScriptXtoX on an RTL set with differing cChars and cGlyphs. 2011-08-25 17:56:26 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Aric Stewart 126c779832 usp10/tests: Refactor test_ScriptXtoX to make testing varying datasets easier. 2011-08-24 15:05:44 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Aric Stewart 687b030c85 usp10/tests: Add Malayalam shaping test. 2011-06-03 13:44:28 +02:00
Aric Stewart e3f92669ed usp10/tests: Add Telugu shaping test. 2011-06-03 13:44:24 +02:00
Aric Stewart bdb3a53269 usp10/tests: Add Tamil shape test. 2011-06-03 13:44:20 +02:00
Aric Stewart ee45ab66ba usp10/tests: Add Oriya shaping test. 2011-06-03 13:44:16 +02:00
Aric Stewart a1795cfc9a usp10/tests: Add Gujarati shaping test. 2011-06-03 13:44:12 +02:00
Aric Stewart 856b272635 usp10/tests: Add Gurmukhi shaping test. 2011-06-03 13:44:09 +02:00
Aric Stewart bd07f67571 usp10/tests: Add Bengali shaping test. 2011-06-03 13:44:05 +02:00
Aric Stewart adfd870ba6 usp10/tests: Add Devanagari shaping test. 2011-06-03 13:44:01 +02:00
Aric Stewart 8d83e5d370 ups10: Add Malayalam script. 2011-06-03 13:43:55 +02:00
Aric Stewart 20f5613e61 usp10: Add Kannada script. 2011-06-03 13:43:47 +02:00
Aric Stewart af02c0e29c usp10: Add Telugu script. 2011-06-03 13:43:38 +02:00
Aric Stewart c5747304f0 usp10: Add Tamil script. 2011-06-03 13:43:32 +02:00
Aric Stewart bafc5f0f30 usp10: Add Oriya script. 2011-06-03 13:43:25 +02:00
Aric Stewart 858ecd1c54 usp10: Add Gujarati script. 2011-06-03 13:43:19 +02:00
Aric Stewart fdf2ab5bfa usp10: Add Gurmukhi script. 2011-06-03 13:43:12 +02:00
Aric Stewart 19857ec45b usp10: Add Bengali script. 2011-06-03 13:42:30 +02:00
Aric Stewart b8aad9d3cd usp10: Add Devanagari script. 2011-06-03 13:42:22 +02:00
Alexandre Julliard 76319e3a8d usp10/tests: Load GetGlyphIndicesW dynamically. 2011-05-27 12:19:35 +02:00
Francois Gouget 792a9eb689 usp10/tests: Make enumFontProc() static. 2011-05-25 16:35:05 +02:00
Aric Stewart c5f2ac3eea usp10/test: Add Tibetan shaping test. 2011-05-25 11:54:42 +02:00
Aric Stewart 850336d936 usp10/test: Make sure to only trace on _test_shape_ok number of glyphs if font is not valid. 2011-05-25 11:54:31 +02:00
Aric Stewart b22b80019a usp10/test: Add Lao shaping test. 2011-05-24 18:12:36 +02:00
Aric Stewart 852c8fd60e usp10/test: Add Phags-pa shaping test. 2011-05-24 18:12:33 +02:00
Aric Stewart 42274ed8ab usp10/test: Add Thaana shaping test. 2011-05-24 18:12:31 +02:00
Aric Stewart 2d8955429c usp10/tests: Add Syriac shaping test. 2011-05-24 18:12:28 +02:00
Aric Stewart ee450d5041 usp10: Add Thai shaping test. 2011-05-24 16:55:51 +02:00