Mercurial > emacs
comparison src/macmenu.c @ 45848:39cdf9669519
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.
author | Andrew Choi <akochoi@shaw.ca> |
---|---|
date | Sun, 16 Jun 2002 23:08:57 +0000 |
parents | 4b23b784713d |
children | 1fb8f75062c6 |
comparison
equal
deleted
inserted
replaced
45847:b8222731ac88 | 45848:39cdf9669519 |
---|---|
44 #undef realloc | 44 #undef realloc |
45 /* Macros max and min defined in lisp.h conflict with those in | 45 /* Macros max and min defined in lisp.h conflict with those in |
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) |
52 #undef free | 53 #undef free |
53 #define free unexec_free | 54 #define free unexec_free |
57 #define realloc unexec_realloc | 58 #define realloc unexec_realloc |
58 #undef min | 59 #undef min |
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> |
65 #include <QuickDraw.h> | 68 #include <QuickDraw.h> |
66 #include <ToolUtils.h> | 69 #include <ToolUtils.h> |