Commit 8443e69e authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(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.
parent f30d8d94
......@@ -1220,6 +1220,11 @@ struct glyph_string
*clip_tail, not including their overhangs. */
struct glyph_string *clip_head, *clip_tail;
/* 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 @@ struct face
reallocated. */
int font_info_id;
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 @@ struct face
Otherwise, this points to an ASCII face that has the same
attributes except the font. */
struct face *ascii_face;
/* Extra member that a font-driver uses privately. */
void *extra;
#endif /* USE_FONT_BACKEND */
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