Mercurial > emacs
changeset 89950:ad8c5c667a14
(split_font_name_into_vector, build_font_name_from_vector)
(lookup_non_ascii_face, realize_non_ascii_face): Define them only
whne HAVE_WINDOW_SYSTEM is defined.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 30 Jun 2004 06:13:32 +0000 |
parents | c254de7b810c |
children | aafd98bcc2ac |
files | src/xfaces.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfaces.c Wed Jun 30 04:21:13 2004 +0000 +++ b/src/xfaces.c Wed Jun 30 06:13:32 2004 +0000 @@ -2159,6 +2159,8 @@ return face_numeric_value (swidth_table, DIM (swidth_table), width); } +#ifdef HAVE_WINDOW_SYSTEM + Lisp_Object split_font_name_into_vector (fontname) Lisp_Object fontname; @@ -2216,8 +2218,6 @@ return fontname; } -#ifdef HAVE_WINDOW_SYSTEM - /* Return non-zero if FONT is the name of a fixed-pitch font. */ static INLINE int @@ -5679,7 +5679,7 @@ return face->id; } - +#ifdef HAVE_WINDOW_SYSTEM /* Look up a realized face that has the same attributes as BASE_FACE except for the font in the face cache of frame F. If FONT_ID is not negative, it is an ID number of an already opened font that is @@ -5722,6 +5722,7 @@ return face->id; } +#endif /* HAVE_WINDOW_SYSTEM */ /* Return the face id of the realized face for named face SYMBOL on frame F suitable for displaying ASCII characters. Value is -1 if @@ -7201,6 +7202,7 @@ } +#ifdef HAVE_WINDOW_SYSTEM /* Realize the fully-specified face that has the same attributes as BASE_FACE except for the font on frame F. If FONT_ID is not negative, it is an ID number of an already opened font that should @@ -7243,6 +7245,7 @@ return face; } +#endif /* HAVE_WINDOW_SYSTEM */ /* Realize the fully-specified face with attributes ATTRS in face