[liblouis-liblouisxml] The Unicode letter bug continued

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: liblouis-liblouisxml <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Tue, 08 May 2012 11:31:42 +0200

Hi all

It appears that we also got bitten by the letter bug. I created two
simple tables in tests/tables. One is called lowercase_with_unicode.ctb
and the other one uplow_with_unicode.ctb. They both have some character
definition opcodes involving Unicode (German sharp s). The first table
uses the lowercase opcode and the second one uses the uplow opcode. Both
tables define a simple translation opcode (namely word) to do a simple
contraction. When I use the uplow opcode the define the characters the
contraction is correct, if I use lowercase however the contraction is
not done. This is illustrated in a test case (see
tests/uplow_with_unicode.c). In order for this to work I enhanced
tests/brl_checks.c to use extParseChars as you had mentioned earlier.

So there seems to be a workaround in that you can just use the uplow
opcode instead of the lowercase opcode, but it would still be nice if we
could track that bug down. I assume this is the same bug that Mesar is
encountering. Hopefully the test tables and the test case will help to
track it down. I might have a go at a gdb session if I'd know what I'd
have to look for.

Thanks
Christian
-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

-----
Tag der offenen Tuer
Die SBS laedt Sie herzlich ein: 30. Juni 2012 von 9 bis 16 Uhr.
Mehr Informationen erhalten Sie unter www.sbs.ch/offenetuer
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] The Unicode letter bug continued - Christian Egli