]> git.sur5r.net Git - i3/i3/commit
libi3/font: Draw the text at the expected place
authorQuentin Glidic <sardemff7+git@sardemff7.net>
Fri, 27 Sep 2013 13:55:49 +0000 (15:55 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 30 Sep 2013 20:51:52 +0000 (22:51 +0200)
commita49dfaf26c5ad9b899c80a04c739571539d7efb6
tree294bd8cb08c58ea27e208a590296270517b27ab2
parentdbec5eb90585bc22752331f51d8a6bc90d21889c
libi3/font: Draw the text at the expected place

When drawing a text with Pango, shift it to the top according to the top
if the glyph if taller than expected
We always shift of (height - savedHeight) which is a no-op for normal glyphs

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
libi3/font.c