[BRLTTY] Using liblouis translation in brltty

Samuel Thibault samuel.thibault at ens-lyon.org
Sat Apr 8 20:00:16 EDT 2017


Hello,

Vikash Kesharwani, on mar. 04 avril 2017 18:12:37 +0530, wrote:
> I tried converting liblouis tables into brltty tables using brltty-ttb
> but it could not translate a lot of keywords defined in liblouis.

BTW, Dave, liblouis is now also using the ".utb" suffix, so the attached
patch would be useful to convert them (at least as much as ttb_louis.c
implements).

Samuel
-------------- next part --------------
diff --git a/Programs/brltty-ttb.c b/Programs/brltty-ttb.c
index 4068ce02f..46c4a5e51 100644
--- a/Programs/brltty-ttb.c
+++ b/Programs/brltty-ttb.c
@@ -902,6 +902,11 @@ static const FormatEntry formatEntries[] = {
     .write = writeTable_libLouis,
   },
 
+  { .name = "utb",
+    .read = readTable_libLouis,
+    .write = writeTable_libLouis,
+  },
+
   { .name = "XCompose",
     .write = writeTable_XCompose,
   },


More information about the BRLTTY mailing list