Re: [dev] [st] monospace rendering gaps

From: <sylvain.bertrand_AT_gmail.com>
Date: Sat, 7 Dec 2019 03:50:09 +0000

On Fri, Dec 06, 2019 at 10:55:27AM -0800, Eric Pruitt wrote:
> 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.

I did fool around with your patch and the dejavu font: when I forced the
pixel size I got those gaps. Not to mention the anti-aliasing seems to be
involved.

It looks like we are digging out freetype/ttf demons?

-- 
Sylvain
Received on Sat Dec 07 2019 - 04:50:09 CET

This archive was generated by hypermail 2.3.0 : Sat Dec 07 2019 - 06:36:09 CET