[BRLTTY] XW driver fonts problem

Jaroslav Skarvada jskarvad at redhat.com
Thu Apr 7 05:25:47 EDT 2016


Hi,

I encountered problem with XW driver not showing Braille characters. I traced it
down to be font problem. The XW driver requests the following fonts from X:

-*-clearlyu-*-r-*-*-17-*-*-*-*-*-iso10646-1
-*-fixed-*-r-*-*-17-*-*-*-*-*-iso10646-1
-*-unifont-*-r-*-*-17-*-*-*-*-*-iso10646-1
-*-fixed-*-*-*-*-*-*-*-*-*-*-iso10646-1
-*-fixed-*-*-*-*-*-*-*-*-*-*-iso8859-1

clearlyu requirement is written in the XW driver readme, but the rest aren't.
I had especially trouble with the following fonts:
-*-fixed-*-r-*-*-17-*-*-*-*-*-iso10646-1
-*-unifont-*-r-*-*-17-*-*-*-*-*-iso10646-1

There is no fixed 17 font on decent Fedora distro, there are only 16, 18 sizes and
it is also not easy to get unifont working. E.g. on Fedora the unifont is not
installed by default and even if installed by hand it's disabled
from XServer. If enabled manually many apps started to prefer it and the UI
started to look ugly.

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"

My question is are all these fonts needed? I used the attached patch to reduce
the number of fonts and it seems to work OK out of the box (I tested it with the
en_US and cs_CZ locales). I had to only install clearlyu font and
ucs-miscfixed-fonts (which is not mentioned in the readme) from the [1] and
it shows Braille characters OK

thanks & regards

Jaroslav

[1] http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: brltty-4.5-xw-fonts-fix.patch
Type: text/x-patch
Size: 806 bytes
Desc: not available
URL: <http://mielke.cc/pipermail/brltty/attachments/20160407/c4999955/attachment.bin>


More information about the BRLTTY mailing list