Mercurial > emacs
changeset 65720:ffb004cd9a2f
(struct _XCharStruct): Each member now takes short value.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Wed, 28 Sep 2005 08:15:24 +0000 |
parents | 5265a4059126 |
children | f696839bc4b1 |
files | src/macgui.h |
diffstat | 1 files changed, 8 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/macgui.h Wed Sep 28 05:26:02 2005 +0000 +++ b/src/macgui.h Wed Sep 28 08:15:24 2005 +0000 @@ -95,11 +95,14 @@ /* Emulate XCharStruct. */ typedef struct _XCharStruct { - int rbearing; - int lbearing; - int width; - int ascent; - int descent; + short lbearing; /* origin to left edge of raster */ + short rbearing; /* origin to right edge of raster */ + short width; /* advance to next char's origin */ + short ascent; /* baseline to top edge of raster */ + short descent; /* baseline to bottom edge of raster */ +#if 0 + unsigned short attributes; /* per char flags (not predefined) */ +#endif } XCharStruct; #define STORE_XCHARSTRUCT(xcs, w, bds) \