[dev] Bug with line rendering

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Mon, 9 Mar 2015 20:24:14 -0700

While I'm in a bug-reporting mood, there's another problem that's been
plaguing me for a while: sometimes, seemingly at random, the line height
calculations in st seem to get messed up. I suspect it may relate to my
kerning patch, the font-fallback code or both, but since I have not been
able to consistently reproduce the problem, and I don't generally build
st with debug symbols, I've not dug into the issue. I've attached a
screenshot showing the errant rendering. 99% of the time, things are
fine and there are no gaps between the lines like that. In my config.h
file, I have "static float chscale = 1.000001;" which is kludge to work
around a Xft rendering issue as described at [1]. Regardless of the
value of chscale, the line-height rendering shouldn't change arbitrarily
/ randomly.

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

Eric

incorrect-line-heights.png
(image/png attachment: incorrect-line-heights.png)

Received on Tue Mar 10 2015 - 04:24:14 CET

This archive was generated by hypermail 2.3.0 : Tue Mar 10 2015 - 04:36:08 CET