[BRLTTY] 4.0

Samuel Thibault samuel.thibault at ens-lyon.org
Sun Apr 19 05:06:11 EDT 2009


高生旺, le Sun 19 Apr 2009 09:50:00 +0800, a écrit :
> On Sat, 18 Apr 2009, Samuel Thibault wrote:
> >> 1. Zh_tw.ctb doesn't work on kernel 2.6.28 and upper.
> >> 2. Console's unicode problem isn't resolved yet.
> > That's still a kernel-side issue that brltty can't solve itself.
> > About the 2.6.28 break, would you be able to recompile a kernel? I think
> > I know which change broke it.
> 
> Yes. Which options should be on or ooff?

It's not an option, it's a patch, attached to this mail.

Samuel
-------------- next part --------------
--- b/drivers/char/vt.c
+++ a/drivers/char/vt.c
@@ -2274,7 +2274,7 @@
 				    continue; /* nothing to display */
 				}
 				/* Glyph not found */
+				if ((!(vc->vc_utf && !vc->vc_disp_ctrl) || c < 128) && !(c & ~charmask)) {
-				if ((!(vc->vc_utf && !vc->vc_disp_ctrl) && c < 128) && !(c & ~charmask)) {
 				    /* In legacy mode use the glyph we get by a 1:1 mapping.
 				       This would make absolutely no sense with Unicode in mind,
 				       but do this for ASCII characters since a font may lack


More information about the BRLTTY mailing list