diff options
| author | Miles Bader | 2005-01-24 22:34:31 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-01-24 22:34:31 +0000 |
| commit | 87795686a9e8ea51ec492d01d7dce4698b14f3af (patch) | |
| tree | 737f41796d19fc2dae8a9b77ecf372ae9cca9f01 /src/macgui.h | |
| parent | 7ed0a705d1cf6dcf340b3407bbffd21f1cfbc925 (diff) | |
| parent | 6adb6f01302f35954f3b50bbf8ae8d94af268792 (diff) | |
| download | emacs-87795686a9e8ea51ec492d01d7dce4698b14f3af.tar.gz emacs-87795686a9e8ea51ec492d01d7dce4698b14f3af.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-6
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-48
- miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-51
Update from CVS
Diffstat (limited to 'src/macgui.h')
| -rw-r--r-- | src/macgui.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/macgui.h b/src/macgui.h index 1e1447dfaa8..cb157bb8c25 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -92,6 +92,13 @@ typedef struct _XCharStruct | |||
| 92 | int descent; | 92 | int descent; |
| 93 | } XCharStruct; | 93 | } XCharStruct; |
| 94 | 94 | ||
| 95 | #define STORE_XCHARSTRUCT(xcs, w, bds) \ | ||
| 96 | ((xcs).width = (w), \ | ||
| 97 | (xcs).lbearing = (bds).left, \ | ||
| 98 | (xcs).rbearing = (bds).right, \ | ||
| 99 | (xcs).ascent = -(bds).top, \ | ||
| 100 | (xcs).descent = (bds).bottom) | ||
| 101 | |||
| 95 | struct MacFontStruct { | 102 | struct MacFontStruct { |
| 96 | char *fontname; | 103 | char *fontname; |
| 97 | 104 | ||