aboutsummaryrefslogtreecommitdiffstats
path: root/src/macmenu.c
diff options
context:
space:
mode:
authorAndrew Choi2002-06-16 23:08:57 +0000
committerAndrew Choi2002-06-16 23:08:57 +0000
commitf00691a3e4e5b7997ee7efe6e745d1158a439b21 (patch)
tree036f7ab41500e1da9f67cd9399a8589a78052e1d /src/macmenu.c
parent5fd4d15974c8437440a1b249feab59fb1fea5866 (diff)
downloademacs-f00691a3e4e5b7997ee7efe6e745d1158a439b21.tar.gz
emacs-f00691a3e4e5b7997ee7efe6e745d1158a439b21.zip
In src/:
2002-06-16 Andrew Choi <akochoi@shaw.ca> * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of Vdefault_fontset to Monaco with mac-roman coding. * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine init_process before and after inclusion of Carbon/Carbon.h, resp. * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and cursor_gc. (add_font_name_table_entry): New function. (init_font_name_table): Use add_font_name_table_entry; add italic, bold, and bold-italic entries for truetype fonts. * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces for Mac too. (try_font_list) [MAC_OS]: If no font matches given registry, try fonts with any registry matching face_family. (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. * s/darwin.h: If autoconf detects the Ncurses library, define LIBS_TERMCAP to -lncurses to use it. In lisp/: 2002-06-16 Andrew Choi <akochoi@shaw.ca> * term/mac-win.el (scalable-fonts-allowed): Set to t.
Diffstat (limited to 'src/macmenu.c')
-rw-r--r--src/macmenu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/macmenu.c b/src/macmenu.c
index f98be4f4831..5976dad767d 100644
--- a/src/macmenu.c
+++ b/src/macmenu.c
@@ -46,6 +46,7 @@ Boston, MA 02111-1307, USA. */
46 precompiled header Carbon.h. */ 46 precompiled header Carbon.h. */
47#undef max 47#undef max
48#undef min 48#undef min
49#undef init_process
49#include <Carbon/Carbon.h> 50#include <Carbon/Carbon.h>
50#undef Z 51#undef Z
51#define Z (current_buffer->text->z) 52#define Z (current_buffer->text->z)
@@ -59,6 +60,8 @@ Boston, MA 02111-1307, USA. */
59#define min(a, b) ((a) < (b) ? (a) : (b)) 60#define min(a, b) ((a) < (b) ? (a) : (b))
60#undef max 61#undef max
61#define max(a, b) ((a) > (b) ? (a) : (b)) 62#define max(a, b) ((a) > (b) ? (a) : (b))
63#undef init_process
64#define init_process emacs_init_process
62#else /* not MAC_OSX */ 65#else /* not MAC_OSX */
63#include <MacTypes.h> 66#include <MacTypes.h>
64#include <Menus.h> 67#include <Menus.h>