#define FACE_FROM_ID(F, ID) \
(eassert (UNSIGNED_CMP (ID, <, FRAME_FACE_CACHE (F)->used)), \
- eassume (FRAME_FACE_CACHE (F)->faces_by_id[ID]), \
FRAME_FACE_CACHE (F)->faces_by_id[ID])
/* Return a pointer to the face with ID on frame F, or null if such a
#define IMAGE_FROM_ID(F, ID) \
(eassert (UNSIGNED_CMP (ID, <, FRAME_IMAGE_CACHE (F)->used)), \
- eassume (FRAME_IMAGE_CACHE (F)->images[ID]), \
FRAME_IMAGE_CACHE (F)->images[ID])
/* Value is a pointer to the image with id ID on frame F, or null if
{
eassert (s->first_glyph->type == IMAGE_GLYPH);
s->img = IMAGE_FROM_ID (s->f, s->first_glyph->u.img_id);
+ eassert (s->img);
s->slice = s->first_glyph->slice.img;
s->face = FACE_FROM_ID (s->f, s->first_glyph->face_id);
s->font = s->face->font;