diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2014-07-09 10:25:35 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2014-07-09 10:25:35 +0400 |
commit | 876d043fad0062a85ede5ab4f70c2e7f6d0e77ac (patch) | |
tree | f4371a2bb4fbc392d9cbf96283373cfbff45d9c6 /src/font.h | |
parent | 388b22deb41bd53d9294c0e4dcfb6af286252884 (diff) | |
download | emacs-876d043fad0062a85ede5ab4f70c2e7f6d0e77ac.tar.gz |
Next minor cleanup of font subsystem.
* font.h (enum font_property_index): Remove FONT_ENTITY_INDEX (no
users) and FONT_FORMAT_INDEX (set by a few font drivers but never
really used).
(FONT_ENTITY_NOT_LOADABLE, FONT_ENTITY_SET_NOT_LOADABLE): Remove;
unused.
* ftfont.h (ftfont_font_format): Remove prototype.
* ftfont.c (ftfont_font_format): Remove; now unused.
(ftfont_open):
* nsfont.m (nsfont_open):
* w32font.c (w32font_open_internal):
* w32uniscribe.c (uniscribe_open):
* xfont.c (xfont_open):
* xftfont.c (xftfont_open): All users changed.
Diffstat (limited to 'src/font.h')
-rw-r--r-- | src/font.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/font.h b/src/font.h index 96c030c3af1..5bf0efb738a 100644 --- a/src/font.h +++ b/src/font.h @@ -162,9 +162,6 @@ enum font_property_index /* List of font-objects opened from the font-entity. */ FONT_OBJLIST_INDEX = FONT_SPEC_MAX, - /* Font-entity from which the font-object is opened. */ - FONT_ENTITY_INDEX = FONT_SPEC_MAX, - /* This value is the length of font-entity vector. */ FONT_ENTITY_MAX, @@ -182,9 +179,6 @@ enum font_property_index is not available. */ FONT_FILE_INDEX, - /* Format of the font (symbol) or nil if unknown. */ - FONT_FORMAT_INDEX, - /* This value is the length of font-object vector. */ FONT_OBJECT_MAX }; @@ -442,15 +436,6 @@ struct font_bitmap #define FONT_OBJECT_P(x) \ (FONTP (x) && (ASIZE (x) & PSEUDOVECTOR_SIZE_MASK) == FONT_OBJECT_MAX) -/* True iff ENTITY can't be loaded. */ -#define FONT_ENTITY_NOT_LOADABLE(entity) \ - EQ (AREF (entity, FONT_OBJLIST_INDEX), Qt) - -/* Flag ENTITY not loadable. */ -#define FONT_ENTITY_SET_NOT_LOADABLE(entity) \ - ASET (entity, FONT_OBJLIST_INDEX, Qt) - - /* Check macros for various font-related objects. */ #define CHECK_FONT(x) \ |