[liblouis-liblouisxml] Re: Quality control of tables

  • From: Christian Egli <christian.egli@xxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Thu, 02 Jul 2009 09:42:07 +0200

Hi Samuel

On Wed, 2009-07-01 at 17:42 +0200, Samuel Thibault wrote:
> Christian Egli, le Wed 01 Jul 2009 13:53:33 +0200, a écrit :
> > Could it be that lines such as the following:
> > punctuation \x02654 137             WHITE CHESS KING
> > should be
> > punctuation \x2654 137              WHITE CHESS KING
> 
> Ah, yes.  Dave thought that would be allowed and I hadn't checked it.
> Here is an updated patch.

Thank you very much. I applied the patch and the test passes for these
tables now. 

According to the documentation [1] 5-digit (20 bit) character such as
\xhhhhh are allowed if liblouis has been compiled for 32-bit Unicode, so
your original patch should have worked with a 32-bit Unicode liblouis. I
thought I had also tested with a build where I enabled 32-bit with
--enable-ucs4, but the tests failed there as well. Hm, maybe we need
some test cases for 32-bit enabled liblouis.

Thanks
Christian

[1]
http://liblouis.googlecode.com/svn/documentation/liblouis.html#How-to-Write-Translation-Tables
-- 
Christian Egli
Swiss Library for the Blind and Visually Impaired
Grubenstrasse 12, CH-8045 Zürich, Switzerland

For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: