summaryrefslogtreecommitdiff
path: root/src/uterm_input.c
diff options
context:
space:
mode:
authorChang Liu <cl91tp@gmail.com>2013-03-09 12:26:48 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2013-03-09 12:26:48 +0100
commite874518153e509b74aa8e3e52b02642718eb5575 (patch)
tree111c82631c68b95fe19b739947ce7990493a5c5e /src/uterm_input.c
parent1658bd82164c50cc048bae5a28cd223a7d45ff1e (diff)
font: pango: fix vertical alignment of non-ASCII glyphs
pango_ft2_render_layout_line() requires the baseline offset as argument, not the vertical extent of the glyphs. This is important as we currently align glyphs to the bottom edge instead of the baseline. Fix this by passing the cached baseline offset so all glyphs are correctly aligned to the baseline. We then clip according to the cell-extents as usual. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Diffstat (limited to 'src/uterm_input.c')
0 files changed, 0 insertions, 0 deletions