]> git.eshelyaron.com Git - emacs.git/commit
Fix font weight reporting on macOS
authorPo Lu <luangruo@yahoo.com>
Thu, 5 May 2022 09:01:53 +0000 (17:01 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 5 May 2022 09:01:53 +0000 (17:01 +0800)
commit30caeb789659441f8feb76b24f3d0b1f60125085
tree1a107350480aacd4008b45faefb79587556aeeec
parent1bfea2ae6948fab9b1e0d7530d10173def070f79
Fix font weight reporting on macOS

* src/macfont.m (macfont_store_descriptor_attributes): Fix
numeric values for the addition of `medium'.

* src/nsterm.m (ns_font_desc_to_font_spec): Adjust accordingly.
(ns_create_font_panel_buttons): Try to fix button width.
src/macfont.m
src/nsterm.m