Re: [dev] [st] [PATCH] Explicit cast in CEIL macro

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Tue, 24 Jun 2014 13:54:00 -0500

On Tue, Jun 24, 2014 at 08:19:34PM +0200, FRIGN wrote:
> But who'd specify a scaling factor of 1.99999 or sth.?

I have a height scaling factor of 1.0001 in my configuration file, and
the only reason I even bothered to implement the kerning patch in the
first place was to work around a rendering issue that crops up with Deja
Vu Sans mono; see [1] for more information. In my Xresources file I have
"xterm*scaleHeight: 1.0000001" to fix the issue in xterm. To make the
underscore show up, I need the line height to be exactly one pixel
larger, so I pick a value just large enough to make it round up no more
than one pixel.

  [1]: http://www.linuxquestions.org/questions/slackware-14/underline-_-in-xterm-invisible-4175434364/page2.html

Eric
Received on Tue Jun 24 2014 - 20:54:00 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 24 2014 - 21:00:09 CEST