[liblouis-liblouisxml] Re: Regression in 1.3.9

  • From: James Teh <jamie@xxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 19 Jan 2009 12:51:33 +1000

On 19/01/2009 12:08 PM, James Teh wrote:
all repeated rules are in en-us-g1.ctb. However,
commenting them out in en-us-g1.ctb works for en-us-g1.ctb, but there's
still something eliminating spaces and tabs in en-us-g2.ctb. I can't
work out what that could be, as it only includes en-us-g1.ctb.
Ah. I found it. The rule that is eliminating whitespace is:
pass2 $s1-10 @0
As I understand it from reading the docs, this rule says that if there are between 1 and 10 spaces, the dot pattern "0" should be substituted, which is indeed what I'm seeing. However, it seems that the code doesn't account for the input/output position maps for the pass2 opcode (and probably other multipass opcodes).

How difficult would it be to fix this?

--
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: