summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorEden Bynever <edenbynever@proton.me>2024-05-19 07:19:40 -0400
committerEden Bynever <edenbynever@proton.me>2024-05-19 07:19:40 -0400
commitdc2c565fac0fe747b33899eea0425bac101ddf6d (patch)
tree8fa38423c53c825a396c7ff2468d3b58332a0d9d /autogen.sh
parent400dbeda3b1e43f7815f596679bd785e7dbb7a4d (diff)
Draw truecolor icons using dual-color half blocksmaster
The vast majority of monospaced fonts are roughly half as wide as they are tall; to account for this when displaying icons, `xprop` draws each pixel twice in the horizontal, which nicely evens out the proportions. This patch utilizes the Lower Half Block character (▄) to obtain the same result in a quarter of the space. By setting both a background and a foreground color, we can draw two pixels per character cell, thereby halving the apparent height of an icon rather than doubling its width. Signed-off-by: Eden Bynever <edenbynever@proton.me> Part-of: <https://gitlab.freedesktop.org/xorg/app/xprop/-/merge_requests/10>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions