On Thu, Dec 05, 2019 at 06:19:16PM +0000, sylvain.bertr...@gmail.com wrote: > I know I am walking on eggs: it seems st monospace font rendering with > freetype > (I use dejavu mono) has some vertical and/or horizontal gaps (whatever the > rendering size). > > To illustrate, with lynx web browser: > https://en.wikipedia.org/wiki/Box-drawing_character#Examples > > I don't know what is the bottom of this, anyone?
I've had this same problem since I upgraded to Debian 10. I believe this is due to changes in character bounding box sizes because you can fix this by adjusting cwscale and chscale. On my systems, I only have vertical gaps, and setting chscale to 0.94 removes them. I submitted a patch to the mailing list to allow both values to be specified using absolute values of pixels instead of multipliers (https://lists.suckless.org/hackers/1907/16943.html) so you can ensure bounding boxes were always the same size regardless of what the font library reports character dimensions to be, but it was not committed. Eric