# HG changeset patch # User Kenichi Handa # Date 1088576012 0 # Node ID ad8c5c667a14ef2c363055298a67947ddb9ef109 # Parent c254de7b810cce5abe341288e6e88627c70e4db6 (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. diff -r c254de7b810c -r ad8c5c667a14 src/xfaces.c --- 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