aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.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/mac.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/mac.c')
-rw-r--r--src/mac.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mac.c b/src/mac.c
index adf1dff3157..c7a9cd35f28 100644
--- a/src/mac.c
+++ b/src/mac.c
@@ -40,6 +40,7 @@ Boston, MA 02111-1307, USA. */
40#undef free 40#undef free
41#undef malloc 41#undef malloc
42#undef realloc 42#undef realloc
43#undef init_process
43#include <Carbon/Carbon.h> 44#include <Carbon/Carbon.h>
44#undef free 45#undef free
45#define free unexec_free 46#define free unexec_free
@@ -47,6 +48,8 @@ Boston, MA 02111-1307, USA. */
47#define malloc unexec_malloc 48#define malloc unexec_malloc
48#undef realloc 49#undef realloc
49#define realloc unexec_realloc 50#define realloc unexec_realloc
51#undef init_process
52#define init_process emacs_init_process
50#else /* not MAC_OSX */ 53#else /* not MAC_OSX */
51#include <Files.h> 54#include <Files.h>
52#include <MacTypes.h> 55#include <MacTypes.h>