]> git.eshelyaron.com Git - emacs.git/commit
Make the NS font dialog return more correct values
authorPo Lu <luangruo@yahoo.com>
Mon, 2 May 2022 01:32:54 +0000 (09:32 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 2 May 2022 01:32:54 +0000 (09:32 +0800)
commit7b05f351f26849ab31d9425e585f7a418496a574
treea7fa950d7be94a27ca7981eb40d36c1dee32a820
parent4fac694669fc138296f4d42706cdee269dca8a1c
Make the NS font dialog return more correct values

* src/nsfns.m (Fx_select_font): Update doc string.
* src/nsterm.m (ns_font_desc_to_font_spec): New
function.
([EmacsView showFontPanel]): Return selected font as a
font spec instead.
src/nsfns.m
src/nsterm.m