Hi.
I put together a backend based on a fork of diagrams-rasterific which outputs
unicode braille patterns in text mode a while ago, called
diagrams-braille[1]. The main difference to rasterific is that is does
not use fonts to draw text, rather it uses ascii letters.
This is obvously pretty limited, since text can no longer easily flow
in all directions, it gets quantized to the text mode grid.
However, this is actually an advantage to my use case, since I really
use it to "visualize" things on my braille display. A font would be too
large and not easy to read. A normal ascii string makes it possible
to attach readable labels to things. However, I have to admit I just
hacked this together, and it barely works as expected. I can use
baselineText to somehow do what I want, but other text drawing functions
behave a bit off. I am blind, dealing with graphics is not my cup of
tea, even if I want to in this case... I was sort of wondering/hoping
if I could convince you to review my
instance TypeableFloat n => Renderable (Text n) Braille
and maybe find an improvement on the current implementation?
Also, since there is a diagrams project on github, I was wondering if
you are interested in moving diagrams-braille there, so that it can be
more easily piced up by other diagrams users?
[1] https://github.com/mlang/diagrams-braille
P.S.: Thanks for diagrams! Diving into its source code taught me a lot
of things.
--
CYa,
⡍⠁⠗⠊⠕