Commit graph

6 commits

Author SHA1 Message Date
Daniel Eklöf
a692ecf656
box-drawing: add {h,v}line_middle_{left,right,up,down} primitives
All solid lines LIGHT/HEAVY line drawings implemented so far can be
implemented in terms of these.
2021-01-01 21:09:32 +01:00
Daniel Eklöf
4f6595c0f3
box-drawing: HEAVY versions of solid lines 2021-01-01 21:09:32 +01:00
Daniel Eklöf
032da5b14e
box-drawing: break out thickness calculation 2021-01-01 21:09:32 +01:00
Daniel Eklöf
fc95c7f48c
box-drawing: initial set of LIGHT box drawings
* 2500
* 2502
* 250c
* 2510
* 2514
* 2518
* 251c
* 2524
* 252c
* 2534
* 253c
2021-01-01 21:09:31 +01:00
Daniel Eklöf
92dc581bea
box-drawing: fix compilation error on 32-bit; wc is int on 64-bit, long on 32-bit 2021-01-01 21:09:31 +01:00
Daniel Eklöf
7acdb3a0dd
box-drawing: add infrastructure for rendering box drawing characters ourselves
* ‘term’ struct contains an array of 160 fcft glyph pointers
* the glyph pointers are lazily allocated when we need to draw a box
  drawings character
* Filtering out box drawings characters is easy - they are (except
  unicode 13, which isn’t handled yet )all in a single range.
2021-01-01 21:09:31 +01:00