Commit 51e31f7a authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(struct composition): Change the order of declaring

members to reduce the byte size of the structure.
parent 5bcd116c
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment