James, You are right. For screenreaders only pass 1 should run. The correct solution would be to use another bit in the mode parameter. I'll work on that if there are no objections to this approach. John On Tue, Jan 20, 2009 at 10:51:54PM +1000, James Teh wrote: > On 19/01/2009 1:24 PM, John J. Boyer wrote: > >I fixed the problem with incorrect > >values in the outlen parameter for multipass opcodes. However, fixing > >the problems with position mapping would be difficult, since the > >positions in the original input don't apply by this time. > As an interim solution, how do you feel about disabling multipass > opcodes if inputPos and outputPos are not NULL; i.e. if positional > information is requested? I assume screen readers are the only users of > this functionality and multipass opcodes probably arne't as important > there. Eventually, we would of course want to fix this properly. > > If we do this, should pass 0 (corrections) be disabled as well; i.e. > only pass 1 would run? > > -- > 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 -- My websites: http://www.godtouches.org http://www.jjb-software.com Location: Madison, WI, USA For a description of the software and to download it go to http://www.jjb-software.com