boxdraw

Summary

Custom rendering of lines/blocks/braille characters for gapless alignment.

Example

Lines/blocks, tmux splitter, braille "graphics". The top one is with boxdraw: Screenshot

Description

Graphic lines and blocks characters such as those used by dialog, tree, tmux etc sometimes align with gaps - which doesn't look very nice. This can depend on font, size, scaling, and other factors.

Braille is also increasingly used for graphics (mapscii, vtop, gnuplot, etc), and may look or align nicer when rendered as "pixels" instead of dots.

This patch adds options to render most of the lines/blocks characters and/or the the braille ones without using the font so that they align perfectly regardless of font, size or other configuration values.

Supported codepoints are U2500 - U259F except dashes and diagonals, and U28XX.

See also: unicode references U2500.pdf, U2580.pdf, U2800.pdf, and example pages UTF-8-demo.txt and libvte test page.

Notes:

Download

History

improved conflict resolution when git am -3 is used.

Author