face 6577 src/alloc.c struct face *face = FACE_FROM_ID_OR_NULL (c->f, i); face 6579 src/alloc.c if (face) face 6581 src/alloc.c if (face->font && !vectorlike_marked_p (&face->font->header)) face 6582 src/alloc.c mark_vectorlike (&face->font->header); face 6584 src/alloc.c mark_objects (face->lface, LFACE_VECTOR_SIZE); face 942 src/composite.c ptrdiff_t limit, struct window *win, struct face *face, face 974 src/composite.c font_object = font_range (charpos, bytepos, &to, win, face, string, ch); face 1284 src/composite.c signed char bidi_level, struct face *face, Lisp_Object string) face 1336 src/composite.c w, face, string, direction, cmp_it->ch); face 1383 src/composite.c lgstring = autocmp_chars (elt, cpos, bpos, charpos + 1, w, face, face 354 src/composite.h signed char, struct face *, Lisp_Object); face 340 src/dispextern.h #define SET_GLYPH_FACE(glyph, face) ((glyph).face_id = (face)) face 341 src/dispextern.h #define SET_GLYPH(glyph, char, face) \ face 342 src/dispextern.h ((glyph).ch = (char), (glyph).face_id = (face)) face 1352 src/dispextern.h struct face *face; face 1795 src/dispextern.h struct face *next, *prev; face 1800 src/dispextern.h struct face *ascii_face; face 1870 src/dispextern.h struct face **buckets; face 1876 src/dispextern.h struct face **faces_by_id; face 1892 src/dispextern.h FACE_SUITABLE_FOR_ASCII_CHAR_P (struct face *face) face 1895 src/dispextern.h return face == face->ascii_face; face 1907 src/dispextern.h FACE_FOR_CHAR (struct frame *f, struct face *face, int character, face 1911 src/dispextern.h return face_for_char (f, face, character, pos, object); face 1913 src/dispextern.h return face->id; face 2108 src/dispextern.h struct face *face; face 3579 src/dispextern.h int image_ascent (struct image *, struct face *, struct glyph_slice *); face 3608 src/dispextern.h unsigned long load_color (struct frame *, struct face *, Lisp_Object, face 3613 src/dispextern.h void prepare_face_for_display (struct frame *, struct face *); face 3145 src/font.c struct face *def = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 3236 src/font.c font_prepare_for_face (struct frame *f, struct face *face) face 3238 src/font.c if (face->font->driver->prepare_face) face 3239 src/font.c face->font->driver->prepare_face (f, face); face 3246 src/font.c font_done_for_face (struct frame *f, struct face *face) face 3248 src/font.c if (face->font->driver->done_face) face 3249 src/font.c face->font->driver->done_face (f, face); face 3562 src/font.c font_at (int c, ptrdiff_t pos, struct face *face, struct window *w, face 3605 src/font.c if (! face) face 3616 src/font.c face = FACE_FROM_ID (f, face_id); face 3620 src/font.c int face_id = FACE_FOR_CHAR (f, face, c, pos, string); face 3621 src/font.c face = FACE_FROM_ID (f, face_id); face 3623 src/font.c if (! face->font) face 3626 src/font.c XSETFONT (font_object, face->font); face 3666 src/font.c struct window *w, struct face *face, Lisp_Object string, face 3674 src/font.c if (!face) face 3691 src/font.c face = FACE_FROM_ID (f, face_id); face 3707 src/font.c font_object = font_for_char (face, XFIXNAT (val), pos, string); face 3723 src/font.c font_object = font_for_char (face, c, pos - 1, string); face 4522 src/font.c struct face *face = FACE_FROM_ID (f, face_id); face 4523 src/font.c if (! face->font) face 4525 src/font.c unsigned code = face->font->driver->encode_char (face->font, c); face 4529 src/font.c XSETFONT (font_object, face->font); face 5250 src/font.c struct face *face; face 5268 src/font.c face = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 5269 src/font.c face->fontp = font; face 5271 src/font.c font->driver->prepare_face (f, face); face 5273 src/font.c len = font->driver->draw_text (f, face, 0, font->ascent, code, i, width); face 5275 src/font.c font->driver->done_face (f, face); face 5276 src/font.c face->fontp = NULL; face 5368 src/font.c struct face *face = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 5369 src/font.c Lisp_Object entity = font_matching_entity (f, face->lface, name); face 30 src/font.h struct face; face 636 src/font.h void (*prepare_face) (struct frame *f, struct face *face); face 640 src/font.h void (*done_face) (struct frame *f, struct face *face); face 858 src/font.h extern void font_prepare_for_face (struct frame *f, struct face *face); face 859 src/font.h extern void font_done_for_face (struct frame *f, struct face *face); face 889 src/font.h struct window *, struct face *, face 232 src/fontset.c set_fontset_nofont_face (Lisp_Object fontset, Lisp_Object face) face 234 src/fontset.c set_char_table_extras (fontset, 5, face); face 550 src/fontset.c fontset_find_font (Lisp_Object fontset, int c, struct face *face, face 572 src/fontset.c reorder_font_vector (font_group, face->ascii_face->font); face 653 src/fontset.c if (! face) face 660 src/fontset.c font_entity = font_find_for_lface (f, face->lface, face 668 src/fontset.c font_object = font_open_for_lface (f, font_entity, face->lface, face 705 src/fontset.c font_entity = font_find_for_lface (f, face->lface, face 713 src/fontset.c font_object = font_open_for_lface (f, font_entity, face->lface, face 758 src/fontset.c fontset_font (Lisp_Object fontset, int c, struct face *face, int id) face 766 src/fontset.c rfont_def = fontset_find_font (fontset, c, face, id, 0); face 782 src/fontset.c = fontset_find_font (FONTSET_DEFAULT (fontset), c, face, id, 0); face 794 src/fontset.c rfont_def = fontset_find_font (fontset, c, face, id, 1); face 806 src/fontset.c rfont_def = fontset_find_font (FONTSET_DEFAULT (fontset), c, face, id, 1); face 887 src/fontset.c free_face_fontset (struct frame *f, struct face *face) face 891 src/fontset.c fontset = FONTSET_FROM_ID (face->fontset); face 896 src/fontset.c ASET (Vfontset_table, face->fontset, Qnil); face 897 src/fontset.c if (face->fontset < next_fontset_id) face 898 src/fontset.c next_fontset_id = face->fontset; face 908 src/fontset.c next_fontset_id = face->fontset; face 910 src/fontset.c face->fontset = -1; face 918 src/fontset.c face_for_char (struct frame *f, struct face *face, int c, face 926 src/fontset.c return face->ascii_face->id; face 947 src/fontset.c if (face->ascii_face->font) face 949 src/fontset.c XSETFONT (font_object, face->ascii_face->font); face 951 src/fontset.c return face->ascii_face->id; face 962 src/fontset.c if (face->font) face 964 src/fontset.c XSETFONT (font_object, face->font); face 965 src/fontset.c if (font_has_char (f, font_object, c)) return face->id; face 976 src/fontset.c if (face->fontset < 0 && !face->font) face 977 src/fontset.c return face->id; face 979 src/fontset.c eassert (fontset_id_valid_p (face->fontset)); face 980 src/fontset.c fontset = FONTSET_FROM_ID (face->fontset); face 1004 src/fontset.c rfont_def = fontset_font (fontset, c, face, id); face 1014 src/fontset.c face_id = face_for_font (f, font_object, face); face 1024 src/fontset.c face_id = face_for_font (f, Qnil, face); face 1034 src/fontset.c font_for_char (struct face *face, int c, ptrdiff_t pos, Lisp_Object object) face 1043 src/fontset.c XSETFONT (font_object, face->ascii_face->font); face 1047 src/fontset.c eassert (fontset_id_valid_p (face->fontset)); face 1048 src/fontset.c fontset = FONTSET_FROM_ID (face->fontset); face 1071 src/fontset.c rfont_def = fontset_font (fontset, c, face, id); face 1084 src/fontset.c make_fontset_for_ascii_face (struct frame *f, int base_fontset_id, struct face *face) face 1324 src/fontset.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 1327 src/fontset.c free_realized_face (f, face); face 1660 src/fontset.c struct face *face; face 1666 src/fontset.c face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); face 1667 src/fontset.c if (face) face 1668 src/fontset.c font_object = font_load_for_lface (f, face->lface, font_spec); face 31 src/fontset.h struct face; face 33 src/fontset.h extern void free_face_fontset (struct frame *, struct face *); face 34 src/fontset.h extern int face_for_char (struct frame *, struct face *, int, face 36 src/fontset.h extern Lisp_Object font_for_char (struct face *, int, ptrdiff_t, Lisp_Object); face 38 src/fontset.h extern int make_fontset_for_ascii_face (struct frame *, int, struct face *); face 46 src/fontset.h extern int face_for_font (struct frame *, Lisp_Object, struct face *); face 1476 src/frame.h INLINE struct face * face 1486 src/frame.h INLINE struct face * face 607 src/fringe.c Lisp_Object face = fringe_faces[which]; face 608 src/fringe.c face_id = NILP (face) ? lookup_named_face (w, f, Qfringe, false) face 609 src/fringe.c : lookup_derived_face (w, f, face, FRINGE_FACE_ID, 0); face 642 src/fringe.c p.face = FACE_FROM_ID_OR_NULL (f, face_id); face 643 src/fringe.c if (p.face == NULL) face 650 src/fringe.c prepare_face_for_display (f, p.face); face 1686 src/fringe.c (Lisp_Object bitmap, Lisp_Object face) face 1699 src/fringe.c fringe_faces[n] = face; face 547 src/ftcrfont.c be_foreground = s->face->foreground; face 548 src/ftcrfont.c be_background = s->face->background; face 471 src/ftfont.c otf = OTF_open_ft_face (ftfont_info->ft_size->face); face 1550 src/ftfont.c return (FT_Get_Char_Index (ftfont_info->ft_size->face, (FT_ULong) c) face 1561 src/ftfont.c FT_Face ft_face = ftfont_info->ft_size->face; face 1591 src/ftfont.c FT_Face ft_face = ftfont_info->ft_size->face; face 1634 src/ftfont.c FT_Face ft_face = ftfont_info->ft_size->face; face 1678 src/ftfont.c FT_Face ft_face = ftfont_info->ft_size->face; face 2912 src/ftfont.c return ftfont_shape_by_flt (lgstring, font, ftfont_info->ft_size->face, otf, face 2932 src/ftfont.c FT_Face ft_face = ftfont_info->ft_size->face; face 2964 src/ftfont.c = hb_ft_font_create_referenced (ftfont_info->ft_size->face); face 2983 src/ftfont.c hb_face_t *face = hb_ft_face_create_referenced (ft_face); face 2986 src/ftfont.c return face; face 2994 src/ftfont.c hb_face_t *face = otf; face 2999 src/ftfont.c = hb_ot_layout_table_get_script_tags (face, table_tag, 0, NULL, NULL); face 3001 src/ftfont.c hb_ot_layout_table_get_script_tags (face, table_tag, 0, &script_count, face 3017 src/ftfont.c = hb_ot_layout_script_get_language_tags (face, table_tag, script_index, face 3021 src/ftfont.c hb_ot_layout_script_get_language_tags (face, table_tag, script_index, 0, face 3045 src/ftfont.c if (hb_ot_layout_language_find_feature (face, table_tag, script_index, face 2819 src/gtkutil.c const PangoFontFace *face, face 906 src/haikufont.c haikufont_prepare_face (struct frame *f, struct face *face) face 1080 src/haikufont.c struct face *face = s->face; face 1087 src/haikufont.c prepare_face_for_display (s->f, face); face 1091 src/haikufont.c foreground = s->face->foreground; face 1092 src/haikufont.c background = s->face->background; face 1119 src/haikufont.c haiku_draw_background_rect (s, s->face, x, y - ascent, face 605 src/haikuterm.c struct face *face = s->face; face 607 src/haikuterm.c BView_SetHighColor (view, face->box_color); face 630 src/haikuterm.c if (s->face->use_box_color_for_shadows_p) face 631 src/haikuterm.c rgbin = s->face->box_color; face 637 src/haikuterm.c rgbin = s->face->background; face 808 src/haikuterm.c haiku_draw_text_decoration (struct glyph_string *s, struct face *face, face 821 src/haikuterm.c if (face->underline) face 825 src/haikuterm.c else if (!face->underline_defaulted_p) face 826 src/haikuterm.c BView_SetHighColor (view, face->underline_color); face 828 src/haikuterm.c BView_SetHighColor (view, face->foreground); face 830 src/haikuterm.c if (face->underline == FACE_UNDER_WAVE) face 832 src/haikuterm.c else if (face->underline == FACE_UNDER_LINE) face 838 src/haikuterm.c && s->prev->face->underline == FACE_UNDER_LINE face 839 src/haikuterm.c && (s->prev->face->underline_at_descent_line_p face 840 src/haikuterm.c == s->face->underline_at_descent_line_p) face 841 src/haikuterm.c && (s->prev->face->underline_pixels_above_descent_line face 842 src/haikuterm.c == s->face->underline_pixels_above_descent_line)) face 866 src/haikuterm.c || s->face->underline_at_descent_line_p); face 881 src/haikuterm.c - s->face->underline_pixels_above_descent_line); face 917 src/haikuterm.c if (face->overline_p) face 922 src/haikuterm.c else if (!face->overline_color_defaulted_p) face 923 src/haikuterm.c BView_SetHighColor (view, face->overline_color); face 925 src/haikuterm.c BView_SetHighColor (view, face->foreground); face 930 src/haikuterm.c if (face->strike_through_p) face 946 src/haikuterm.c else if (!face->strike_through_color_defaulted_p) face 947 src/haikuterm.c BView_SetHighColor (view, face->strike_through_color); face 949 src/haikuterm.c BView_SetHighColor (view, face->foreground); face 961 src/haikuterm.c struct face *face = s->face; face 988 src/haikuterm.c vwidth = eabs (face->box_vertical_line_width); face 989 src/haikuterm.c hwidth = eabs (face->box_horizontal_line_width); face 990 src/haikuterm.c raised_p = face->box == FACE_RAISED_BOX; face 1008 src/haikuterm.c if (face->box == FACE_SIMPLE_BOX) face 1018 src/haikuterm.c haiku_draw_plain_background (struct glyph_string *s, struct face *face, face 1030 src/haikuterm.c BView_SetHighColor (view, face->background_defaulted_p ? face 1032 src/haikuterm.c face->background); face 1073 src/haikuterm.c haiku_draw_stipple_background (struct glyph_string *s, struct face *face, face 1084 src/haikuterm.c rec = haiku_get_bitmap_rec (s->f, s->face->stipple); face 1095 src/haikuterm.c foreground = s->face->foreground; face 1096 src/haikuterm.c background = s->face->background; face 1110 src/haikuterm.c haiku_draw_background_rect (struct glyph_string *s, struct face *face, face 1114 src/haikuterm.c haiku_draw_plain_background (s, face, x, y, width, height); face 1116 src/haikuterm.c haiku_draw_stipple_background (s, face, x, y, width, height, face 1125 src/haikuterm.c struct face *face = s->face; face 1126 src/haikuterm.c int box_line_width = max (face->box_horizontal_line_width, 0); face 1127 src/haikuterm.c int box_vline_width = max (face->box_vertical_line_width, 0); face 1133 src/haikuterm.c haiku_draw_background_rect (s, s->face, s->x, s->y + box_line_width, face 1147 src/haikuterm.c struct face *face; face 1151 src/haikuterm.c face = FACE_FROM_ID_OR_NULL (s->f, face_id); face 1152 src/haikuterm.c if (face == NULL) face 1153 src/haikuterm.c face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 1156 src/haikuterm.c face_id = FACE_FOR_CHAR (s->f, face, s->first_glyph->u.ch, -1, Qnil); face 1158 src/haikuterm.c face_id = FACE_FOR_CHAR (s->f, face, 0, -1, Qnil); face 1160 src/haikuterm.c face = FACE_FROM_ID (s->f, face_id); face 1161 src/haikuterm.c prepare_face_for_display (s->f, s->face); face 1164 src/haikuterm.c *fg = face->foreground; face 1166 src/haikuterm.c *bg = face->background; face 1172 src/haikuterm.c struct face *face = s->face; face 1175 src/haikuterm.c if (face->box != FACE_NO_BOX face 1177 src/haikuterm.c x = s->x + max (face->box_vertical_line_width, 0); face 1188 src/haikuterm.c BView_SetHighColor (view, face->foreground); face 1213 src/haikuterm.c if (face->overstrike) face 1224 src/haikuterm.c struct face *face = s->face; face 1229 src/haikuterm.c if (face && face->box != FACE_NO_BOX face 1231 src/haikuterm.c x = s->x + max (face->box_vertical_line_width, 0); face 1297 src/haikuterm.c color = s->face->foreground; face 1313 src/haikuterm.c struct face *face = s->face; face 1365 src/haikuterm.c if (!face->stipple) face 1370 src/haikuterm.c bkg = face->background; face 1380 src/haikuterm.c bkg = face->background; face 1382 src/haikuterm.c haiku_draw_stipple_background (s, s->face, x, y, w, h, face 1383 src/haikuterm.c true, bkg, face->foreground); face 1402 src/haikuterm.c haiku_draw_background_rect (s, s->face, s->x, s->y, face 1462 src/haikuterm.c struct face *face = s->face; face 1466 src/haikuterm.c if (face && face->box != FACE_NO_BOX face 1468 src/haikuterm.c x = s->x + max (face->box_vertical_line_width, 0); face 1484 src/haikuterm.c BView_SetHighColor (view, s->face->foreground); face 1503 src/haikuterm.c if (face->overstrike) face 1526 src/haikuterm.c if (s->face->overstrike) face 1534 src/haikuterm.c if (face->overstrike) face 1545 src/haikuterm.c if (face->overstrike) face 1559 src/haikuterm.c int y = s->ybase - image_ascent (s->img, s->face, &s->slice); face 1561 src/haikuterm.c struct face *face = s->face; face 1565 src/haikuterm.c if (face->box != FACE_NO_BOX face 1568 src/haikuterm.c x += max (face->box_vertical_line_width, 0); face 1580 src/haikuterm.c if (s->face->id == TAB_BAR_FACE_ID) face 1601 src/haikuterm.c if (s->face->id == TAB_BAR_FACE_ID) face 1614 src/haikuterm.c if (s->face->id == TOOL_BAR_FACE_ID) face 1654 src/haikuterm.c struct face *face = s->face; face 1656 src/haikuterm.c int box_line_hwidth = max (face->box_vertical_line_width, 0); face 1657 src/haikuterm.c int box_line_vwidth = max (face->box_horizontal_line_width, 0); face 1686 src/haikuterm.c s->stippled_p = face->stipple != 0; face 1691 src/haikuterm.c background = face->background; face 1693 src/haikuterm.c haiku_draw_background_rect (s, face, x, y, face 1701 src/haikuterm.c y = s->ybase - image_ascent (s->img, face, &s->slice); face 1708 src/haikuterm.c if (face->box != FACE_NO_BOX face 1711 src/haikuterm.c x += max (face->box_vertical_line_width, 0); face 1817 src/haikuterm.c struct face *face = s->face; face 1821 src/haikuterm.c prepare_face_for_display (s->f, s->face); face 1823 src/haikuterm.c s->stippled_p = s->hl != DRAW_CURSOR && face->stipple; face 1835 src/haikuterm.c prepare_face_for_display (s->f, next->face); face 1837 src/haikuterm.c = next->hl != DRAW_CURSOR && next->face->stipple; face 1853 src/haikuterm.c if (!s->for_overlaps && face->box != FACE_NO_BOX face 1912 src/haikuterm.c if (!box_filled_p && face->box != FACE_NO_BOX) face 1915 src/haikuterm.c haiku_draw_text_decoration (s, face, s->width, s->x); face 1977 src/haikuterm.c if (s->face->stipple face 2009 src/haikuterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 2012 src/haikuterm.c if (face) face 2017 src/haikuterm.c BView_SetHighColor (view, (face->background_defaulted_p face 2019 src/haikuterm.c : face->background)); face 2137 src/haikuterm.c struct face *face; face 2162 src/haikuterm.c face = FACE_FROM_ID (f, cursor_glyph->face_id); face 2169 src/haikuterm.c if (face->background == FRAME_CURSOR_COLOR (f).pixel) face 2170 src/haikuterm.c foreground = face->foreground; face 2344 src/haikuterm.c struct face *face; face 2346 src/haikuterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); face 2350 src/haikuterm.c if (face) face 2351 src/haikuterm.c BView_SetHighColor (view, face->foreground); face 2385 src/haikuterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); face 2386 src/haikuterm.c struct face *face_first face 2388 src/haikuterm.c struct face *face_last face 2390 src/haikuterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); face 2718 src/haikuterm.c struct face *face; face 2726 src/haikuterm.c face = p->face; face 2741 src/haikuterm.c if (!face->stipple) face 2743 src/haikuterm.c BView_SetHighColor (view, face->background); face 2748 src/haikuterm.c rec = haiku_get_bitmap_rec (f, face->stipple); face 2749 src/haikuterm.c haiku_update_bitmap_rec (rec, face->foreground, face 2750 src/haikuterm.c face->background); face 2783 src/haikuterm.c col = face->foreground; face 2785 src/haikuterm.c col = face->background; face 2791 src/haikuterm.c BView_SetHighColor (view, face->background); face 4476 src/haikuterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 4486 src/haikuterm.c if (face) face 4487 src/haikuterm.c BView_SetHighColor (view, face->background); face 4604 src/haikuterm.c unsigned long foreground = s->face->background; face 4607 src/haikuterm.c foreground = s->face->background; face 4611 src/haikuterm.c foreground = s->face->foreground; face 4613 src/haikuterm.c if (background == s->face->background face 4614 src/haikuterm.c && foreground == s->face->foreground) face 4616 src/haikuterm.c background = s->face->foreground; face 4617 src/haikuterm.c foreground = s->face->background; face 359 src/haikuterm.h extern void haiku_draw_background_rect (struct glyph_string *, struct face *, face 154 src/hbfont.c hbfont_otf_features (hb_face_t *face, hb_tag_t table_tag) face 159 src/hbfont.c = hb_ot_layout_table_get_script_tags (face, table_tag, 0, NULL, NULL); face 161 src/hbfont.c hb_ot_layout_table_get_script_tags (face, table_tag, 0, &script_count, face 167 src/hbfont.c = hb_ot_layout_script_get_language_tags (face, table_tag, i, 0, face 171 src/hbfont.c hb_ot_layout_script_get_language_tags (face, table_tag, i, 0, face 179 src/hbfont.c = hb_ot_layout_language_get_feature_tags (face, table_tag, face 186 src/hbfont.c hb_ot_layout_language_get_feature_tags (face, table_tag, face 228 src/hbfont.c hb_face_t *face = hb_font_get_face (hb_font); face 229 src/hbfont.c if (hb_ot_layout_table_get_feature_tags (face, HB_OT_TAG_GSUB, 0, NULL, NULL)) face 230 src/hbfont.c XSETCAR (gsub_gpos, hbfont_otf_features (face, HB_OT_TAG_GSUB)); face 231 src/hbfont.c if (hb_ot_layout_table_get_feature_tags (face, HB_OT_TAG_GPOS, 0, NULL, NULL)) face 232 src/hbfont.c XSETCDR (gsub_gpos, hbfont_otf_features (face, HB_OT_TAG_GPOS)); face 1602 src/image.c image_ascent (struct image *img, struct face *face, struct glyph_slice *slice) face 1616 src/image.c if (face->font) face 1620 src/image.c ascent = height / 2 - (FONT_DESCENT (face->font) face 1621 src/image.c - FONT_BASE (face->font)) / 2; face 1628 src/image.c ascent = (height + FONT_BASE (face->font) face 1629 src/image.c - FONT_DESCENT (face->font) + 1) / 2; face 2881 src/image.c struct face *face = FACE_FROM_ID (f, face_id); face 2882 src/image.c unsigned long foreground = face->foreground; face 2883 src/image.c unsigned long background = face->background; face 2884 src/image.c int font_size = face->font->pixel_size; face 2885 src/image.c char *font_family = SSDATA (face->lface[LFACE_FAMILY_INDEX]); face 798 src/msdos.c IT_set_face (int face) face 801 src/msdos.c struct face *fp = FACE_FROM_ID_OR_NULL (sf, face); face 802 src/msdos.c struct face *dfp = FACE_FROM_ID_OR_NULL (sf, DEFAULT_FACE_ID); face 814 src/msdos.c screen_face = face; face 850 src/msdos.c fprintf (tty->termscript, "<FACE %d: %lu/%lu[FG:%lu/BG:%lu]>", face, face 2873 src/msdos.c int i, j, face, width, mx, my, enabled, mousehere, row, col; face 2895 src/msdos.c face = faces[enabled + mousehere * 2]; face 2905 src/msdos.c BUILD_CHAR_GLYPH (*p, ' ', face, 0); face 2913 src/msdos.c BUILD_CHAR_GLYPH (*p, c, face, 0); face 2918 src/msdos.c BUILD_CHAR_GLYPH (*p, '^', face, 0); face 2921 src/msdos.c BUILD_CHAR_GLYPH (*p, c + 64, face, 0); face 2932 src/msdos.c BUILD_CHAR_GLYPH (*p, ' ', face, 0); face 2936 src/msdos.c BUILD_CHAR_GLYPH (*p, menu->submenu[i] ? 16 : ' ', face, 0); face 1126 src/pgtkterm.c && s->face->background == FRAME_BACKGROUND_PIXEL (s->f) face 1127 src/pgtkterm.c && s->face->foreground == FRAME_FOREGROUND_PIXEL (s->f) && !s->cmp) face 1135 src/pgtkterm.c xgcv.foreground = s->face->background; face 1139 src/pgtkterm.c xgcv.foreground = s->face->foreground; face 1143 src/pgtkterm.c xgcv.foreground = s->face->foreground; face 1146 src/pgtkterm.c if (xgcv.background == s->face->background face 1147 src/pgtkterm.c && xgcv.foreground == s->face->foreground) face 1149 src/pgtkterm.c xgcv.background = s->face->foreground; face 1150 src/pgtkterm.c xgcv.foreground = s->face->background; face 1163 src/pgtkterm.c prepare_face_for_display (s->f, s->face); face 1165 src/pgtkterm.c if (s->font == s->face->font) face 1167 src/pgtkterm.c s->xgcv.foreground = s->face->foreground; face 1168 src/pgtkterm.c s->xgcv.background = s->face->background; face 1176 src/pgtkterm.c xgcv.background = s->face->background; face 1177 src/pgtkterm.c xgcv.foreground = s->face->foreground; face 1192 src/pgtkterm.c s->xgcv.foreground = s->face->foreground; face 1193 src/pgtkterm.c s->xgcv.background = s->face->background; face 1204 src/pgtkterm.c prepare_face_for_display (s->f, s->face); face 1208 src/pgtkterm.c s->xgcv.foreground = s->face->foreground; face 1209 src/pgtkterm.c s->xgcv.background = s->face->background; face 1210 src/pgtkterm.c s->stippled_p = s->face->stipple != 0; face 1215 src/pgtkterm.c s->stippled_p = s->face->stipple != 0; face 1225 src/pgtkterm.c s->stippled_p = s->face->stipple != 0; face 1229 src/pgtkterm.c s->xgcv.foreground = s->face->foreground; face 1230 src/pgtkterm.c s->xgcv.background = s->face->background; face 1231 src/pgtkterm.c s->stippled_p = s->face->stipple != 0; face 1327 src/pgtkterm.c fill_background_by_face (struct frame *f, struct face *face, int x, int y, face 1337 src/pgtkterm.c r = ((face->background >> 16) & 0xff) / 255.0; face 1338 src/pgtkterm.c g = ((face->background >> 8) & 0xff) / 255.0; face 1339 src/pgtkterm.c b = ((face->background >> 0) & 0xff) / 255.0; face 1344 src/pgtkterm.c if (face->stipple != 0) face 1347 src/pgtkterm.c = FRAME_DISPLAY_INFO (f)->bitmaps[face->stipple - 1].pattern; face 1349 src/pgtkterm.c r = ((face->foreground >> 16) & 0xff) / 255.0; face 1350 src/pgtkterm.c g = ((face->foreground >> 8) & 0xff) / 255.0; face 1351 src/pgtkterm.c b = ((face->foreground >> 0) & 0xff) / 255.0; face 1362 src/pgtkterm.c fill_background_by_face (s->f, s->face, x, y, width, height); face 1377 src/pgtkterm.c int box_line_width = max (s->face->box_horizontal_line_width, 0); face 1427 src/pgtkterm.c if (s->face->box != FACE_NO_BOX && s->first_glyph->left_box_line_p) face 1428 src/pgtkterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 1440 src/pgtkterm.c s->face->foreground, x, s->y, face 1460 src/pgtkterm.c if (s->face->overstrike) face 1474 src/pgtkterm.c if (s->face && s->face->box != FACE_NO_BOX face 1476 src/pgtkterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 1490 src/pgtkterm.c pgtk_draw_rectangle (s->f, s->face->foreground, x, s->y, face 1506 src/pgtkterm.c if (s->face->overstrike) face 1529 src/pgtkterm.c if (s->face->overstrike) face 1537 src/pgtkterm.c if (s->face->overstrike) face 1548 src/pgtkterm.c if (s->face->overstrike) face 1565 src/pgtkterm.c if (s->face && s->face->box != FACE_NO_BOX face 1567 src/pgtkterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 1631 src/pgtkterm.c pgtk_draw_rectangle (s->f, s->face->foreground, face 1811 src/pgtkterm.c if (s->face->use_box_color_for_shadows_p) face 1812 src/pgtkterm.c color = s->face->box_color; face 1951 src/pgtkterm.c s->xgcv.foreground = s->face->box_color; face 2000 src/pgtkterm.c vwidth = eabs (s->face->box_vertical_line_width); face 2001 src/pgtkterm.c hwidth = eabs (s->face->box_horizontal_line_width); face 2002 src/pgtkterm.c raised_p = s->face->box == FACE_RAISED_BOX; face 2018 src/pgtkterm.c if (s->face->box == FACE_SIMPLE_BOX) face 2090 src/pgtkterm.c int y = s->ybase - image_ascent (s->img, s->face, &s->slice); face 2094 src/pgtkterm.c if (s->face->box != FACE_NO_BOX face 2097 src/pgtkterm.c x += max (s->face->box_vertical_line_width, 0); face 2109 src/pgtkterm.c if (s->face->id == TAB_BAR_FACE_ID) face 2129 src/pgtkterm.c if (s->face->id == TAB_BAR_FACE_ID) face 2142 src/pgtkterm.c if (s->face->id == TOOL_BAR_FACE_ID) face 2227 src/pgtkterm.c int y = s->ybase - image_ascent (s->img, s->face, &s->slice); face 2231 src/pgtkterm.c if (s->face->box != FACE_NO_BOX face 2234 src/pgtkterm.c x += max (s->face->box_vertical_line_width, 0); face 2291 src/pgtkterm.c int box_line_hwidth = max (s->face->box_vertical_line_width, 0); face 2292 src/pgtkterm.c int box_line_vwidth = max (s->face->box_horizontal_line_width, 0); face 2304 src/pgtkterm.c s->stippled_p = s->face->stipple != 0; face 2400 src/pgtkterm.c color = s->face->background; face 2407 src/pgtkterm.c if (s->face->stipple) face 2475 src/pgtkterm.c && s->face->box != FACE_NO_BOX face 2543 src/pgtkterm.c if (!relief_drawn_p && s->face->box != FACE_NO_BOX) face 2547 src/pgtkterm.c if (s->face->underline) face 2549 src/pgtkterm.c if (s->face->underline == FACE_UNDER_WAVE) face 2551 src/pgtkterm.c if (s->face->underline_defaulted_p) face 2554 src/pgtkterm.c pgtk_draw_underwave (s, s->face->underline_color); face 2556 src/pgtkterm.c else if (s->face->underline == FACE_UNDER_LINE) face 2562 src/pgtkterm.c && s->prev->face->underline == FACE_UNDER_LINE face 2563 src/pgtkterm.c && (s->prev->face->underline_at_descent_line_p face 2564 src/pgtkterm.c == s->face->underline_at_descent_line_p) face 2565 src/pgtkterm.c && (s->prev->face->underline_pixels_above_descent_line face 2566 src/pgtkterm.c == s->face->underline_pixels_above_descent_line)) face 2582 src/pgtkterm.c || s->face->underline_at_descent_line_p)) face 2585 src/pgtkterm.c - s->face->underline_pixels_above_descent_line); face 2607 src/pgtkterm.c if (!s->face->underline_pixels_above_descent_line) face 2619 src/pgtkterm.c if (s->face->underline_defaulted_p) face 2625 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->face->underline_color, face 2632 src/pgtkterm.c if (s->face->overline_p) face 2636 src/pgtkterm.c if (s->face->overline_color_defaulted_p) face 2640 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->face->overline_color, s->x, face 2645 src/pgtkterm.c if (s->face->strike_through_p) face 2659 src/pgtkterm.c if (s->face->strike_through_color_defaulted_p) face 2663 src/pgtkterm.c pgtk_fill_rectangle (s->f, s->face->strike_through_color, s->x, face 2724 src/pgtkterm.c s->row->stipple_p = s->face->stipple; face 2856 src/pgtkterm.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); face 2866 src/pgtkterm.c if (face->background == FRAME_X_OUTPUT (f)->cursor_color) face 2867 src/pgtkterm.c color = face->foreground; face 3260 src/pgtkterm.c struct face *face; face 3265 src/pgtkterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); face 3266 src/pgtkterm.c if (face) face 3267 src/pgtkterm.c pgtk_set_cr_source_with_color (f, face->foreground, false); face 3281 src/pgtkterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); face 3282 src/pgtkterm.c struct face *face_first face 3284 src/pgtkterm.c struct face *face_last face 3286 src/pgtkterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); face 3541 src/pgtkterm.c struct face *face = p->face; face 3554 src/pgtkterm.c if (face->stipple) face 3555 src/pgtkterm.c fill_background_by_face (f, face, p->bx, p->by, p->nx, p->ny); face 3558 src/pgtkterm.c pgtk_set_cr_source_with_color (f, face->background, true); face 3582 src/pgtkterm.c ? (p->overlay_p ? face->background face 3584 src/pgtkterm.c : face->foreground); face 3585 src/pgtkterm.c gcv.background = face->background; face 4961 src/pgtkterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 4965 src/pgtkterm.c if (face) face 4968 src/pgtkterm.c fill_background_by_face (f, face, x, y, w, h) face 1923 src/term.c struct face *face = FACE_FROM_ID (f, face_id); face 1924 src/term.c unsigned long fg = face->foreground; face 1925 src/term.c unsigned long bg = face->background; face 1937 src/term.c if (face->tty_bold_p && MAY_USE_WITH_COLORS_P (tty, NC_BOLD)) face 1940 src/term.c if (face->tty_italic_p && MAY_USE_WITH_COLORS_P (tty, NC_ITALIC)) face 1951 src/term.c if (face->tty_underline_p && MAY_USE_WITH_COLORS_P (tty, NC_UNDERLINE)) face 1954 src/term.c if (face->tty_strike_through_p face 1987 src/term.c struct face *face = FACE_FROM_ID (f, face_id); face 1995 src/term.c if (face->tty_bold_p face 1996 src/term.c || face->tty_italic_p face 1997 src/term.c || face->tty_reverse_p face 1998 src/term.c || face->tty_underline_p face 1999 src/term.c || face->tty_strike_through_p) face 2010 src/term.c if (face->tty_underline_p) face 2016 src/term.c && ((face->foreground != FACE_TTY_DEFAULT_COLOR face 2017 src/term.c && face->foreground != FACE_TTY_DEFAULT_FG_COLOR) face 2018 src/term.c || (face->background != FACE_TTY_DEFAULT_COLOR face 2019 src/term.c && face->background != FACE_TTY_DEFAULT_BG_COLOR))) face 2854 src/term.c int i, face, width, enabled, mousehere, row, col; face 2877 src/term.c face = faces[enabled + mousehere * 2]; face 2894 src/term.c display_tty_menu_item (menu->text[j], max_width, face, x, y + i, face 1364 src/textprop.c (Lisp_Object start, Lisp_Object end, Lisp_Object face, face 1367 src/textprop.c AUTO_LIST2 (properties, Qface, face); face 633 src/w32console.c struct face *face = FACE_FROM_ID (f, face_id); face 639 src/w32console.c if (face->tty_reverse_p) face 653 src/w32console.c if (face->foreground >= 0 && face->foreground < 16) face 654 src/w32console.c char_attr = (char_attr & 0xfff0) + face->foreground; face 656 src/w32console.c if (face->background >= 0 && face->background < 16) face 657 src/w32console.c char_attr = (char_attr & 0xff0f) + (face->background << 4); face 1548 src/w32fns.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 1552 src/w32fns.c if (face) face 1555 src/w32fns.c unsigned long color = face->background; face 652 src/w32term.c struct face *face; face 660 src/w32term.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); face 661 src/w32term.c if (face) face 662 src/w32term.c w32_fill_rect (f, hdc, face->foreground, &r); face 677 src/w32term.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); face 678 src/w32term.c struct face *face_first face 680 src/w32term.c struct face *face_last face 682 src/w32term.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); face 826 src/w32term.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 831 src/w32term.c if (face) face 834 src/w32term.c unsigned long color = face->background; face 864 src/w32term.c struct face *face = p->face; face 872 src/w32term.c w32_fill_area (f, hdc, face->background, face 907 src/w32term.c h_brush = CreateSolidBrush (face->foreground); face 925 src/w32term.c SetTextColor (hdc, face->background); face 928 src/w32term.c : face->foreground)); face 1012 src/w32term.c && s->face->background == FRAME_BACKGROUND_PIXEL (s->f) face 1013 src/w32term.c && s->face->foreground == FRAME_FOREGROUND_PIXEL (s->f) face 1017 src/w32term.c && s->f->output_data.w32->cursor_gc->foreground == s->face->background face 1027 src/w32term.c egc.foreground = s->face->background; face 1031 src/w32term.c egc.foreground = s->face->foreground; face 1035 src/w32term.c egc.foreground = s->face->foreground; face 1038 src/w32term.c if (egc.background == s->face->background face 1039 src/w32term.c && egc.foreground == s->face->foreground) face 1041 src/w32term.c egc.background = s->face->foreground; face 1042 src/w32term.c egc.foreground = s->face->background; face 1066 src/w32term.c if (s->font == s->face->font) face 1067 src/w32term.c s->gc = s->face->gc; face 1075 src/w32term.c egc.background = s->face->background; face 1076 src/w32term.c egc.foreground = s->face->foreground; face 1101 src/w32term.c s->gc = s->face->gc; face 1112 src/w32term.c prepare_face_for_display (s->f, s->face); face 1116 src/w32term.c s->gc = s->face->gc; face 1117 src/w32term.c s->stippled_p = s->face->stipple != 0; face 1122 src/w32term.c s->stippled_p = s->face->stipple != 0; face 1132 src/w32term.c s->stippled_p = s->face->stipple != 0; face 1137 src/w32term.c s->gc = s->face->gc; face 1138 src/w32term.c s->stippled_p = s->face->stipple != 0; face 1264 src/w32term.c int box_line_width = max (s->face->box_horizontal_line_width, 0); face 1308 src/w32term.c if (s->face->box != FACE_NO_BOX face 1310 src/w32term.c x = s->x + max (s->face->box_vertical_line_width, 0); face 1349 src/w32term.c if (s->face->overstrike) face 1366 src/w32term.c if (s->face && s->face->box != FACE_NO_BOX face 1368 src/w32term.c x = s->x + max (s->face->box_vertical_line_width, 0); face 1405 src/w32term.c if (s->face->overstrike) face 1463 src/w32term.c if (s->face->box != FACE_NO_BOX face 1465 src/w32term.c x = s->x + max (s->face->box_vertical_line_width, 0); face 1691 src/w32term.c if (s->face->use_box_color_for_shadows_p) face 1692 src/w32term.c color = s->face->box_color; face 1792 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->box_color, face 1798 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->box_color, face 1803 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->box_color, face 1809 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->box_color, face 1852 src/w32term.c vwidth = eabs (s->face->box_vertical_line_width); face 1853 src/w32term.c hwidth = eabs (s->face->box_horizontal_line_width); face 1854 src/w32term.c raised_p = s->face->box == FACE_RAISED_BOX; face 1873 src/w32term.c if (s->face->box == FACE_SIMPLE_BOX) face 1911 src/w32term.c int y = s->ybase - image_ascent (s->img, s->face, &s->slice); face 1915 src/w32term.c if (s->face->box != FACE_NO_BOX face 1918 src/w32term.c x += max (s->face->box_vertical_line_width, 0); face 2109 src/w32term.c int y = s->ybase - image_ascent (s->img, s->face, &s->slice); face 2113 src/w32term.c if (s->face->box != FACE_NO_BOX face 2116 src/w32term.c x += max (s->face->box_vertical_line_width, 0); face 2128 src/w32term.c if (s->face->id == TAB_BAR_FACE_ID) face 2148 src/w32term.c if (s->face->id == TAB_BAR_FACE_ID) face 2161 src/w32term.c if (s->face->id == TOOL_BAR_FACE_ID) face 2200 src/w32term.c int y = s->ybase - s->y - image_ascent (s->img, s->face, &s->slice); face 2204 src/w32term.c if (s->face->box != FACE_NO_BOX face 2207 src/w32term.c x += max (s->face->box_vertical_line_width, 0); face 2320 src/w32term.c int box_line_hwidth = max (s->face->box_vertical_line_width, 0); face 2321 src/w32term.c int box_line_vwidth = max (s->face->box_horizontal_line_width, 0); face 2334 src/w32term.c s->stippled_p = s->face->stipple != 0; face 2480 src/w32term.c Emacs_GC *gc = s->face->gc; face 2497 src/w32term.c gc = s->face->gc; face 2503 src/w32term.c if (s->face->stipple) face 2573 src/w32term.c && s->face->box != FACE_NO_BOX face 2637 src/w32term.c if (!relief_drawn_p && s->face->box != FACE_NO_BOX) face 2641 src/w32term.c if (s->face->underline) face 2643 src/w32term.c if (s->face->underline == FACE_UNDER_WAVE) face 2647 src/w32term.c if (s->face->underline_defaulted_p) face 2650 src/w32term.c color = s->face->underline_color; face 2654 src/w32term.c else if (s->face->underline == FACE_UNDER_LINE) face 2660 src/w32term.c && s->prev->face->underline == FACE_UNDER_LINE face 2661 src/w32term.c && (s->prev->face->underline_at_descent_line_p face 2662 src/w32term.c == s->face->underline_at_descent_line_p) face 2663 src/w32term.c && (s->prev->face->underline_pixels_above_descent_line face 2664 src/w32term.c == s->face->underline_pixels_above_descent_line)) face 2688 src/w32term.c || s->face->underline_at_descent_line_p); face 2704 src/w32term.c - s->face->underline_pixels_above_descent_line); face 2723 src/w32term.c if (!(s->face->underline_at_descent_line_p face 2726 src/w32term.c && s->face->underline_pixels_above_descent_line)) face 2738 src/w32term.c if (s->face->underline_defaulted_p) face 2745 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->underline_color, s->x, face 2751 src/w32term.c if (s->face->overline_p) face 2755 src/w32term.c if (s->face->overline_color_defaulted_p) face 2762 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->overline_color, s->x, face 2768 src/w32term.c if (s->face->strike_through_p face 2783 src/w32term.c if (s->face->strike_through_color_defaulted_p) face 2790 src/w32term.c w32_fill_area (s->f, s->hdc, s->face->strike_through_color, s->x, face 6195 src/w32term.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); face 6204 src/w32term.c if (face->background == cursor_color) face 6205 src/w32term.c cursor_color = face->foreground; face 840 src/w32term.h struct face; face 1267 src/w32uniscribe.c w32hb_get_font_table (hb_face_t *face, hb_tag_t tag, void *data) face 1070 src/window.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 1071 src/window.c if (face && face->font && face->font->height) face 1072 src/window.c denom = face->font->height; face 1115 src/window.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 1116 src/window.c if (face && face->font) face 1118 src/window.c if (face->font->average_width) face 1119 src/window.c denom = face->font->average_width; face 1120 src/window.c else if (face->font->space_width) face 1121 src/window.c denom = face->font->space_width; face 1224 src/xdisp.c struct window *, struct face *, face 1225 src/xdisp.c struct face *); face 2292 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 2293 src/xdisp.c if (face) face 2295 src/xdisp.c if (face->font) face 2296 src/xdisp.c height = normal_char_height (face->font, -1); face 2297 src/xdisp.c if (face->box_horizontal_line_width > 0) face 2298 src/xdisp.c height += 2 * face->box_horizontal_line_width; face 3440 src/xdisp.c struct face *face; face 3446 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, remapped_base_face_id); face 3447 src/xdisp.c if (face && face->box != FACE_NO_BOX) face 3449 src/xdisp.c int box_thickness = face->box_vertical_line_width; face 4768 src/xdisp.c struct face *new_face = FACE_FROM_ID (it->f, new_face_id); face 4772 src/xdisp.c struct face *old_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); face 4931 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); face 4933 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, charpos, it->string); face 5027 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); face 5028 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, CHARPOS (pos), Qnil); face 5496 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 5497 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); face 5852 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 5856 src/xdisp.c face->lface[LFACE_HEIGHT_INDEX]); face 5864 src/xdisp.c struct face *f; face 5876 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 5878 src/xdisp.c specbind (Qheight, face->lface[LFACE_HEIGHT_INDEX]); face 5969 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 5971 src/xdisp.c * (normal_char_height (face->font, -1))); face 7050 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); face 7052 src/xdisp.c if (face) face 7054 src/xdisp.c struct face *prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); face 7057 src/xdisp.c it->start_of_box_run_p = (face->box != FACE_NO_BOX face 7060 src/xdisp.c it->face_box_p = face->box != FACE_NO_BOX; face 8315 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); face 8320 src/xdisp.c if (!face) face 8330 src/xdisp.c it->face_id = face_for_font (it->f, LGSTRING_FONT (gstring), face); face 8353 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string); face 8367 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, face_id); face 8369 src/xdisp.c if (face) face 8371 src/xdisp.c if (face->box == FACE_NO_BOX) face 8884 src/xdisp.c struct face *this_face, *prev_face, *next_face; face 10695 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 10696 src/xdisp.c struct font *face_font = face->font; face 22854 src/xdisp.c Lisp_Object face, ilisp; face 22869 src/xdisp.c face = Fget_text_property (ilisp, Qface, overlay_arrow_string); face 22870 src/xdisp.c it.face_id = compute_char_face (f, it.char_to_display, face); face 23195 src/xdisp.c struct face *face; face 23216 src/xdisp.c struct face *default_face face 23245 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); face 23253 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); face 23254 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, 0, -1, Qnil); face 23278 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (it->f); face 23406 src/xdisp.c struct face *default_face = face 23422 src/xdisp.c struct face *face = FACE_FROM_ID (f, (it->face_before_selective_p face 23428 src/xdisp.c && face->box == FACE_NO_BOX face 23429 src/xdisp.c && face->underline == FACE_NO_UNDERLINE face 23430 src/xdisp.c && !face->overline_p face 23431 src/xdisp.c && !face->strike_through_p face 23432 src/xdisp.c && face->background == FRAME_BACKGROUND_PIXEL (f) face 23434 src/xdisp.c && !face->stipple face 23451 src/xdisp.c it->face_id = FACE_FOR_CHAR (f, face, 0, -1, Qnil); face 23462 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][0].face_id = face->id; face 23587 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (f); face 23625 src/xdisp.c default_face->id : face->id); face 23663 src/xdisp.c && face->background != FRAME_BACKGROUND_PIXEL (f)) face 23692 src/xdisp.c default_face->id : face->id); face 23734 src/xdisp.c && face->background != FRAME_BACKGROUND_PIXEL (f)) face 26870 src/xdisp.c struct face *face; face 26968 src/xdisp.c face = FACE_FROM_ID (it.f, face_id); face 26970 src/xdisp.c if (face->box != FACE_NO_BOX) face 26974 src/xdisp.c int box_thickness = face->box_vertical_line_width; face 27557 src/xdisp.c Lisp_Object face = plist_get (props, Qface); face 27559 src/xdisp.c if (NILP (face)) face 27560 src/xdisp.c face = mode_line_string_face; face 27562 src/xdisp.c face = list2 (face, mode_line_string_face); face 27563 src/xdisp.c props = plist_put (props, Qface, face); face 27579 src/xdisp.c Lisp_Object face; face 27582 src/xdisp.c face = plist_get (props, Qface); face 27583 src/xdisp.c if (NILP (face)) face 27584 src/xdisp.c face = mode_line_string_face; face 27586 src/xdisp.c face = list2 (face, mode_line_string_face); face 27587 src/xdisp.c props = list2 (Qface, face); face 27637 src/xdisp.c (Lisp_Object format, Lisp_Object face, face 27645 src/xdisp.c bool no_props = FIXNUMP (face); face 27665 src/xdisp.c face = Qnil; face 27667 src/xdisp.c face_id = (NILP (face) || EQ (face, Qdefault)) ? DEFAULT_FACE_ID face 27668 src/xdisp.c : EQ (face, Qt) ? (EQ (window, selected_window) face 27670 src/xdisp.c : EQ (face, Qmode_line_active) ? MODE_LINE_ACTIVE_FACE_ID face 27671 src/xdisp.c : EQ (face, Qmode_line_inactive) ? MODE_LINE_INACTIVE_FACE_ID face 27672 src/xdisp.c : EQ (face, Qheader_line) ? HEADER_LINE_FACE_ID face 27673 src/xdisp.c : EQ (face, Qtab_line) ? TAB_LINE_FACE_ID face 27674 src/xdisp.c : EQ (face, Qtab_bar) ? TAB_BAR_FACE_ID face 27675 src/xdisp.c : EQ (face, Qtool_bar) ? TOOL_BAR_FACE_ID face 27704 src/xdisp.c mode_line_string_face = face; face 27706 src/xdisp.c = NILP (face) ? Qnil : list2 (Qface, face); face 28617 src/xdisp.c struct face *face; face 28622 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); face 28623 src/xdisp.c it->face_box_p = face->box != FACE_NO_BOX; face 29327 src/xdisp.c static struct face * face 29331 src/xdisp.c struct face *face = FACE_FROM_ID (f, face_id); face 29334 src/xdisp.c if (face->font) face 29336 src/xdisp.c code = face->font->driver->encode_char (face->font, c); face 29349 src/xdisp.c eassert (face != NULL); face 29350 src/xdisp.c prepare_face_for_display (f, face); face 29353 src/xdisp.c return face; face 29361 src/xdisp.c static struct face * face 29365 src/xdisp.c struct face *face; face 29369 src/xdisp.c face = FACE_FROM_ID (f, glyph->face_id); face 29372 src/xdisp.c prepare_face_for_display (f, face); face 29374 src/xdisp.c if (face->font) face 29379 src/xdisp.c code = face->font->driver->encode_char (face->font, glyph->u.ch); face 29387 src/xdisp.c return face; face 29424 src/xdisp.c fill_composite_glyph_string (struct glyph_string *s, struct face *base_face, face 29431 src/xdisp.c struct face *face; face 29436 src/xdisp.c s->face = NULL; face 29449 src/xdisp.c face = get_char_face_and_encoding (s->f, c, face_id, face 29451 src/xdisp.c if (face) face 29453 src/xdisp.c if (! s->face) face 29455 src/xdisp.c s->face = face; face 29456 src/xdisp.c s->font = s->face->font; face 29458 src/xdisp.c else if (s->face != face) face 29466 src/xdisp.c if (s->face == NULL) face 29468 src/xdisp.c s->face = base_face->ascii_face; face 29469 src/xdisp.c s->font = s->face->font; face 29480 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 29481 src/xdisp.c if (!s->face) face 29482 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 29484 src/xdisp.c s->face = FACE_FROM_ID (s->f, FACE_FOR_CHAR (s->f, s->face, c, -1, Qnil)); face 29485 src/xdisp.c prepare_face_for_display (s->f, s->face); face 29533 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 29534 src/xdisp.c if (!s->face) face 29535 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 29536 src/xdisp.c prepare_face_for_display (s->f, s->face); face 29539 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); face 29596 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); face 29597 src/xdisp.c s->font = s->face->font ? s->face->font : FRAME_FONT (s->f); face 29605 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 29606 src/xdisp.c if (!s->face) face 29607 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 29608 src/xdisp.c prepare_face_for_display (s->f, s->face); face 29662 src/xdisp.c s->face = get_glyph_face_and_encoding (s->f, glyph, face 29671 src/xdisp.c s->font = s->face->font; face 29680 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 29681 src/xdisp.c if (!s->face) face 29682 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 29683 src/xdisp.c s->face face 29684 src/xdisp.c = FACE_FROM_ID (s->f, FACE_FOR_CHAR (s->f, s->face, face 29686 src/xdisp.c prepare_face_for_display (s->f, s->face); face 29702 src/xdisp.c eassert (s->face && s->face->gc); face 29716 src/xdisp.c s->face = FACE_FROM_ID (s->f, s->first_glyph->face_id); face 29717 src/xdisp.c s->font = s->face->font; face 29725 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 29726 src/xdisp.c if (!s->face) face 29727 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 29728 src/xdisp.c prepare_face_for_display (s->f, s->face); face 29742 src/xdisp.c s->face = FACE_FROM_ID (s->f, s->first_glyph->face_id); face 29743 src/xdisp.c s->font = s->face->font; face 29751 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 29752 src/xdisp.c if (!s->face) face 29753 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 29754 src/xdisp.c prepare_face_for_display (s->f, s->face); face 29779 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); face 29780 src/xdisp.c s->font = s->face->font; face 29788 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 29789 src/xdisp.c if (!s->face) face 29790 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 29791 src/xdisp.c prepare_face_for_display (s->f, s->face); face 29810 src/xdisp.c eassert (s->face); face 29891 src/xdisp.c struct face *face = get_glyph_face_and_encoding (f, glyph, &char2b); face 29892 src/xdisp.c if (face->font) face 29894 src/xdisp.c struct font_metrics *pcm = get_per_char_metric (face->font, &char2b); face 30082 src/xdisp.c struct face *regular_face = FACE_FROM_ID (s->f, g->face_id); face 30085 src/xdisp.c regular_face, s->face); face 30257 src/xdisp.c struct face *base_face = FACE_FROM_ID (f, face_id); \ face 30685 src/xdisp.c struct face *prev_face = FACE_FROM_ID (s->f, g->face_id); face 30905 src/xdisp.c struct face *face; face 30911 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); face 30913 src/xdisp.c prepare_face_for_display (it->f, face); face 30965 src/xdisp.c it->ascent = it->phys_ascent = glyph_ascent = image_ascent (img, face, &slice); face 30987 src/xdisp.c if (face->box != FACE_NO_BOX) face 30991 src/xdisp.c if (face->box_horizontal_line_width > 0) face 30994 src/xdisp.c it->ascent += face->box_horizontal_line_width; face 30996 src/xdisp.c it->descent += face->box_horizontal_line_width; face 30999 src/xdisp.c if (face->box_vertical_line_width > 0) face 31002 src/xdisp.c it->pixel_width += face->box_vertical_line_width; face 31004 src/xdisp.c it->pixel_width += face->box_vertical_line_width; face 31085 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 31087 src/xdisp.c prepare_face_for_display (it->f, face); face 31101 src/xdisp.c if (face->box != FACE_NO_BOX) face 31103 src/xdisp.c if (face->box_horizontal_line_width > 0) face 31105 src/xdisp.c it->ascent += face->box_horizontal_line_width; face 31106 src/xdisp.c it->descent += face->box_horizontal_line_width; face 31109 src/xdisp.c if (face->box_vertical_line_width > 0) face 31112 src/xdisp.c it->pixel_width += face->box_vertical_line_width; face 31113 src/xdisp.c it->pixel_width += face->box_vertical_line_width; face 31322 src/xdisp.c struct face *face = NULL; /* shut up GCC's -Wmaybe-uninitialized */ face 31326 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); face 31327 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); face 31328 src/xdisp.c prepare_face_for_display (it->f, face); face 31364 src/xdisp.c it2.face_id = FACE_FOR_CHAR (it->f, face, it2.c, face 31584 src/xdisp.c struct face *face = FACE_FROM_ID (temp_it.f, temp_it.face_id); face 31586 src/xdisp.c face->font ? face->font : FRAME_FONT (temp_it.f); face 31654 src/xdisp.c struct face *face; face 31657 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, face_id); face 31658 src/xdisp.c if (face == NULL || ((font = face->font) == NULL)) face 31787 src/xdisp.c struct face *face; face 31796 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); face 31797 src/xdisp.c if (face) face 31798 src/xdisp.c face = face->ascii_face; face 31799 src/xdisp.c font = (face && face->font) ? face->font : FRAME_FONT (it->f); face 31834 src/xdisp.c face = FACE_FROM_ID (it->f, face_id); face 31835 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); face 31836 src/xdisp.c prepare_face_for_display (it->f, face); face 31920 src/xdisp.c #define IT_APPLY_FACE_BOX(it, face) \ face 31922 src/xdisp.c if (face->box != FACE_NO_BOX) \ face 31924 src/xdisp.c int thick = face->box_horizontal_line_width; \ face 31931 src/xdisp.c thick = face->box_vertical_line_width; \ face 31957 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 31958 src/xdisp.c struct font *font = face->font; face 32057 src/xdisp.c IT_APPLY_FACE_BOX(it, face); face 32061 src/xdisp.c if (face->overline_p) face 32171 src/xdisp.c && face->box != FACE_NO_BOX face 32172 src/xdisp.c && face->box_horizontal_line_width > 0) face 32174 src/xdisp.c it->ascent += face->box_horizontal_line_width; face 32175 src/xdisp.c it->descent += face->box_horizontal_line_width; face 32314 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 32318 src/xdisp.c struct font *font = face->font; face 32366 src/xdisp.c face = face->ascii_face; face 32367 src/xdisp.c font = face->font; face 32431 src/xdisp.c struct face *this_face; face 32435 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, ch, pos, it->string); face 32587 src/xdisp.c IT_APPLY_FACE_BOX(it, face); face 32591 src/xdisp.c if (face->overline_p) face 32606 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 32621 src/xdisp.c it->pixel_width = face->font->space_width; face 32631 src/xdisp.c IT_APPLY_FACE_BOX(it, face); face 32635 src/xdisp.c if (face->overline_p) face 32788 src/xdisp.c struct face *face; face 32792 src/xdisp.c face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); face 32845 src/xdisp.c if (face && !updated_row->stipple_p) face 32846 src/xdisp.c updated_row->stipple_p = face->stipple; face 37616 src/xdisp.c struct face *original_face, face 37617 src/xdisp.c struct face *mouse_face) face 37686 src/xdisp.c struct face *mouse_face = FACE_FROM_ID (f, hlinfo->mouse_face_face_id); face 369 src/xfaces.c static struct face *realize_face (struct face_cache *, face 372 src/xfaces.c static struct face *realize_gui_face (struct face_cache *, face 374 src/xfaces.c static struct face *realize_tty_face (struct face_cache *, face 390 src/xfaces.c static struct face *realize_non_ascii_face (struct frame *, Lisp_Object, face 391 src/xfaces.c struct face *); face 1224 src/xfaces.c load_color2 (struct frame *f, struct face *face, Lisp_Object name, face 1245 src/xfaces.c face->foreground_defaulted_p = true; face 1250 src/xfaces.c face->background_defaulted_p = true; face 1255 src/xfaces.c face->underline_defaulted_p = true; face 1260 src/xfaces.c face->overline_color_defaulted_p = true; face 1265 src/xfaces.c face->strike_through_color_defaulted_p = true; face 1270 src/xfaces.c face->box_color_defaulted_p = true; face 1296 src/xfaces.c load_color (struct frame *f, struct face *face, Lisp_Object name, face 1300 src/xfaces.c return load_color2 (f, face, name, target_index, &color); face 1312 src/xfaces.c load_face_colors (struct frame *f, struct face *face, face 1337 src/xfaces.c image_destroy_bitmap (f, face->stipple); face 1338 src/xfaces.c face->stipple = load_pixmap (f, Vface_default_stipple); face 1341 src/xfaces.c face->background = load_color2 (f, face, bg, LFACE_BACKGROUND_INDEX, &xbg); face 1342 src/xfaces.c face->foreground = load_color2 (f, face, fg, LFACE_FOREGROUND_INDEX, &xfg); face 1349 src/xfaces.c face->background = load_color (f, face, dfg, LFACE_BACKGROUND_INDEX); face 1351 src/xfaces.c face->foreground = load_color (f, face, dfg, LFACE_FOREGROUND_INDEX); face 1373 src/xfaces.c free_face_colors (struct frame *f, struct face *face) face 1377 src/xfaces.c if (face->colors_copied_bitwise_p) face 1382 src/xfaces.c if (!face->foreground_defaulted_p) face 1384 src/xfaces.c x_free_colors (f, &face->foreground, 1); face 1388 src/xfaces.c if (!face->background_defaulted_p) face 1390 src/xfaces.c x_free_colors (f, &face->background, 1); face 1394 src/xfaces.c if (face->underline face 1395 src/xfaces.c && !face->underline_defaulted_p) face 1397 src/xfaces.c x_free_colors (f, &face->underline_color, 1); face 1401 src/xfaces.c if (face->overline_p face 1402 src/xfaces.c && !face->overline_color_defaulted_p) face 1404 src/xfaces.c x_free_colors (f, &face->overline_color, 1); face 1408 src/xfaces.c if (face->strike_through_p face 1409 src/xfaces.c && !face->strike_through_color_defaulted_p) face 1411 src/xfaces.c x_free_colors (f, &face->strike_through_color, 1); face 1415 src/xfaces.c if (face->box != FACE_NO_BOX face 1416 src/xfaces.c && !face->box_color_defaulted_p) face 1418 src/xfaces.c x_free_colors (f, &face->box_color, 1); face 1626 src/xfaces.c (Lisp_Object pattern, Lisp_Object face, Lisp_Object frame, face 1649 src/xfaces.c face = Qnil; face 1656 src/xfaces.c if (NILP (face)) face 1662 src/xfaces.c int face_id = lookup_named_face (NULL, f, face, false); face 1663 src/xfaces.c struct face *width_face = FACE_FROM_ID_OR_NULL (f, face_id); face 2366 src/xfaces.c struct face *deflt = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 2882 src/xfaces.c (Lisp_Object face, Lisp_Object frame) face 2888 src/xfaces.c CHECK_SYMBOL (face); face 2889 src/xfaces.c global_lface = lface_from_face_name (NULL, face, false); face 2895 src/xfaces.c lface = lface_from_face_name (f, face, false); face 2913 src/xfaces.c lface_id_to_name[next_lface_id] = face; face 2914 src/xfaces.c Fput (face, Qface, face_id); face 2919 src/xfaces.c Fputhash (face, Fcons (face_id, global_lface), Vface_new_frame_defaults); face 2932 src/xfaces.c Fputhash (face, lface, f->face_hash_table); face 2946 src/xfaces.c if (NILP (Fget (face, Qface_no_inherit))) face 2973 src/xfaces.c (Lisp_Object face, Lisp_Object frame) face 2977 src/xfaces.c face = resolve_face_name (face, true); face 2982 src/xfaces.c lface = lface_from_face_name (XFRAME (frame), face, false); face 2985 src/xfaces.c lface = lface_from_face_name (NULL, face, false); face 3071 src/xfaces.c (Lisp_Object face, Lisp_Object attr, Lisp_Object value, Lisp_Object frame) face 3080 src/xfaces.c CHECK_SYMBOL (face); face 3083 src/xfaces.c face = resolve_face_name (face, true); face 3090 src/xfaces.c Finternal_set_lisp_face_attribute (face, attr, value, Qt); face 3092 src/xfaces.c Finternal_set_lisp_face_attribute (face, attr, value, frame); face 3093 src/xfaces.c return face; face 3100 src/xfaces.c lface = lface_from_face_name (NULL, face, true); face 3119 src/xfaces.c lface = lface_from_face_name (f, face, false); face 3123 src/xfaces.c lface = Finternal_make_lisp_face (face, frame); face 3160 src/xfaces.c if (EQ (face, Qdefault)) face 3401 src/xfaces.c HANDLE_INVALID_NIL_VALUE (QCforeground, face); face 3418 src/xfaces.c HANDLE_INVALID_NIL_VALUE (QCdistant_foreground, face); face 3435 src/xfaces.c HANDLE_INVALID_NIL_VALUE (QCbackground, face); face 3607 src/xfaces.c && NILP (Fget (face, Qface_no_inherit)) face 3621 src/xfaces.c if (EQ (face, Qdefault)) face 3640 src/xfaces.c else if (EQ (face, Qscroll_bar)) face 3650 src/xfaces.c else if (EQ (face, Qborder)) face 3657 src/xfaces.c else if (EQ (face, Qcursor)) face 3664 src/xfaces.c else if (EQ (face, Qmouse)) face 3672 src/xfaces.c else if (EQ (face, Qmenu)) face 3704 src/xfaces.c return face; face 3715 src/xfaces.c Lisp_Object face = Qnil; face 3726 src/xfaces.c face = Qdefault; face 3727 src/xfaces.c lface = lface_from_face_name (f, face, true); face 3742 src/xfaces.c face = Qdefault; face 3743 src/xfaces.c lface = lface_from_face_name (f, face, true); face 3751 src/xfaces.c face = Qborder; face 3752 src/xfaces.c lface = lface_from_face_name (f, face, true); face 3758 src/xfaces.c face = Qcursor; face 3759 src/xfaces.c lface = lface_from_face_name (f, face, true); face 3765 src/xfaces.c face = Qmouse; face 3766 src/xfaces.c lface = lface_from_face_name (f, face, true); face 3777 src/xfaces.c if (!NILP (face) face 3778 src/xfaces.c && NILP (Fget (face, Qface_no_inherit))) face 3873 src/xfaces.c (Lisp_Object face, Lisp_Object attr, Lisp_Object value, Lisp_Object frame) face 3875 src/xfaces.c CHECK_SYMBOL (face); face 3910 src/xfaces.c return Finternal_set_lisp_face_attribute (face, attr, value, frame); face 3938 src/xfaces.c struct face *face = FACE_FROM_ID (f, MENU_FACE_ID); face 3972 src/xfaces.c if (face->font face 4159 src/xfaces.c (Lisp_Object face, Lisp_Object frame) face 4166 src/xfaces.c global_lface = lface_from_face_name (NULL, face, true); face 4167 src/xfaces.c local_lface = lface_from_face_name (f, face, false); face 4169 src/xfaces.c local_lface = Finternal_make_lisp_face (face, frame); face 4186 src/xfaces.c if (EQ (face, Qdefault)) face 4189 src/xfaces.c struct face *newface; face 4190 src/xfaces.c struct face *oldface = face 4264 src/xfaces.c (Lisp_Object face, Lisp_Object frame, Lisp_Object character) face 4269 src/xfaces.c Lisp_Object lface = lface_from_face_name (NULL, face, true); face 4284 src/xfaces.c int face_id = lookup_named_face (NULL, f, face, true); face 4285 src/xfaces.c struct face *fface = FACE_FROM_ID_OR_NULL (f, face_id); face 4391 src/xfaces.c (Lisp_Object face, Lisp_Object frame) face 4394 src/xfaces.c Lisp_Object lface = lface_from_face_name (f, face, true); face 4482 src/xfaces.c static struct face * face 4485 src/xfaces.c enum { off = offsetof (struct face, id) }; face 4486 src/xfaces.c struct face *face = xmalloc (sizeof *face); face 4488 src/xfaces.c memcpy (face->lface, attr, sizeof face->lface); face 4489 src/xfaces.c memset (&face->id, 0, sizeof *face - off); face 4490 src/xfaces.c face->ascii_face = face; face 4492 src/xfaces.c return face; face 4500 src/xfaces.c free_realized_face (struct frame *f, struct face *face) face 4502 src/xfaces.c if (face) face 4508 src/xfaces.c if (face->fontset >= 0 && face == face->ascii_face) face 4509 src/xfaces.c free_face_fontset (f, face); face 4510 src/xfaces.c if (face->gc) face 4513 src/xfaces.c if (face->font) face 4514 src/xfaces.c font_done_for_face (f, face); face 4515 src/xfaces.c x_free_gc (f, face->gc); face 4516 src/xfaces.c face->gc = 0; face 4520 src/xfaces.c free_face_colors (f, face); face 4522 src/xfaces.c image_destroy_bitmap (f, face->stipple); face 4526 src/xfaces.c xfree (face); face 4537 src/xfaces.c prepare_face_for_display (struct frame *f, struct face *face) face 4544 src/xfaces.c if (face->gc == 0) face 4548 src/xfaces.c egc.foreground = face->foreground; face 4549 src/xfaces.c egc.background = face->background; face 4563 src/xfaces.c if (face->stipple) face 4566 src/xfaces.c egc.stipple = image_bitmap_pixmap (f, face->stipple); face 4570 src/xfaces.c face->gc = x_create_gc (f, mask, &egc); face 4571 src/xfaces.c if (face->font) face 4572 src/xfaces.c font_prepare_for_face (f, face); face 4681 src/xfaces.c struct face *face = c->faces_by_id[i]; face 4682 src/xfaces.c if (face && face->gc) face 4685 src/xfaces.c if (face->font) face 4686 src/xfaces.c font_done_for_face (c->f, face); face 4687 src/xfaces.c x_free_gc (c->f, face->gc); face 4688 src/xfaces.c face->gc = 0; face 4784 src/xfaces.c cache_face (struct face_cache *c, struct face *face, uintptr_t hash) face 4788 src/xfaces.c face->hash = hash; face 4790 src/xfaces.c if (face->ascii_face != face) face 4792 src/xfaces.c struct face *last = c->buckets[i]; face 4797 src/xfaces.c last->next = face; face 4798 src/xfaces.c face->prev = last; face 4799 src/xfaces.c face->next = NULL; face 4803 src/xfaces.c c->buckets[i] = face; face 4804 src/xfaces.c face->prev = face->next = NULL; face 4809 src/xfaces.c face->prev = NULL; face 4810 src/xfaces.c face->next = c->buckets[i]; face 4811 src/xfaces.c if (face->next) face 4812 src/xfaces.c face->next->prev = face; face 4813 src/xfaces.c c->buckets[i] = face; face 4821 src/xfaces.c face->id = i; face 4827 src/xfaces.c struct face *face1; face 4847 src/xfaces.c c->faces_by_id[i] = face; face 4854 src/xfaces.c uncache_face (struct face_cache *c, struct face *face) face 4856 src/xfaces.c int i = face->hash % FACE_CACHE_BUCKETS_SIZE; face 4858 src/xfaces.c if (face->prev) face 4859 src/xfaces.c face->prev->next = face->next; face 4861 src/xfaces.c c->buckets[i] = face->next; face 4863 src/xfaces.c if (face->next) face 4864 src/xfaces.c face->next->prev = face->prev; face 4866 src/xfaces.c c->faces_by_id[face->id] = NULL; face 4867 src/xfaces.c if (face->id == c->used) face 4881 src/xfaces.c struct face *face; face 4890 src/xfaces.c for (face = cache->buckets[i]; face; face = face->next) face 4892 src/xfaces.c if (face->ascii_face != face) face 4895 src/xfaces.c face = NULL; face 4898 src/xfaces.c if (face->hash == hash face 4899 src/xfaces.c && lface_equal_p (face->lface, attr)) face 4904 src/xfaces.c if (face == NULL) face 4905 src/xfaces.c face = realize_face (cache, attr, -1); face 4908 src/xfaces.c eassert (face == FACE_FROM_ID_OR_NULL (f, face->id)); face 4911 src/xfaces.c return face->id; face 4923 src/xfaces.c struct face *base_face) face 4928 src/xfaces.c struct face *face; face 4935 src/xfaces.c for (face = cache->buckets[i]; face; face = face->next) face 4937 src/xfaces.c if (face->ascii_face == face) face 4939 src/xfaces.c if (face->ascii_face == base_face face 4940 src/xfaces.c && face->font == (NILP (font_object) ? NULL face 4942 src/xfaces.c && lface_equal_p (face->lface, base_face->lface)) face 4943 src/xfaces.c return face->id; face 4947 src/xfaces.c face = realize_non_ascii_face (f, font_object, base_face); face 4948 src/xfaces.c return face->id; face 4964 src/xfaces.c struct face *default_face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); face 5056 src/xfaces.c struct face *face; face 5061 src/xfaces.c struct face *new_face; face 5071 src/xfaces.c face = FACE_FROM_ID (f, face_id); face 5072 src/xfaces.c memcpy (attrs, face->lface, sizeof attrs); face 5075 src/xfaces.c last_height = FONT_HEIGHT (face->font); face 5115 src/xfaces.c struct face *face; face 5122 src/xfaces.c face = FACE_FROM_ID (f, face_id); face 5123 src/xfaces.c memcpy (attrs, face->lface, sizeof attrs); face 5147 src/xfaces.c struct face *default_face; face 5205 src/xfaces.c struct face *def_face) face 5264 src/xfaces.c struct face *face; face 5273 src/xfaces.c face = FACE_FROM_ID_OR_NULL (f, face_id); face 5275 src/xfaces.c if (! face) face 5280 src/xfaces.c if (face->font == def_face->font face 5281 src/xfaces.c || ! face->font) face 5284 src/xfaces.c if (! EQ (face->font->props[i], def_face->font->props[i])) face 5289 src/xfaces.c || face->font->driver->case_sensitive) face 5291 src/xfaces.c s1 = SYMBOL_NAME (face->font->props[i]); face 5326 src/xfaces.c struct face *def_face) face 5523 src/xfaces.c struct face *def_face; face 5879 src/xfaces.c struct face *face = realize_face (c, attrs, DEFAULT_FACE_ID); face 5882 src/xfaces.c (void) face; face 5884 src/xfaces.c if (FRAME_X_P (f) && face->font != FRAME_FONT (f)) face 5888 src/xfaces.c if (!face->font) face 5949 src/xfaces.c static struct face * face 5953 src/xfaces.c struct face *face; face 5962 src/xfaces.c struct face *former_face = cache->faces_by_id[former_face_id]; face 5969 src/xfaces.c face = realize_gui_face (cache, attrs); face 5971 src/xfaces.c face = realize_tty_face (cache, attrs); face 5975 src/xfaces.c face = make_realized_face (attrs); face 5981 src/xfaces.c cache_face (cache, face, lface_hash (attrs)); face 5982 src/xfaces.c return face; face 5992 src/xfaces.c static struct face * face 5994 src/xfaces.c struct face *base_face) face 5997 src/xfaces.c struct face *face; face 5999 src/xfaces.c face = xmalloc (sizeof *face); face 6000 src/xfaces.c *face = *base_face; face 6001 src/xfaces.c face->gc = 0; face 6002 src/xfaces.c face->overstrike face 6004 src/xfaces.c && FONT_WEIGHT_NAME_NUMERIC (face->lface[LFACE_WEIGHT_INDEX]) > 100 face 6008 src/xfaces.c face->colors_copied_bitwise_p = true; face 6009 src/xfaces.c face->font = NILP (font_object) ? NULL : XFONT_OBJECT (font_object); face 6010 src/xfaces.c face->gc = 0; face 6012 src/xfaces.c cache_face (cache, face, face->hash); face 6014 src/xfaces.c return face; face 6043 src/xfaces.c static struct face * face 6046 src/xfaces.c struct face *face = NULL; face 6048 src/xfaces.c struct face *default_face; face 6055 src/xfaces.c face = make_realized_face (attrs); face 6056 src/xfaces.c face->ascii_face = face; face 6066 src/xfaces.c face->font = default_face->font; face 6067 src/xfaces.c face->fontset face 6068 src/xfaces.c = make_fontset_for_ascii_face (f, default_face->fontset, face); face 6136 src/xfaces.c face->font = XFONT_OBJECT (attrs[LFACE_FONT_INDEX]); face 6137 src/xfaces.c face->fontset = make_fontset_for_ascii_face (f, fontset, face); face 6141 src/xfaces.c face->font = NULL; face 6142 src/xfaces.c face->fontset = -1; face 6146 src/xfaces.c if (face->font face 6149 src/xfaces.c face->overstrike = true; face 6153 src/xfaces.c load_face_colors (f, face, attrs); face 6161 src/xfaces.c face->box_color = load_color (f, face, attrs[LFACE_BOX_INDEX], face 6163 src/xfaces.c face->box = FACE_SIMPLE_BOX; face 6164 src/xfaces.c face->box_vertical_line_width = face->box_horizontal_line_width = 1; face 6171 src/xfaces.c face->box = FACE_SIMPLE_BOX; face 6172 src/xfaces.c face->box_vertical_line_width = eabs(XFIXNUM (box)); face 6173 src/xfaces.c face->box_horizontal_line_width = XFIXNUM (box); face 6174 src/xfaces.c face->box_color = face->foreground; face 6175 src/xfaces.c face->box_color_defaulted_p = true; face 6180 src/xfaces.c face->box = FACE_SIMPLE_BOX; face 6181 src/xfaces.c face->box_color = face->foreground; face 6182 src/xfaces.c face->box_color_defaulted_p = true; face 6183 src/xfaces.c face->box_vertical_line_width = XFIXNUM (XCAR (box)); face 6184 src/xfaces.c face->box_horizontal_line_width = XFIXNUM (XCDR (box)); face 6192 src/xfaces.c face->box = FACE_SIMPLE_BOX; face 6193 src/xfaces.c face->box_color = face->foreground; face 6194 src/xfaces.c face->box_color_defaulted_p = true; face 6195 src/xfaces.c face->box_vertical_line_width = face->box_horizontal_line_width = 1; face 6212 src/xfaces.c face->box_vertical_line_width = XFIXNUM (XCAR (value)); face 6213 src/xfaces.c face->box_horizontal_line_width = XFIXNUM (XCDR (value)); face 6216 src/xfaces.c face->box_vertical_line_width = eabs (XFIXNUM (value)); face 6217 src/xfaces.c face->box_horizontal_line_width = XFIXNUM (value); face 6224 src/xfaces.c face->box_color = load_color (f, face, value, face 6226 src/xfaces.c face->use_box_color_for_shadows_p = true; face 6233 src/xfaces.c face->box = FACE_RAISED_BOX; face 6235 src/xfaces.c face->box = FACE_SUNKEN_BOX; face 6238 src/xfaces.c face->box = FACE_SIMPLE_BOX; face 6241 src/xfaces.c face->box_color = face->background; face 6253 src/xfaces.c face->underline = FACE_UNDER_LINE; face 6254 src/xfaces.c face->underline_defaulted_p = true; face 6255 src/xfaces.c face->underline_color = 0; face 6256 src/xfaces.c face->underline_at_descent_line_p = false; face 6257 src/xfaces.c face->underline_pixels_above_descent_line = 0; face 6262 src/xfaces.c face->underline = FACE_UNDER_LINE; face 6263 src/xfaces.c face->underline_defaulted_p = false; face 6264 src/xfaces.c face->underline_color face 6265 src/xfaces.c = load_color (f, face, underline, face 6267 src/xfaces.c face->underline_at_descent_line_p = false; face 6268 src/xfaces.c face->underline_pixels_above_descent_line = 0; face 6272 src/xfaces.c face->underline = FACE_NO_UNDERLINE; face 6273 src/xfaces.c face->underline_defaulted_p = false; face 6274 src/xfaces.c face->underline_color = 0; face 6275 src/xfaces.c face->underline_at_descent_line_p = false; face 6276 src/xfaces.c face->underline_pixels_above_descent_line = 0; face 6282 src/xfaces.c face->underline = FACE_UNDER_LINE; face 6283 src/xfaces.c face->underline_color = 0; face 6284 src/xfaces.c face->underline_defaulted_p = true; face 6285 src/xfaces.c face->underline_at_descent_line_p = false; face 6286 src/xfaces.c face->underline_pixels_above_descent_line = 0; face 6306 src/xfaces.c face->underline_defaulted_p = true; face 6307 src/xfaces.c face->underline_color = 0; face 6311 src/xfaces.c face->underline_defaulted_p = false; face 6312 src/xfaces.c face->underline_color = load_color (f, face, value, face 6319 src/xfaces.c face->underline = FACE_UNDER_LINE; face 6321 src/xfaces.c face->underline = FACE_UNDER_WAVE; face 6325 src/xfaces.c face->underline_at_descent_line_p = !NILP (value); face 6328 src/xfaces.c face->underline_pixels_above_descent_line = XFIXNAT (value); face 6336 src/xfaces.c face->overline_color face 6337 src/xfaces.c = load_color (f, face, attrs[LFACE_OVERLINE_INDEX], face 6339 src/xfaces.c face->overline_p = true; face 6343 src/xfaces.c face->overline_color = face->foreground; face 6344 src/xfaces.c face->overline_color_defaulted_p = true; face 6345 src/xfaces.c face->overline_p = true; face 6351 src/xfaces.c face->strike_through_color face 6352 src/xfaces.c = load_color (f, face, attrs[LFACE_STRIKE_THROUGH_INDEX], face 6354 src/xfaces.c face->strike_through_p = true; face 6358 src/xfaces.c face->strike_through_color = face->foreground; face 6359 src/xfaces.c face->strike_through_color_defaulted_p = true; face 6360 src/xfaces.c face->strike_through_p = true; face 6365 src/xfaces.c face->stipple = load_pixmap (f, stipple); face 6368 src/xfaces.c return face; face 6378 src/xfaces.c map_tty_color (struct frame *f, struct face *face, face 6394 src/xfaces.c color = face->lface[idx]; face 6409 src/xfaces.c pixel = load_color (f, face, color, idx); face 6423 src/xfaces.c face->lface[idx] = tty_color_name (f, pixel); face 6432 src/xfaces.c face->lface[idx] = tty_color_name (f, pixel); face 6440 src/xfaces.c face->foreground = pixel; face 6442 src/xfaces.c face->background = pixel; face 6450 src/xfaces.c static struct face * face 6454 src/xfaces.c struct face *face; face 6463 src/xfaces.c face = make_realized_face (attrs); face 6465 src/xfaces.c face->font_name = FRAME_MSDOS_P (cache->f) ? "ms-dos" : "tty"; face 6472 src/xfaces.c face->tty_bold_p = true; face 6474 src/xfaces.c face->tty_italic_p = true; face 6476 src/xfaces.c face->tty_underline_p = true; face 6478 src/xfaces.c face->tty_reverse_p = true; face 6480 src/xfaces.c face->tty_strike_through_p = true; face 6483 src/xfaces.c map_tty_color (f, face, LFACE_FOREGROUND_INDEX, &face_colors_defaulted); face 6484 src/xfaces.c map_tty_color (f, face, LFACE_BACKGROUND_INDEX, &face_colors_defaulted); face 6489 src/xfaces.c if (face->tty_reverse_p && !face_colors_defaulted) face 6491 src/xfaces.c unsigned long tem = face->foreground; face 6492 src/xfaces.c face->foreground = face->background; face 6493 src/xfaces.c face->background = tem; face 6497 src/xfaces.c && face->tty_bold_p face 6498 src/xfaces.c && face->background == FACE_TTY_DEFAULT_FG_COLOR face 6499 src/xfaces.c && face->foreground == FACE_TTY_DEFAULT_BG_COLOR) face 6500 src/xfaces.c face->tty_bold_p = false; face 6502 src/xfaces.c return face; face 6541 src/xfaces.c struct face *face = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 6542 src/xfaces.c face_id = FACE_FOR_CHAR (f, face, ch, -1, Qnil); face 6547 src/xfaces.c struct face *default_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 6593 src/xfaces.c struct face *default_face; face 6729 src/xfaces.c struct face *default_face; face 6801 src/xfaces.c struct face *base_face; face 6871 src/xfaces.c struct face *base_face = FACE_FROM_ID_OR_NULL (f, base_face_id); face 6900 src/xfaces.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 6902 src/xfaces.c if (!face) face 6907 src/xfaces.c struct face *deflt = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 6911 src/xfaces.c memcpy (lface_attrs, face->lface, LFACE_VECTOR_SIZE); face 6919 src/xfaces.c merge_face_vectors (w, f, face->lface, attrs, 0); face 6985 src/xfaces.c dump_realized_face (struct face *face) face 6987 src/xfaces.c fprintf (stderr, "ID: %d\n", face->id); face 6989 src/xfaces.c fprintf (stderr, "gc: %p\n", face->gc); face 6992 src/xfaces.c face->foreground, face 6993 src/xfaces.c SDATA (face->lface[LFACE_FOREGROUND_INDEX])); face 6995 src/xfaces.c face->background, face 6996 src/xfaces.c SDATA (face->lface[LFACE_BACKGROUND_INDEX])); face 6997 src/xfaces.c if (face->font) face 6999 src/xfaces.c SDATA (face->font->props[FONT_NAME_INDEX]), face 7000 src/xfaces.c SDATA (face->lface[LFACE_FAMILY_INDEX])); face 7002 src/xfaces.c fprintf (stderr, "font = %p\n", face->font); face 7004 src/xfaces.c fprintf (stderr, "fontset: %d\n", face->fontset); face 7006 src/xfaces.c face->underline, face 7007 src/xfaces.c SDATA (Fsymbol_name (face->lface[LFACE_UNDERLINE_INDEX]))); face 7008 src/xfaces.c fprintf (stderr, "hash: %" PRIuPTR "\n", face->hash); face 7033 src/xfaces.c struct face *face; face 7035 src/xfaces.c face = FACE_FROM_ID_OR_NULL (SELECTED_FRAME (), XFIXNUM (n)); face 7036 src/xfaces.c if (face == NULL) face 7038 src/xfaces.c dump_realized_face (face); face 890 src/xfont.c xfont_prepare_face (struct frame *f, struct face *face) face 893 src/xfont.c XSetFont (FRAME_X_DISPLAY (f), face->gc, face 894 src/xfont.c ((struct xfont_info *) face->font)->xfont->fid); face 999 src/xfont.c if (s->gc != s->face->gc) face 64 src/xftfont.c xftfont_get_colors (struct frame *f, struct face *face, GC gc, face 72 src/xftfont.c if (xftface_info && face->gc == gc) face 88 src/xftfont.c if (xgcv.foreground == face->foreground) face 90 src/xftfont.c else if (xgcv.foreground == face->background) face 94 src/xftfont.c else if (xgcv.background == face->background) face 96 src/xftfont.c else if (xgcv.background == face->foreground) face 376 src/xftfont.c xftfont_prepare_face (struct frame *f, struct face *face) face 382 src/xftfont.c if (face != face->ascii_face) face 384 src/xftfont.c face->extra = face->ascii_face->extra; face 390 src/xftfont.c xftfont_get_colors (f, face, face->gc, NULL, face 395 src/xftfont.c face->extra = xftface_info; face 399 src/xftfont.c xftfont_done_face (struct frame *f, struct face *face) face 405 src/xftfont.c if (face != face->ascii_face face 406 src/xftfont.c || ! face->extra) face 410 src/xftfont.c xftface_info = (struct xftface_info *) face->extra; face 426 src/xftfont.c face->extra = NULL; face 507 src/xftfont.c struct face *face = s->face; face 517 src/xftfont.c if (s->font == face->font) face 518 src/xftfont.c xftface_info = (struct xftface_info *) face->extra; face 519 src/xftfont.c xftfont_get_colors (f, face, s->gc, xftface_info, face 7206 src/xterm.c struct face *face; face 7208 src/xterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); face 7209 src/xterm.c if (face) face 7211 src/xterm.c face->foreground); face 7227 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); face 7228 src/xterm.c struct face *face_first face 7230 src/xterm.c struct face *face_last face 7232 src/xterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); face 7469 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 7471 src/xterm.c if (face) face 7473 src/xterm.c unsigned long color = face->background; face 7536 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 7538 src/xterm.c if (face) face 7540 src/xterm.c unsigned long color = face->background; face 7567 src/xterm.c struct face *face = p->face; face 7578 src/xterm.c if (face->stipple) face 7580 src/xterm.c XSetFillStyle (display, face->gc, FillOpaqueStippled); face 7581 src/xterm.c x_fill_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny, face 7583 src/xterm.c XSetFillStyle (display, face->gc, FillSolid); face 7589 src/xterm.c XSetBackground (display, face->gc, face->background); face 7590 src/xterm.c x_clear_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny, face 7592 src/xterm.c XSetForeground (display, face->gc, face->foreground); face 7605 src/xterm.c ? (p->overlay_p ? face->background face 7607 src/xterm.c : face->foreground)); face 7608 src/xterm.c XSetBackground (display, gc, face->background); face 7632 src/xterm.c unsigned long background = face->background; face 7667 src/xterm.c ? (p->overlay_p ? face->background face 7669 src/xterm.c : face->foreground), face 7995 src/xterm.c && s->face->background == FRAME_BACKGROUND_PIXEL (s->f) face 7996 src/xterm.c && s->face->foreground == FRAME_FOREGROUND_PIXEL (s->f) face 8007 src/xterm.c xgcv.foreground = s->face->background; face 8011 src/xterm.c xgcv.foreground = s->face->foreground; face 8015 src/xterm.c xgcv.foreground = s->face->foreground; face 8018 src/xterm.c if (xgcv.background == s->face->background face 8019 src/xterm.c && xgcv.foreground == s->face->foreground) face 8021 src/xterm.c xgcv.background = s->face->foreground; face 8022 src/xterm.c xgcv.foreground = s->face->background; face 8049 src/xterm.c if (s->font == s->face->font) face 8050 src/xterm.c s->gc = s->face->gc; face 8059 src/xterm.c xgcv.background = s->face->background; face 8060 src/xterm.c xgcv.foreground = s->face->foreground; face 8089 src/xterm.c s->gc = s->face->gc; face 8100 src/xterm.c prepare_face_for_display (s->f, s->face); face 8104 src/xterm.c s->gc = s->face->gc; face 8105 src/xterm.c s->stippled_p = s->face->stipple != 0; face 8110 src/xterm.c s->stippled_p = s->face->stipple != 0; face 8120 src/xterm.c s->stippled_p = s->face->stipple != 0; face 8125 src/xterm.c s->gc = s->face->gc; face 8126 src/xterm.c s->stippled_p = s->face->stipple != 0; face 8252 src/xterm.c int box_line_width = max (s->face->box_horizontal_line_width, 0); face 8296 src/xterm.c if (s->face->box != FACE_NO_BOX face 8298 src/xterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 8335 src/xterm.c if (s->face->overstrike) face 8348 src/xterm.c int box_line_width = max (s->face->box_horizontal_line_width, 0); face 8391 src/xterm.c if (s->face && s->face->box != FACE_NO_BOX face 8393 src/xterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 8429 src/xterm.c if (s->face->overstrike) face 8452 src/xterm.c if (s->face->overstrike) face 8460 src/xterm.c if (s->face->overstrike) face 8471 src/xterm.c if (s->face->overstrike) face 8502 src/xterm.c if (s->face && s->face->box != FACE_NO_BOX face 8504 src/xterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 9402 src/xterm.c if (s->face->use_box_color_for_shadows_p) face 9403 src/xterm.c color = s->face->box_color; face 9691 src/xterm.c XSetForeground (display, s->gc, s->face->box_color); face 9756 src/xterm.c vwidth = eabs (s->face->box_vertical_line_width); face 9757 src/xterm.c hwidth = eabs (s->face->box_horizontal_line_width); face 9758 src/xterm.c raised_p = s->face->box == FACE_RAISED_BOX; face 9777 src/xterm.c if (s->face->box == FACE_SIMPLE_BOX) face 9853 src/xterm.c int y = s->ybase - image_ascent (s->img, s->face, &s->slice); face 9857 src/xterm.c if (s->face->box != FACE_NO_BOX face 9860 src/xterm.c x += max (s->face->box_vertical_line_width, 0); face 9980 src/xterm.c int y = s->ybase - image_ascent (s->img, s->face, &s->slice); face 9984 src/xterm.c if (s->face->box != FACE_NO_BOX face 9987 src/xterm.c x += max (s->face->box_vertical_line_width, 0); face 9999 src/xterm.c if (s->face->id == TAB_BAR_FACE_ID) face 10019 src/xterm.c if (s->face->id == TAB_BAR_FACE_ID) face 10032 src/xterm.c if (s->face->id == TOOL_BAR_FACE_ID) face 10070 src/xterm.c int y = s->ybase - s->y - image_ascent (s->img, s->face, &s->slice); face 10074 src/xterm.c if (s->face->box != FACE_NO_BOX face 10077 src/xterm.c x += max (s->face->box_vertical_line_width, 0); face 10182 src/xterm.c int box_line_hwidth = max (s->face->box_vertical_line_width, 0); face 10183 src/xterm.c int box_line_vwidth = max (s->face->box_horizontal_line_width, 0); face 10199 src/xterm.c s->stippled_p = s->face->stipple != 0; face 10379 src/xterm.c gc = s->face->gc; face 10384 src/xterm.c if (s->face->stipple) face 10564 src/xterm.c && s->face->box != FACE_NO_BOX face 10647 src/xterm.c if (!relief_drawn_p && s->face->box != FACE_NO_BOX) face 10651 src/xterm.c if (s->face->underline) face 10653 src/xterm.c if (s->face->underline == FACE_UNDER_WAVE) face 10655 src/xterm.c if (s->face->underline_defaulted_p) face 10662 src/xterm.c XSetForeground (display, s->gc, s->face->underline_color); face 10667 src/xterm.c else if (s->face->underline == FACE_UNDER_LINE) face 10673 src/xterm.c && s->prev->face->underline == FACE_UNDER_LINE face 10674 src/xterm.c && (s->prev->face->underline_at_descent_line_p face 10675 src/xterm.c == s->face->underline_at_descent_line_p) face 10676 src/xterm.c && (s->prev->face->underline_pixels_above_descent_line face 10677 src/xterm.c == s->face->underline_pixels_above_descent_line)) face 10701 src/xterm.c || s->face->underline_at_descent_line_p); face 10716 src/xterm.c - s->face->underline_pixels_above_descent_line); face 10739 src/xterm.c if (!s->face->underline_pixels_above_descent_line) face 10751 src/xterm.c if (s->face->underline_defaulted_p) face 10760 src/xterm.c XSetForeground (display, s->gc, s->face->underline_color); face 10769 src/xterm.c if (s->face->overline_p) face 10773 src/xterm.c if (s->face->overline_color_defaulted_p) face 10781 src/xterm.c XSetForeground (display, s->gc, s->face->overline_color); face 10789 src/xterm.c if (s->face->strike_through_p) face 10803 src/xterm.c if (s->face->strike_through_color_defaulted_p) face 10811 src/xterm.c XSetForeground (display, s->gc, s->face->strike_through_color); face 25003 src/xterm.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); face 25011 src/xterm.c if (face->background == f->output_data.x->cursor_pixel) face 25012 src/xterm.c xgcv.background = xgcv.foreground = face->foreground;