[liblouis-liblouisxml] Regression in 1.3.9

  • From: James Teh <jamie@xxxxxxxxxxx>
  • To: liblouis/liblouisxml mailing list <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Fri, 16 Jan 2009 21:38:23 +1000

Hi John,

I submitted a patch which you included in 1.3.9. The patch did the following:
When handling input which is removed
due to a "repeated" opcode, correctly update the mapping from input to
output positions; i.e. the outputPos array and the returned cursorPos.
Unfortunately, as explained in this thread:
//www.freelists.org/post/liblouis-liblouisxml/patch-Correct-input-to-output-position-mapping-for-removed-repeated-text,3
it caused a rather nasty regression. I did come up with an alternative to this patch, but I'm not sure that was the right solution either.

You noted that you had a more correct solution for this which you applied in 1.4.0. However, I noticed that you didn't remove my existing patch from 1.3.9. Furthermore, that still doesn't seem to fix the problem.

Do you have any further ideas on this one? I can try to provide more test cases or explanation if needed. It can be a rather frustrating bug for NVDA users.

Thanks!

--
James Teh
Email/MSN Messenger/Jabber: jamie@xxxxxxxxxxx
Web site: http://www.jantrid.net/
For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: