diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2005-09-28 08:15:24 +0000 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2005-09-28 08:15:24 +0000 |
commit | 5e160742aae10f731b5bf269bebeb0fdae636631 (patch) | |
tree | a088c139d608c41a8f8fda48e86e9edec5552570 /src/macgui.h | |
parent | d09c4671f28d641b1c0f2826e507eba10b204580 (diff) | |
download | emacs-5e160742aae10f731b5bf269bebeb0fdae636631.tar.gz |
(struct _XCharStruct): Each member now takes short value.
Diffstat (limited to 'src/macgui.h')
-rw-r--r-- | src/macgui.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/macgui.h b/src/macgui.h index 607890317e1..fc777de03ba 100644 --- a/src/macgui.h +++ b/src/macgui.h @@ -95,11 +95,14 @@ typedef GWorldPtr Pixmap; /* 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) \ |