From 9d7b0167fdd06638e019103ef1b77e5956d7fb7b Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Fri, 4 Jul 2014 06:28:54 +0400 Subject: * font.h (struct font_driver): Remove get_outline and free_outline; not used by any font driver. * ftfont.c (ftfont_driver): * macfont.m (macfont_driver): * nsfont.m (nsfont_driver): * w32font.c (w32font_driver): * w32uniscribe.c (uniscribe_font_driver): * xfont.c (xfont_driver): Related users changed. * xselect.c (x_get_window_property): Use convenient xmalloc. Call to xfree only if some data was really allocated. --- src/font.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/font.h') diff --git a/src/font.h b/src/font.h index a41762db975..c23b826bd46 100644 --- a/src/font.h +++ b/src/font.h @@ -613,15 +613,6 @@ struct font_driver #endif /* HAVE_WINDOW_SYSTEM */ - /* Optional. - Return an outline data for glyph-code CODE of FONT. The format - of the outline data depends on the font-driver. */ - void *(*get_outline) (struct font *font, unsigned code); - - /* Optional. - Free OUTLINE (that is obtained by the above method). */ - void (*free_outline) (struct font *font, void *outline); - /* Optional. Get coordinates of the INDEXth anchor point of the glyph whose code is CODE. Store the coordinates in *X and *Y. Return 0 if -- cgit v1.2.1