summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2005-11-13 05:48:59 +0000
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>2005-11-13 05:48:59 +0000
commit29b585dbc628abff2e9d3d036837901dbaf2ccdb (patch)
tree81ebffa41d869e0a6d7e9049e7be2a8ec75a0c0e
parent16805b2eef3e21ef98353c2eee6e28519f2dd245 (diff)
downloademacs-29b585dbc628abff2e9d3d036837901dbaf2ccdb.tar.gz
(LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'.
-rw-r--r--src/ChangeLog21
-rw-r--r--src/s/darwin.h2
2 files changed, 21 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ca03376afb5..07ebb7a9e3f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,22 @@
+2005-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+
+ * macgui.h (USE_CG_TEXT_DRAWING): New define.
+ (struct MacFontStruct) [USE_CG_TEXT_DRAWING]: New members cg_font
+ and cg_glyphs.
+
+ * macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function.
+ (x_draw_glyph_string_foreground) [USE_CG_TEXT_DRAWING]: Use it.
+ (XLoadQueryFont) [USE_CG_TEXT_DRAWING]: Set members cg_font and
+ cg_glyphs in struct MacFontStruct if synthesized bold or italic is
+ not used and font substitution never occurs for ASCII and Latin-1
+ characters.
+ (XLoadQueryFont): Maximum and minimum metrics are now those among
+ ASCII characters.
+ (XLoadQueryFont) [!MAC_OS8 || USE_ATSUI]: Apply WebKit-style
+ height adjustments for Courier, Helvetica, and Times.
+
+ * s/darwin.h (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'.
+
2005-11-11 David Reitter <david.reitter@gmail.com>
* macterm.c (syms_of_macterm): Remove macCtrlKey, macShiftKey,
@@ -260,7 +279,7 @@
from last_mouse_glyph_frame, and update last_mouse_glyph_frame.
(XTmouse_position): Set last_mouse_glyph_frame.
(XTread_socket): Clear last_mouse_glyph_frame on mouse up/down event.
- (mac_draw_string_common) [MAC_OSX && WORDS_BIG_ENDIAN]: Fix typo.
+ (mac_draw_string_common) [USE_ATSUI && WORDS_BIG_ENDIAN]: Fix typo.
Use EndianU16_BtoN.
(mac_draw_string_common) [MAC_OSX]: Don't use ATSUClearLayoutControls.
(x_per_char_metric, XLoadQueryFont)
diff --git a/src/s/darwin.h b/src/s/darwin.h
index 17188f42996..6227010e3ed 100644
--- a/src/s/darwin.h
+++ b/src/s/darwin.h
@@ -269,7 +269,7 @@ Boston, MA 02110-1301, USA. */
#ifdef HAVE_CARBON
#define LIBS_CARBON -framework Carbon -framework QuickTime
#else
-#define LIBS_CARBON -framework Carbon
+#define LIBS_CARBON
#endif
/* The -headerpad option tells ld (see man page) to leave room at the