]> git.eshelyaron.com Git - emacs.git/commit
Fix line dimensions from line-height property
authorEli Zaretskii <eliz@gnu.org>
Fri, 29 May 2015 14:09:45 +0000 (17:09 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 29 May 2015 14:09:45 +0000 (17:09 +0300)
commit5f734fa045c7d10c46c3a25ddd6e5f3d6b45182a
tree43cfbd63498ba646e8df0aa15236278c853fef0b
parentc5228486590c1f31c56f9ea67667617966818cba
Fix line dimensions from line-height property

* src/xdisp.c (normal_char_ascent_descent): New function,
extracted from produce_glyphless_glyph.
(calc_line_height_property, produce_glyphless_glyph): Use it to
compute reasonable estimates of ascent and descent for large
fonts.
src/xdisp.c