iFix vertical character alignment in some cases - st - Simple Terminal Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/st//log.gph gopher.r-36.net 70 1Files /scm/st//files.gph gopher.r-36.net 70 1Refs /scm/st//refs.gph gopher.r-36.net 70 1README /scm/st//file/README.gph gopher.r-36.net 70 1LICENSE /scm/st//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit 0e48a1995eee1c2babc58523ef0be296e4b1c3e8 /scm/st//commit/0e48a1995eee1c2babc58523ef0be296e4b1c3e8.gph gopher.r-36.net 70 1parent 6d8f85232ec741ae2357728d6e96cb8a44e842b4 /scm/st//commit/6d8f85232ec741ae2357728d6e96cb8a44e842b4.gph gopher.r-36.net 70 hAuthor: Ton van den Heuvel URL:mailto:tonvandenheuvel@gmail.com gopher.r-36.net 70 iDate: Mon, 7 Mar 2016 22:18:12 +0100 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iFix vertical character alignment in some cases Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iThe y-position of a character found by asking fontconfig for a matching Err gopher.r-36.net 70 ifont does not take the border pixels into account, resulting in a Err gopher.r-36.net 70 islightly misaligned vertical position. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iSigned-off-by: Ton van den Heuvel Err gopher.r-36.net 70 iSigned-off-by: Christoph Lohmann <20h@r-36.net> Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i st.c | 2 +- Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i1 file changed, 1 insertion(+), 1 deletion(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/st.c b/st.c /scm/st//file/st.c.gph gopher.r-36.net 70 i@@ -3671,7 +3671,7 @@ xmakeglyphfontspecs(XftGlyphFontSpec *specs, const Glyph *glyphs, int len, int x Err gopher.r-36.net 70 i specs[numspecs].font = frc[f].font; Err gopher.r-36.net 70 i specs[numspecs].glyph = glyphidx; Err gopher.r-36.net 70 i specs[numspecs].x = (short)xp; Err gopher.r-36.net 70 i- specs[numspecs].y = (short)(winy + frc[f].font->ascent); Err gopher.r-36.net 70 i+ specs[numspecs].y = (short)yp; Err gopher.r-36.net 70 i xp += runewidth; Err gopher.r-36.net 70 i numspecs++; Err gopher.r-36.net 70 i } Err gopher.r-36.net 70 .