]> git.eshelyaron.com Git - emacs.git/commit
Fix display of composite characters with large fonts
authorEli Zaretskii <eliz@gnu.org>
Sat, 30 May 2015 16:25:53 +0000 (19:25 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 30 May 2015 16:25:53 +0000 (19:25 +0300)
commit643470ff797407b256eea380e0f41d3749400927
treee83f536e29595ae218a41d6fb9a909c305247f81
parentba5f83dfe5dea1b9dd3fca5d21384afc92cd2060
Fix display of composite characters with large fonts

* src/xdisp.c (x_produce_glyphs): Call normal_char_ascent_descent
for reasonable values of font ascent and descent.
(get_font_ascent_descent): New function.

* src/composite.c (composition_gstring_width): Call
get_font_ascent_descent for reasonable values of font ascent and
descent.

* dispextern.h: Add prototype for get_font_ascent_descent.
src/composite.c
src/dispextern.h
src/xdisp.c