From 51e31f7a01209e51a1c66b5e14ad682611e3ae2a Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 27 Dec 1999 03:34:02 +0000 Subject: [PATCH] (struct composition): Change the order of declaring members to reduce the byte size of the structure. --- src/composite.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/composite.h b/src/composite.h index b0af3b7d4ee..61769831cd4 100644 --- a/src/composite.h +++ b/src/composite.h @@ -157,6 +157,9 @@ struct composition { /* Number of glyphs of the composition components. */ unsigned char glyph_len; + /* Width, ascent, and descent pixels of the composition. */ + short pixel_width, ascent, descent; + /* Method of the composition. */ enum composition_method method; @@ -173,10 +176,6 @@ struct composition { registered in composition_table. X-offset and Y-offset of Nth glyph are (2N)th and (2N+1)th elements respectively. */ short *offsets; - - /* Width, ascent, and descent pixels of the composition. */ - short pixel_width, ascent, descent; - }; /* Table of pointers to the structure `composition' indexed by -- 2.39.5