# HG changeset patch # User Kenichi Handa # Date 1149565845 0 # Node ID 205c3ef6224378a5ce9bc3b221966a6ded4bff4a # Parent 3dc2ea167cafd31cf9237d5846f9d2424d10193a (struct glyph_string) [USE_FONT_BACKEND]: New members clip_x, clip_y, clip_width, and clip_height. (struct face) [USE_FONT_BACKEND]: New members font_info and extra. diff -r 3dc2ea167caf -r 205c3ef62243 src/dispextern.h --- a/src/dispextern.h Tue Jun 06 03:49:53 2006 +0000 +++ b/src/dispextern.h Tue Jun 06 03:50:45 2006 +0000 @@ -1220,6 +1220,11 @@ *clip_tail, not including their overhangs. */ struct glyph_string *clip_head, *clip_tail; +#ifdef USE_FONT_BACKEND + /* The current clipping area. */ + int clip_x, clip_y, clip_width, clip_height; +#endif /* USE_FONT_BACKEND */ + struct glyph_string *next, *prev; }; @@ -1476,6 +1481,10 @@ reallocated. */ int font_info_id; +#ifdef USE_FONT_BACKEND + struct font_info *font_info; +#endif /* USE_FONT_BACKEND */ + /* Fontset ID if for this face's fontset. Non-ASCII faces derived from the same ASCII face have the same fontset. */ int fontset; @@ -1558,6 +1567,11 @@ Otherwise, this points to an ASCII face that has the same attributes except the font. */ struct face *ascii_face; + +#ifdef USE_FONT_BACKEND + /* Extra member that a font-driver uses privately. */ + void *extra; +#endif /* USE_FONT_BACKEND */ };