spark-wallet
spark-wallet copied to clipboard
fix console font to be monospaced also for box drawing chars
The c-lightning summary plugin ( https://github.com/lightningd/plugins/tree/master/summary ) prints box drawing unicode characters. Turns out the current UI font is not able to monospace them correctly. See attached screenshot, the bars should be aligned in the middle.
https://en.wikipedia.org/wiki/Box_Drawing_(Unicode_block)
Sounds acceptable to me. Have you tried running it with a monospace font? does it looks good?
@shesek I tested it only on my nodes CLI and yes there it looks good. From the screenshot above you can see that the app already uses a fixed font for that activity, BUT the box drawing chars are not fixed for this font. Which some fixed fonts have, as the box chars are UTF8 stuff.
@m-schmoock Any idea which font would be suitable here?
A small research gave me this: https://stackoverflow.com/a/52712484/884474
Try using Lucida Sans Typewriter
. If that doesn't work, try to ship it with
https://madmalik.github.io/mononoki or https://github.com/adobe-fonts/source-code-pro . Not sure if embedding a special font in the app is an option. So lets hope Lucida Sans Typewriter
does the job ;)