]> git.eshelyaron.com Git - emacs.git/commit
Remove obsolete macOS support for NS font backend
authorAlan Third <alan@idiocy.org>
Fri, 25 Sep 2020 13:32:56 +0000 (14:32 +0100)
committerAlan Third <alan@idiocy.org>
Fri, 25 Sep 2020 16:19:00 +0000 (17:19 +0100)
commitdd6876d6e2c57c003edbfe2fb4b12b3dd3e253b8
tree8054f397ead5567db431c74c3f5bb4bf65da9602
parentc4c5db3de70b55f8bc03c9fee35e29d60f41f16e
Remove obsolete macOS support for NS font backend

The ns font backend is has been disabled on macOS for a long time and
doesn't work correctly even if re-enabled.

* src/nsfont.m:
(ns_char_width):
(ns_ascii_average_width):
(ns_get_covering_families):
(nsfont_open):
(nsfont_close):
(nsfont_draw):
(ns_uni_to_glyphs):
(ns_glyph_metrics):
(EmacsGlyphStorage): Remove all Cocoa only code.
* src/nsterm.h (EmacsGlyphStorage): Remove.
(struct nsfont_info): Make GNUstep only.
* src/nsterm.m (ns_compute_glyph_string_overhangs): Remove GNUstep
only code from Cocoa builds.
src/nsfont.m
src/nsterm.h
src/nsterm.m