[liblouis-liblouisxml] Questions regarding lou_getTable and lou_readCharFromFile functions

  • From: Michael Whapples <mwhapples@xxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 02 Jun 2009 15:41:52 +0100

Hello,
I have posted recently on this list that I am working on some java bindings for liblouis. I have hit a couple of questions relating to the meaning/use of two functions.

Firstly the lou_getTable function, is there any reason I would want/need to catch its output of the pointer to the compiled table. Is this function really needed by external applications as lou_translateString and such like will call lou_getTable if needed (I think).

With the lou_readCharFromFile function, could I have some explaination of what it is for. The documentation says it is for reading encoded files and returns the character as little endian integer, is this return type what would be needed for liblouis's lou_translateString function (IE. if liblouis is compiled for 16-bit unicode it returns the character as 16-bit unicode and if liblouis is compiled for 32-bit unicode does it return the 32-bit unicode character, or does it always return it as 16-bit unicode). Is such a function really going to be of use to a java application? I suspect possibly not but I would like to map it just for completeness.

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

Other related posts: