Hello, Jaroslav Skarvada, on Thu 07 Apr 2016 05:25:47 -0400, wrote: > If there is any font missing the line with the Braille characters is not shown > in the simulator and the following message is written to the log: > "Error while loading unicode font"
I've just checked again, I do not get such message. As I mentioned, Xaw is supposed to load whatever font it can from the list, and use the first that was successfully loaded. That being said, there is no real reason to hardcode the fixed size, so we can as well go with the attached patch, which just tries a few unicode-capable fonts, and if not available revert to the standard fixed latin1 font. Does that work in your setup? Samuel
diff --git a/Drivers/Braille/XWindow/braille.c b/Drivers/Braille/XWindow/braille.c index b5089bc..842f3b8 100644 --- a/Drivers/Braille/XWindow/braille.c +++ b/Drivers/Braille/XWindow/braille.c @@ -211,7 +211,7 @@ typedef enum { static int cols,lines; static int input; static char *model = "simple"; -static const char *fontname = "-*-clearlyu-*-r-*-*-17-*-*-*-*-*-iso10646-1,-*-fixed-*-r-*-*-17-*-*-*-*-*-iso10646-1,-*-unifont-*-r-*-*-17-*-*-*-*-*-iso10646-1,-*-fixed-*-*-*-*-*-*-*-*-*-*-iso10646-1,-*-fixed-*-*-*-*-*-*-*-*-*-*-iso8859-1"; +static const char *fontname = "-*-clearlyu-*-*-*-*-*-*-*-*-*-*-iso10646-1,-*-fixed-*-*-*-*-*-*-*-*-*-*-iso10646-1,-*-unifont-*-*-*-*-*-*-*-*-*-*-iso10646-1,-*-fixed-*-*-*-*-*-*-*-*-*-*-iso8859-1"; static int xtArgc = 1; static char *xtDefArgv[]= { "brltty", NULL }; static char **xtArgv = xtDefArgv;
_______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty