From: YAMAMOTO Mitsuharu Date: Wed, 28 Sep 2005 08:15:50 +0000 (+0000) Subject: (struct _XCharStruct): Each member now takes short value. X-Git-Tag: emacs-pretest-22.0.90~6924 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eaf92438847cbd1e005730f6987c067aa21fee00;p=emacs.git (struct _XCharStruct): Each member now takes short value. --- diff --git a/src/ChangeLog b/src/ChangeLog index 51af064232b..0a110990244 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-09-28 YAMAMOTO Mitsuharu + + * macgui.h (struct _XCharStruct): Each member now takes short value. + 2005-09-27 Dan Nicolaescu * xfaces.c (lookup_derived_face): Add parameter type. 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) \