summaryrefslogtreecommitdiff
path: root/src/nsterm.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-12-02 17:35:53 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-12-02 17:35:53 +0400
commitdacc9715a7aaf3e363cf67d6f8f3edd1c5f0e011 (patch)
treea52eccffe0079ea9f605290c8bbd2d85786bed1e /src/nsterm.h
parent0518b057fe4e50664cb84bfb6d8ef24d81c94431 (diff)
downloademacs-dacc9715a7aaf3e363cf67d6f8f3edd1c5f0e011.tar.gz
* font.h (FONT_WIDTH, FONT_HEIGHT, FONT_BASE, FONT_DESCENT):
Define here to unify between... * nsterm.h, w32term.h, xterm.h: ...port-specific headers. * w32term.h (CHECK_W32_FRAME): Remove unused macro.
Diffstat (limited to 'src/nsterm.h')
-rw-r--r--src/nsterm.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nsterm.h b/src/nsterm.h
index 0f22350156e..976347ad3b4 100644
--- a/src/nsterm.h
+++ b/src/nsterm.h
@@ -720,11 +720,6 @@ struct x_output
#define FRAME_NS_TITLEBAR_HEIGHT(f) ((f)->output_data.ns->titlebar_height)
#define FRAME_TOOLBAR_HEIGHT(f) ((f)->output_data.ns->toolbar_height)
-#define FONT_WIDTH(f) ((f)->max_width)
-#define FONT_HEIGHT(f) ((f)->height)
-#define FONT_BASE(f) ((f)->ascent)
-#define FONT_DESCENT(f) ((f)->descent)
-
#define FRAME_DEFAULT_FACE(f) FACE_FROM_ID (f, DEFAULT_FACE_ID)
#define FRAME_NS_VIEW(f) ((f)->output_data.ns->view)