Mercurial > emacs
diff src/macgui.h @ 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 | bd6366e3f520 |
| children | 3b00e34812bb b1c1fc853d2f |
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) \
