]> git.eshelyaron.com Git - emacs.git/commit
Fix text metrics calculation in Xft support for lwlib
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 21 Apr 2019 02:39:06 +0000 (11:39 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 21 Apr 2019 02:39:06 +0000 (11:39 +0900)
commit21db386ac0df26f0b1a549e0bd4f83c5bbce6361
tree6a4eada8b92db7f4ccf684299677562656997481
parent6a373e4742386777fe901f040bdcaf0c9056fa70
Fix text metrics calculation in Xft support for lwlib

* lwlib/lwlib-Xaw.c (get_text_width_and_height) [HAVE_XFT]:
* lwlib/xlwmenu.c (string_width) [HAVE_XFT]: Use xOff member instead of width.
lwlib/lwlib-Xaw.c
lwlib/xlwmenu.c