{
/* Attempt to catch subtle bugs like Bug#16140. */
eassert (valid_font_driver (drv));
- drv->close (font);
+ drv->close_font (font);
}
}
}
if (! NILP (AREF (val, FONT_TYPE_INDEX)))
{
eassert (font && driver == font->driver);
- driver->close (font);
+ driver->close_font (font);
}
}
if (driver->free_entity)
/* Already closed. */
return;
FONT_ADD_LOG ("close", font_object, Qnil);
- font->driver->close (font);
+ font->driver->close_font (font);
#ifdef HAVE_WINDOW_SYSTEM
eassert (FRAME_DISPLAY_INFO (f)->n_fonts);
FRAME_DISPLAY_INFO (f)->n_fonts--;
int pixel_size);
/* Close FONT. NOTE: this can be called by GC. */
- void (*close) (struct font *font);
+ void (*close_font) (struct font *font);
/* Prepare FACE for displaying characters by FONT on frame F by
storing some data in FACE->extra. */
.match = ftcrfont_match,
.list_family = ftfont_list_family,
.open_font = ftcrfont_open,
- .close = ftcrfont_close,
+ .close_font = ftcrfont_close,
.has_char = ftcrfont_has_char,
.encode_char = ftcrfont_encode_char,
.text_extents = ftcrfont_text_extents,
.match = ftfont_match,
.list_family = ftfont_list_family,
.open_font = ftfont_open,
- .close = ftfont_close,
+ .close_font = ftfont_close,
.has_char = ftfont_has_char,
.encode_char = ftfont_encode_char,
.text_extents = ftfont_text_extents,
.match = ftxfont_match,
.list_family = ftfont_list_family,
.open_font = ftxfont_open,
- .close = ftxfont_close,
+ .close_font = ftxfont_close,
.has_char = ftfont_has_char,
.encode_char = ftfont_encode_char,
.text_extents = ftfont_text_extents,
.list_family = macfont_list_family,
.free_entity = macfont_free_entity,
.open_font = macfont_open,
- .close = macfont_close,
+ .close_font = macfont_close,
.has_char = macfont_has_char,
.encode_char = macfont_encode_char,
.text_extents = macfont_text_extents,
.match = nsfont_match,
.list_family = nsfont_list_family,
.open_font = nsfont_open,
- .close = nsfont_close,
+ .close_font = nsfont_close,
.has_char = nsfont_has_char,
.encode_char = nsfont_encode_char,
.text_extents = nsfont_text_extents,
.match = xfont_match,
.list_family = xfont_list_family,
.open_font = xfont_open,
- .close = xfont_close,
+ .close_font = xfont_close,
.prepare_face = xfont_prepare_face,
.has_char = xfont_has_char,
.encode_char = xfont_encode_char,
.match = xftfont_match,
.list_family = ftfont_list_family,
.open_font = xftfont_open,
- .close = xftfont_close,
+ .close_font = xftfont_close,
.prepare_face = xftfont_prepare_face,
.done_face = xftfont_done_face,
.has_char = xftfont_has_char,