Revision: 767 Author: mesar.hameed@xxxxxxxxx Date: Sat Aug 25 07:42:19 2012Log: Add testcase which illustrates cursor position problem when capsigns are used.
https://bugzilla.gnome.org/show_bug.cgi?id=651217 http://code.google.com/p/liblouis/source/detail?r=767 Modified: /trunk/TODO /trunk/tests/harness/en-GB-g2_harness.txt /trunk/tests/harnessSources/en-GB-g2_harness_source.txt ======================================= --- /trunk/TODO Sat Aug 25 03:15:20 2012 +++ /trunk/TODO Sat Aug 25 07:42:19 2012 @@ -27,8 +27,9 @@ ** fix bug described by squash_space.c ** Fix cursor position problems when capsigns are used. - also see: https://bugzilla.gnome.org/show_bug.cgi?id=651217- @attila: can you please provide a patch to en-gb harness files that reproduce the problem? + Originally reported at: https://bugzilla.gnome.org/show_bug.cgi?id=651217
+ testcase added in en-GB-g2_harness.txt, search for 651217 + The bug can be seen with other tables too.** [mh] Add Ethiopic table and harness data, as corrected by Dr. Tamru E. Belay
======================================= --- /trunk/tests/harness/en-GB-g2_harness.txt Fri Jul 20 04:07:54 2012 +++ /trunk/tests/harness/en-GB-g2_harness.txt Sat Aug 25 07:42:19 2012 @@ -62,6 +62,19 @@ "input": "you went to", "mode": "compbrlAtCursor", "output": "⠽ ⠺⠑⠝⠞ ⠞⠕" + }, + { + "brlCursorPos": 15, + "comment": [ + "An example to reproduce:", + "https://bugzilla.gnome.org/show_bug.cgi?id=651217";, + "note that the braille cursor is very squeued.",+ "computer cursor is at pos 13, expected braille cursor at 15, but actually at 17."
+ ], + "cursorPos": 13, + "input": "Pappa Pappa help me.", + "mode": "compbrlAtCursor", + "output": "⠠⠏⠁⠏⠏⠁ ⠠⠏⠁⠏⠏⠁ ⠓⠑⠇⠏ ⠍⠑⠲" } ], "flags": { =======================================--- /trunk/tests/harnessSources/en-GB-g2_harness_source.txt Fri Jul 20 01:43:00 2012 +++ /trunk/tests/harnessSources/en-GB-g2_harness_source.txt Sat Aug 25 07:42:19 2012
@@ -25,3 +25,9 @@ testmode: backtranslate you went to +comment: An example to reproduce: +comment: https://bugzilla.gnome.org/show_bug.cgi?id=651217 +comment: note that the braille cursor is very squeued.+comment: computer cursor is at pos 13, expected braille cursor at 15, but actually at 17.
+brlCursorPos: 15 cursorPos: 13 mode: compbrlAtCursor +Pappa Pappa help me.