----- Original Message -----
> 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
> 

Hi,

just removing the size requirement on fixed fonts seems to work, i.e. the
new attached patch

thanks & regards

Jaroslav
diff --git a/Drivers/Braille/XWindow/braille.c b/Drivers/Braille/XWindow/braille.c
index 26ca705..ccabdcd 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-*-r-*-*-17-*-*-*-*-*-iso10646-1,-*-fixed-*-r-*-*-*-*-*-*-*-*-iso10646-1,-*-unifont-*-r-*-*-17-*-*-*-*-*-iso10646-1,-*-fixed-*-*-*-*-*-*-*-*-*-*-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

Reply via email to