]> git.armaanb.net Git - st.git/commit
Fix vertical character alignment in some cases
authorTon van den Heuvel <tonvandenheuvel@gmail.com>
Mon, 7 Mar 2016 21:18:12 +0000 (22:18 +0100)
committerChristoph Lohmann <20h@r-36.net>
Tue, 8 Mar 2016 14:43:52 +0000 (15:43 +0100)
commit0e48a1995eee1c2babc58523ef0be296e4b1c3e8
treee9396279690453ee1c3e4789fd34080dac7cbf0c
parent6d8f85232ec741ae2357728d6e96cb8a44e842b4
Fix vertical character alignment in some cases

The y-position of a character found by asking fontconfig for a matching
font does not take the border pixels into account, resulting in a
slightly misaligned vertical position.

Signed-off-by: Ton van den Heuvel <tonvandenheuvel@gmail.com>
Signed-off-by: Christoph Lohmann <20h@r-36.net>
st.c