sites

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

index.md (1773B)


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