asciimoo / drawille

Pixel graphics in terminal with unicode braille characters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Couldn't find a working console font.

steviator opened this issue · comments

After scouring the net, I wasn't able to find a .psf font for the Linux console that had support for Unicode, so I made one myself. It's derived from GNU Unifont and hand edited to resemble IBM Plex Mono, including lovingly crafted Braille characters.

It's only available in a 16x8 size, and only covers CP437, so may not be suitable for non English speakers, and the style may not be to everyone's liking, but it's the only way I found to get Braille characters on a vtty.

https://drive.google.com/file/d/1yoyhUHm2wCZfJSgAaW862asiMQfm3ckt/

Standard solution on Debian:
sudo apt install console-braille
Then edit /etc/default/console-setup to look like:

# CONFIGURATION FILE FOR SETUPCON

# Consult the console-setup(5) manual page.

ACTIVE_CONSOLES="/dev/tty[1-6]"

CHARMAP="UTF-8"

CODESET="guess"
FONTFACE="Terminus"
FONTSIZE="8x16"

VIDEOMODE=

# The following is an example how to use a braille font
#FONT='lat9w-08.psf.gz brl-8x8.psf'
FONT='Lat15-Terminus16.psf.gz brl-16x8.psf'

Then execute setupcon on the console screen.

I recommend doing the editing via SSH, so if something goes wrong (and the console becomes unusable), you can revert your changes from there. Obviously, it requires that the Terminus console font is installed, which I guess is the default on Debian (no need for the Terminus vector font).