]> git.eshelyaron.com Git - emacs.git/commit
Fix monospace font calculations on macOS
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 12 Aug 2020 11:15:44 +0000 (13:15 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 12 Aug 2020 11:15:44 +0000 (13:15 +0200)
commitfdba95d2f8cc557b9b214c21f54bc8467900c763
treef0c027c7872d4601241c02e8c8f33f4f45054683
parent88567ca8ecb505a59157af6338ebe355a304182b
Fix monospace font calculations on macOS

* src/macfont.m (macfont_monospace_width_multiplier): New function
to compute the width for monospace fonts (bug#24582).
(macfont_glyph_extents): Fix monospace glyph computation.
(macfont_shape): Ditto.
src/macfont.m