[BRLTTY] Integrating LibLouise to brltty ( Writing and Reading) - Latest

Siju Samuel sijusamueltech at gmail.com
Wed Aug 28 15:53:57 EDT 2013


I made the changes as suggested and seems working.  Additionally, needed to
set   [null] in the outbuf (from liblouis) . Else it is filled with some
extra characters.

1.  lou_translate (table, inbuf, &inlen, outbuf, &outlen, NULL, NULL, o
utpos, inpos, NULL, 132))   // 132 => ucbrl and dotsIO

2.    // Just set the null terminator.
          outbuf[outlen] = 0;
3. brlapi_writeTextWin(0, outbuf, 1) >= 0)   // 1 => wide char

thanks,siju samuel


On Tue, Aug 27, 2013 at 3:44 PM, Samuel Thibault <
samuel.thibault at ens-lyon.org> wrote:

> Siju Samuel, le Mon 26 Aug 2013 14:16:35 -0500, a écrit :
> > example text: "The abc"
> >
> > 1. lou_translate ("The  abc")          => "! abc"
>
> Mmm, so lou_translate actually writes brf characters, not unicode
> characters?  This will not work properly whenever brltty itself is not
> using nabcc translation.  From the liblouis documentation, it seems you
> want to enable the ucBrl and dotsIO flags, so it's unicode dot patterns
> which are produced. You can then pass it to brlapi_writeTextWin setting
> wide to 1.
>
> Samuel
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at mielke.cc
> For general information, go to: http://mielke.cc/mailman/listinfo/brltty
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mielke.cc/pipermail/brltty/attachments/20130828/c9b6e239/attachment.html>


More information about the BRLTTY mailing list