sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (1691B)


      1 boxdraw-legacycomputing
      2 =======================
      3 
      4 Description
      5 -----------
      6 The [boxdraw](https://st.suckless.org/patches/boxdraw/) patch renders lines, blocks, and braille
      7 characters (U+2500 - U+259F, U+28XX) directly instead of relying on font
      8 glyphs. This ensures they align correctly regardless of the font, size, or
      9 scaling.
     10 
     11 This patch extends the same rendering approach to parts of the "Symbols
     12 for Legacy Computing" block (U+1FB00 - U+1FB8B):
     13 
     14 - Sextants - 2x3 grids of filled cells (U+1FB00 - U+1FB3B)
     15 - Eighth-column/eighth-row stripes (U+1FB70 - U+1FB7B)
     16 - Mixed-axis edge stripes (U+1FB7C - U+1FB81)
     17 - Cumulative eighths that fill the gaps left by the U+2500 block's
     18 existing half/full-eighth blocks (U+1FB82 - U+1FB8B)
     19 
     20 Wedges, shades, diagonals, and the pictographic symbols later in the
     21 Legacy Computing block are not covered by this patch and are left to
     22 font fallback.
     23 
     24 #### Example
     25 
     26 Sextants from VTE's [boxes.txt](https://github.com/GNOME/vte/blob/master/doc/boxes.txt) test page.
     27 The left image shows the output without the patch; the right image shows
     28 the output with it:
     29 
     30 ![before](st-boxdraw-legacycomputing-before.png) ![after](st-boxdraw-legacycomputing-after.png)
     31 
     32 #### Notes
     33 
     34 - This patch is based on the boxdraw patch and must be applied after
     35 applying boxdraw.
     36 - It reuses boxdraw's existing `boxdraw` config.h toggle - no separate
     37 configuration option is added.
     38 - The download is a `git format-patch` file. It can be applied with
     39 either `git am ...` or `patch -p1 < ....`
     40 
     41 Download
     42 --------
     43 * [st-boxdraw-legacycomputing-0.9.3.diff](st-boxdraw-legacycomputing-0.9.3.diff)
     44 
     45 Author
     46 ------
     47 * Miloš Stojanović - [https://github.com/M4444](https://github.com/M4444)