summaryrefslogtreecommitdiff
path: root/src/font.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2014-07-04 06:28:54 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2014-07-04 06:28:54 +0400
commit9d7b0167fdd06638e019103ef1b77e5956d7fb7b (patch)
treea086d81baec06b2656eb96437935632d1862d497 /src/font.h
parent2b13ca4d11960fe1d8b858a64864d7b74bf60867 (diff)
downloademacs-9d7b0167fdd06638e019103ef1b77e5956d7fb7b.tar.gz
* 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.
Diffstat (limited to 'src/font.h')
-rw-r--r--src/font.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/font.h b/src/font.h
index a41762db975..c23b826bd46 100644
--- a/src/font.h
+++ b/src/font.h
@@ -614,15 +614,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
the operations was successful. Otherwise return -1. */