]> git.eshelyaron.com Git - emacs.git/commit
Properly compute overhangs for overstruck text
authorPo Lu <luangruo@yahoo.com>
Thu, 2 Nov 2023 05:18:37 +0000 (13:18 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 2 Nov 2023 05:18:37 +0000 (13:18 +0800)
commitdbcb4cedd0a78b7ea8447c84c3da104edc2d4b14
tree75c0a1a5d82dbdc8b0721728b904700a8edb24d8
parent078cfe807295038fa321c9297e24de5145065622
Properly compute overhangs for overstruck text

* src/xdisp.c (get_glyph_face_and_encoding): Account for
non-character glyphs by not attempting to translate them to
characters.
(gui_get_glyph_overhangs, gui_produce_glyphs): If the face is
overstruck, increase the right side bearing by 1 pixel.
src/xdisp.c