face 6881 src/alloc.c struct face *face = FACE_FROM_ID_OR_NULL (c->f, i); face 6883 src/alloc.c if (face) face 6885 src/alloc.c if (face->font && !vectorlike_marked_p (&face->font->header)) face 6886 src/alloc.c mark_vectorlike (&face->font->header); face 6888 src/alloc.c mark_objects (face->lface, LFACE_VECTOR_SIZE); face 673 src/androidfont.c prepare_face_for_display (s->f, s->face); face 2465 src/androidterm.c struct face *face = p->face; face 2477 src/androidterm.c if (face->stipple) face 2479 src/androidterm.c android_set_fill_style (face->gc, ANDROID_FILL_OPAQUE_STIPPLED); face 2480 src/androidterm.c android_fill_rectangle (FRAME_ANDROID_DRAWABLE (f), face->gc, face 2482 src/androidterm.c android_set_fill_style (face->gc, ANDROID_FILL_SOLID); face 2488 src/androidterm.c android_set_background (face->gc, face->background); face 2489 src/androidterm.c android_clear_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny); face 2490 src/androidterm.c android_set_foreground (face->gc, face->foreground); face 2505 src/androidterm.c background = face->background; face 2517 src/androidterm.c ? face->background face 2519 src/androidterm.c : face->foreground), face 2558 src/androidterm.c && s->face->background == FRAME_BACKGROUND_PIXEL (s->f) face 2559 src/androidterm.c && s->face->foreground == FRAME_FOREGROUND_PIXEL (s->f) face 2569 src/androidterm.c xgcv.foreground = s->face->background; face 2573 src/androidterm.c xgcv.foreground = s->face->foreground; face 2577 src/androidterm.c xgcv.foreground = s->face->foreground; face 2580 src/androidterm.c if (xgcv.background == s->face->background face 2581 src/androidterm.c && xgcv.foreground == s->face->foreground) face 2583 src/androidterm.c xgcv.background = s->face->foreground; face 2584 src/androidterm.c xgcv.foreground = s->face->background; face 2606 src/androidterm.c if (s->font == s->face->font) face 2607 src/androidterm.c s->gc = s->face->gc; face 2615 src/androidterm.c xgcv.background = s->face->background; face 2616 src/androidterm.c xgcv.foreground = s->face->foreground; face 2641 src/androidterm.c s->gc = s->face->gc; face 2651 src/androidterm.c prepare_face_for_display (s->f, s->face); face 2655 src/androidterm.c s->gc = s->face->gc; face 2656 src/androidterm.c s->stippled_p = s->face->stipple != 0; face 2661 src/androidterm.c s->stippled_p = s->face->stipple != 0; face 2671 src/androidterm.c s->stippled_p = s->face->stipple != 0; face 2676 src/androidterm.c s->gc = s->face->gc; face 2677 src/androidterm.c s->stippled_p = s->face->stipple != 0; face 2766 src/androidterm.c int box_line_width = max (s->face->box_horizontal_line_width, 0); face 2984 src/androidterm.c android_set_foreground (s->gc, s->face->box_color); face 3128 src/androidterm.c if (s->face->use_box_color_for_shadows_p) face 3129 src/androidterm.c color = s->face->box_color; face 3187 src/androidterm.c vwidth = eabs (s->face->box_vertical_line_width); face 3188 src/androidterm.c hwidth = eabs (s->face->box_horizontal_line_width); face 3189 src/androidterm.c raised_p = s->face->box == FACE_RAISED_BOX; face 3208 src/androidterm.c if (s->face->box == FACE_SIMPLE_BOX) face 3244 src/androidterm.c int y = s->ybase - image_ascent (s->img, s->face, &s->slice); face 3248 src/androidterm.c if (s->face->box != FACE_NO_BOX face 3251 src/androidterm.c x += max (s->face->box_vertical_line_width, 0); face 3263 src/androidterm.c if (s->face->id == TAB_BAR_FACE_ID) face 3283 src/androidterm.c if (s->face->id == TAB_BAR_FACE_ID) face 3296 src/androidterm.c if (s->face->id == TOOL_BAR_FACE_ID) face 3330 src/androidterm.c int y = s->ybase - image_ascent (s->img, s->face, &s->slice); face 3334 src/androidterm.c if (s->face->box != FACE_NO_BOX face 3337 src/androidterm.c x += max (s->face->box_vertical_line_width, 0); face 3399 src/androidterm.c int box_line_hwidth = max (s->face->box_vertical_line_width, 0); face 3400 src/androidterm.c int box_line_vwidth = max (s->face->box_horizontal_line_width, 0); face 3412 src/androidterm.c s->stippled_p = s->face->stipple != 0; face 3511 src/androidterm.c gc = s->face->gc; face 3516 src/androidterm.c if (s->face->stipple) face 3654 src/androidterm.c if (s->face->box != FACE_NO_BOX face 3656 src/androidterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 3689 src/androidterm.c if (s->face->overstrike) face 3702 src/androidterm.c if (s->face && s->face->box != FACE_NO_BOX face 3704 src/androidterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 3735 src/androidterm.c if (s->face->overstrike) face 3758 src/androidterm.c if (s->face->overstrike) face 3766 src/androidterm.c if (s->face->overstrike) face 3777 src/androidterm.c if (s->face->overstrike) face 3792 src/androidterm.c if (s->face && s->face->box != FACE_NO_BOX face 3794 src/androidterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 3900 src/androidterm.c && s->face->box != FACE_NO_BOX face 3983 src/androidterm.c if (!relief_drawn_p && s->face->box != FACE_NO_BOX) face 3987 src/androidterm.c if (s->face->underline) face 3989 src/androidterm.c if (s->face->underline == FACE_UNDER_WAVE) face 3991 src/androidterm.c if (s->face->underline_defaulted_p) face 3997 src/androidterm.c android_set_foreground (s->gc, s->face->underline_color); face 4002 src/androidterm.c else if (s->face->underline == FACE_UNDER_LINE) face 4008 src/androidterm.c && s->prev->face->underline == FACE_UNDER_LINE face 4009 src/androidterm.c && (s->prev->face->underline_at_descent_line_p face 4010 src/androidterm.c == s->face->underline_at_descent_line_p) face 4011 src/androidterm.c && (s->prev->face->underline_pixels_above_descent_line face 4012 src/androidterm.c == s->face->underline_pixels_above_descent_line)) face 4036 src/androidterm.c || s->face->underline_at_descent_line_p); face 4051 src/androidterm.c - s->face->underline_pixels_above_descent_line); face 4074 src/androidterm.c if (!s->face->underline_pixels_above_descent_line) face 4086 src/androidterm.c if (s->face->underline_defaulted_p) face 4093 src/androidterm.c android_set_foreground (s->gc, s->face->underline_color); face 4101 src/androidterm.c if (s->face->overline_p) face 4105 src/androidterm.c if (s->face->overline_color_defaulted_p) face 4113 src/androidterm.c android_set_foreground (s->gc, s->face->overline_color); face 4121 src/androidterm.c if (s->face->strike_through_p) face 4135 src/androidterm.c if (s->face->strike_through_color_defaulted_p) face 4143 src/androidterm.c android_set_foreground (s->gc, s->face->strike_through_color); face 4254 src/androidterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 4256 src/androidterm.c if (face) face 4258 src/androidterm.c unsigned long color = face->background; face 4367 src/androidterm.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); face 4375 src/androidterm.c if (face->background == f->output_data.android->cursor_pixel) face 4376 src/androidterm.c xgcv.background = xgcv.foreground = face->foreground; face 4501 src/androidterm.c struct face *face; face 4503 src/androidterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); face 4504 src/androidterm.c if (face) face 4506 src/androidterm.c face->foreground); face 4517 src/androidterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); face 4518 src/androidterm.c struct face *face_first face 4520 src/androidterm.c struct face *face_last face 4522 src/androidterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); 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 1289 src/composite.c signed char bidi_level, struct face *face, Lisp_Object string) face 1342 src/composite.c w, face, string, direction, cmp_it->ch); face 1389 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 375 src/dispextern.h #define SET_GLYPH_FACE(glyph, face) ((glyph).face_id = (face)) face 376 src/dispextern.h #define SET_GLYPH(glyph, char, face) \ face 377 src/dispextern.h ((glyph).ch = (char), (glyph).face_id = (face)) face 1387 src/dispextern.h struct face *face; face 1834 src/dispextern.h struct face *next, *prev; face 1839 src/dispextern.h struct face *ascii_face; face 1909 src/dispextern.h struct face **buckets; face 1915 src/dispextern.h struct face **faces_by_id; face 1931 src/dispextern.h FACE_SUITABLE_FOR_ASCII_CHAR_P (struct face *face) face 1934 src/dispextern.h return face == face->ascii_face; face 1946 src/dispextern.h FACE_FOR_CHAR (struct frame *f, struct face *face, int character, face 1950 src/dispextern.h return face_for_char (f, face, character, pos, object); face 1952 src/dispextern.h return face->id; face 2147 src/dispextern.h struct face *face; face 3636 src/dispextern.h int image_ascent (struct image *, struct face *, struct glyph_slice *); face 3665 src/dispextern.h unsigned long load_color (struct frame *, struct face *, Lisp_Object, face 3670 src/dispextern.h void prepare_face_for_display (struct frame *, struct face *); face 3175 src/font.c struct face *def = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 3266 src/font.c font_prepare_for_face (struct frame *f, struct face *face) face 3268 src/font.c if (face->font->driver->prepare_face) face 3269 src/font.c face->font->driver->prepare_face (f, face); face 3276 src/font.c font_done_for_face (struct frame *f, struct face *face) face 3278 src/font.c if (face->font->driver->done_face) face 3279 src/font.c face->font->driver->done_face (f, face); face 3592 src/font.c font_at (int c, ptrdiff_t pos, struct face *face, struct window *w, face 3635 src/font.c if (! face) face 3646 src/font.c face = FACE_FROM_ID (f, face_id); face 3650 src/font.c int face_id = FACE_FOR_CHAR (f, face, c, pos, string); face 3651 src/font.c face = FACE_FROM_ID (f, face_id); face 3653 src/font.c if (! face->font) face 3656 src/font.c XSETFONT (font_object, face->font); face 3696 src/font.c struct window *w, struct face *face, Lisp_Object string, face 3704 src/font.c if (!face) face 3721 src/font.c face = FACE_FROM_ID (f, face_id); face 3737 src/font.c font_object = font_for_char (face, XFIXNAT (val), pos, string); face 3753 src/font.c font_object = font_for_char (face, c, pos - 1, string); face 4552 src/font.c struct face *face = FACE_FROM_ID (f, face_id); face 4553 src/font.c if (! face->font) face 4555 src/font.c unsigned code = face->font->driver->encode_char (face->font, c); face 4559 src/font.c XSETFONT (font_object, face->font); face 5280 src/font.c struct face *face; face 5298 src/font.c face = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 5299 src/font.c face->fontp = font; face 5301 src/font.c font->driver->prepare_face (f, face); face 5303 src/font.c len = font->driver->draw_text (f, face, 0, font->ascent, code, i, width); face 5305 src/font.c font->driver->done_face (f, face); face 5306 src/font.c face->fontp = NULL; face 5398 src/font.c struct face *face = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 5399 src/font.c Lisp_Object entity = font_matching_entity (f, face->lface, name); face 30 src/font.h struct face; face 647 src/font.h void (*prepare_face) (struct frame *f, struct face *face); face 651 src/font.h void (*done_face) (struct frame *f, struct face *face); face 872 src/font.h extern void font_prepare_for_face (struct frame *f, struct face *face); face 873 src/font.h extern void font_done_for_face (struct frame *f, struct face *face); face 903 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 732 src/fontset.c font_entity = font_find_for_lface (f, face->lface, face 740 src/fontset.c font_object = font_open_for_lface (f, font_entity, face->lface, face 785 src/fontset.c fontset_font (Lisp_Object fontset, int c, struct face *face, int id) face 793 src/fontset.c rfont_def = fontset_find_font (fontset, c, face, id, 0); face 809 src/fontset.c = fontset_find_font (FONTSET_DEFAULT (fontset), c, face, id, 0); face 821 src/fontset.c rfont_def = fontset_find_font (fontset, c, face, id, 1); face 833 src/fontset.c rfont_def = fontset_find_font (FONTSET_DEFAULT (fontset), c, face, id, 1); face 914 src/fontset.c free_face_fontset (struct frame *f, struct face *face) face 918 src/fontset.c fontset = FONTSET_FROM_ID (face->fontset); face 923 src/fontset.c ASET (Vfontset_table, face->fontset, Qnil); face 924 src/fontset.c if (face->fontset < next_fontset_id) face 925 src/fontset.c next_fontset_id = face->fontset; face 935 src/fontset.c next_fontset_id = face->fontset; face 937 src/fontset.c face->fontset = -1; face 945 src/fontset.c face_for_char (struct frame *f, struct face *face, int c, face 953 src/fontset.c return face->ascii_face->id; face 974 src/fontset.c if (face->ascii_face->font) face 976 src/fontset.c XSETFONT (font_object, face->ascii_face->font); face 978 src/fontset.c return face->ascii_face->id; face 989 src/fontset.c if (face->font) face 991 src/fontset.c XSETFONT (font_object, face->font); face 992 src/fontset.c if (font_has_char (f, font_object, c)) return face->id; face 1003 src/fontset.c if (face->fontset < 0 && !face->font) face 1004 src/fontset.c return face->id; face 1006 src/fontset.c eassert (fontset_id_valid_p (face->fontset)); face 1007 src/fontset.c fontset = FONTSET_FROM_ID (face->fontset); face 1031 src/fontset.c rfont_def = fontset_font (fontset, c, face, id); face 1041 src/fontset.c face_id = face_for_font (f, font_object, face); face 1051 src/fontset.c face_id = face_for_font (f, Qnil, face); face 1061 src/fontset.c font_for_char (struct face *face, int c, ptrdiff_t pos, Lisp_Object object) face 1070 src/fontset.c XSETFONT (font_object, face->ascii_face->font); face 1074 src/fontset.c eassert (fontset_id_valid_p (face->fontset)); face 1075 src/fontset.c fontset = FONTSET_FROM_ID (face->fontset); face 1098 src/fontset.c rfont_def = fontset_font (fontset, c, face, id); face 1111 src/fontset.c make_fontset_for_ascii_face (struct frame *f, int base_fontset_id, struct face *face) face 1351 src/fontset.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 1354 src/fontset.c free_realized_face (f, face); face 1687 src/fontset.c struct face *face; face 1693 src/fontset.c face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); face 1694 src/fontset.c if (face) face 1695 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 1631 src/frame.h INLINE struct face * face 1641 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 1691 src/fringe.c (Lisp_Object bitmap, Lisp_Object face) face 1704 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 915 src/haikufont.c haikufont_prepare_face (struct frame *f, struct face *face) face 1089 src/haikufont.c struct face *face = s->face; face 1096 src/haikufont.c prepare_face_for_display (s->f, face); face 1100 src/haikufont.c foreground = s->face->foreground; face 1101 src/haikufont.c background = s->face->background; face 1128 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 4493 src/haikuterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 4503 src/haikuterm.c if (face) face 4504 src/haikuterm.c BView_SetHighColor (view, face->background); face 4622 src/haikuterm.c unsigned long foreground = s->face->background; face 4625 src/haikuterm.c foreground = s->face->background; face 4629 src/haikuterm.c foreground = s->face->foreground; face 4631 src/haikuterm.c if (background == s->face->background face 4632 src/haikuterm.c && foreground == s->face->foreground) face 4634 src/haikuterm.c background = s->face->foreground; face 4635 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 1781 src/image.c image_ascent (struct image *img, struct face *face, struct glyph_slice *slice) face 1795 src/image.c if (face->font) face 1799 src/image.c ascent = height / 2 - (FONT_DESCENT (face->font) face 1800 src/image.c - FONT_BASE (face->font)) / 2; face 1807 src/image.c ascent = (height + FONT_BASE (face->font) face 1808 src/image.c - FONT_DESCENT (face->font) + 1) / 2; face 3344 src/image.c struct face *face = FACE_FROM_ID (f, face_id); face 3345 src/image.c unsigned long foreground = face->foreground; face 3346 src/image.c unsigned long background = face->background; face 3347 src/image.c int font_size = face->font->pixel_size; face 3348 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 2880 src/msdos.c int i, j, face, width, mx, my, enabled, mousehere, row, col; face 2902 src/msdos.c face = faces[enabled + mousehere * 2]; face 2912 src/msdos.c BUILD_CHAR_GLYPH (*p, ' ', face, 0); face 2920 src/msdos.c BUILD_CHAR_GLYPH (*p, c, face, 0); face 2925 src/msdos.c BUILD_CHAR_GLYPH (*p, '^', face, 0); face 2928 src/msdos.c BUILD_CHAR_GLYPH (*p, c + 64, face, 0); face 2939 src/msdos.c BUILD_CHAR_GLYPH (*p, ' ', face, 0); face 2943 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 4964 src/pgtkterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 4968 src/pgtkterm.c if (face) face 4970 src/pgtkterm.c fill_background_by_face (f, face, 0, margin, width, border); face 4971 src/pgtkterm.c fill_background_by_face (f, face, 0, 0, border, height); face 4972 src/pgtkterm.c fill_background_by_face (f, face, width - border, 0, border, face 4974 src/pgtkterm.c fill_background_by_face (f, face, 0, (height face 439 src/sfntfont-android.c prepare_face_for_display (s->f, s->face); face 3806 src/sfntfont.c sfntfont_get_font_table (hb_face_t *face, hb_tag_t tag, void *data) face 3858 src/sfntfont.c hb_face_t *face; face 3871 src/sfntfont.c face = hb_face_create_for_tables (sfntfont_get_font_table, font, face 3874 src/sfntfont.c if (hb_face_get_glyph_count (face) > 0) face 3876 src/sfntfont.c info->hb_font = hb_font_create (face); face 3899 src/sfntfont.c hb_face_destroy (face); face 1971 src/term.c struct face *face = FACE_FROM_ID (f, face_id); face 1972 src/term.c unsigned long fg = face->foreground; face 1973 src/term.c unsigned long bg = face->background; face 1985 src/term.c if (face->tty_bold_p && MAY_USE_WITH_COLORS_P (tty, NC_BOLD)) face 1988 src/term.c if (face->tty_italic_p && MAY_USE_WITH_COLORS_P (tty, NC_ITALIC)) face 1999 src/term.c if (face->tty_underline_p && MAY_USE_WITH_COLORS_P (tty, NC_UNDERLINE)) face 2002 src/term.c if (face->tty_strike_through_p face 2035 src/term.c struct face *face = FACE_FROM_ID (f, face_id); face 2043 src/term.c if (face->tty_bold_p face 2044 src/term.c || face->tty_italic_p face 2045 src/term.c || face->tty_reverse_p face 2046 src/term.c || face->tty_underline_p face 2047 src/term.c || face->tty_strike_through_p) face 2058 src/term.c if (face->tty_underline_p) face 2064 src/term.c && ((face->foreground != FACE_TTY_DEFAULT_COLOR face 2065 src/term.c && face->foreground != FACE_TTY_DEFAULT_FG_COLOR) face 2066 src/term.c || (face->background != FACE_TTY_DEFAULT_COLOR face 2067 src/term.c && face->background != FACE_TTY_DEFAULT_BG_COLOR))) face 2922 src/term.c int i, face, width, enabled, mousehere, row, col; face 2945 src/term.c face = faces[enabled + mousehere * 2]; face 2962 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 1550 src/w32fns.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 1554 src/w32fns.c if (face) face 1557 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 2293 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 2294 src/xdisp.c if (face) face 2296 src/xdisp.c if (face->font) face 2297 src/xdisp.c height = normal_char_height (face->font, -1); face 2298 src/xdisp.c if (face->box_horizontal_line_width > 0) face 2299 src/xdisp.c height += 2 * face->box_horizontal_line_width; face 3453 src/xdisp.c struct face *face; face 3459 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, remapped_base_face_id); face 3460 src/xdisp.c if (face && face->box != FACE_NO_BOX) face 3462 src/xdisp.c int box_thickness = face->box_vertical_line_width; face 4795 src/xdisp.c struct face *new_face = FACE_FROM_ID (it->f, new_face_id); face 4799 src/xdisp.c struct face *old_face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); face 4958 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); face 4960 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, charpos, it->string); face 5054 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, face_id); face 5055 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, c, CHARPOS (pos), Qnil); face 5523 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 5524 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); face 5879 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 5883 src/xdisp.c face->lface[LFACE_HEIGHT_INDEX]); face 5891 src/xdisp.c struct face *f; face 5903 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 5905 src/xdisp.c specbind (Qheight, face->lface[LFACE_HEIGHT_INDEX]); face 5996 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 5998 src/xdisp.c * (normal_char_height (face->font, -1))); face 7077 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); face 7079 src/xdisp.c if (face) face 7081 src/xdisp.c struct face *prev_face = FACE_FROM_ID_OR_NULL (it->f, prev_face_id); face 7084 src/xdisp.c it->start_of_box_run_p = (face->box != FACE_NO_BOX face 7087 src/xdisp.c it->face_box_p = face->box != FACE_NO_BOX; face 8342 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); face 8347 src/xdisp.c if (!face) face 8357 src/xdisp.c it->face_id = face_for_font (it->f, LGSTRING_FONT (gstring), face); face 8380 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, c, pos, it->string); face 8394 src/xdisp.c struct face *face = FACE_FROM_ID_OR_NULL (it->f, face_id); face 8396 src/xdisp.c if (face) face 8398 src/xdisp.c if (face->box == FACE_NO_BOX) face 8912 src/xdisp.c struct face *this_face, *prev_face, *next_face; face 10723 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 10724 src/xdisp.c struct font *face_font = face->font; face 23060 src/xdisp.c Lisp_Object face, ilisp; face 23075 src/xdisp.c face = Fget_text_property (ilisp, Qface, overlay_arrow_string); face 23076 src/xdisp.c it.face_id = compute_char_face (f, it.char_to_display, face); face 23401 src/xdisp.c struct face *face; face 23422 src/xdisp.c struct face *default_face face 23451 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); face 23459 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); face 23460 src/xdisp.c it->face_id = FACE_FOR_CHAR (it->f, face, 0, -1, Qnil); face 23484 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (it->f); face 23612 src/xdisp.c struct face *default_face = face 23628 src/xdisp.c struct face *face = FACE_FROM_ID (f, (it->face_before_selective_p face 23634 src/xdisp.c && face->box == FACE_NO_BOX face 23635 src/xdisp.c && face->underline == FACE_NO_UNDERLINE face 23636 src/xdisp.c && !face->overline_p face 23637 src/xdisp.c && !face->strike_through_p face 23638 src/xdisp.c && face->background == FRAME_BACKGROUND_PIXEL (f) face 23640 src/xdisp.c && !face->stipple face 23657 src/xdisp.c it->face_id = FACE_FOR_CHAR (f, face, 0, -1, Qnil); face 23668 src/xdisp.c it->glyph_row->glyphs[TEXT_AREA][0].face_id = face->id; face 23793 src/xdisp.c struct font *font = face->font ? face->font : FRAME_FONT (f); face 23831 src/xdisp.c default_face->id : face->id); face 23869 src/xdisp.c && face->background != FRAME_BACKGROUND_PIXEL (f)) face 23898 src/xdisp.c default_face->id : face->id); face 23940 src/xdisp.c && face->background != FRAME_BACKGROUND_PIXEL (f)) face 26733 src/xdisp.c struct face *face = FACE_FROM_ID (f, MENU_FACE_ID); face 26808 src/xdisp.c if (face->box != FACE_NO_BOX) face 26812 src/xdisp.c int box_thickness = face->box_vertical_line_width; face 27133 src/xdisp.c struct face *face; face 27231 src/xdisp.c face = FACE_FROM_ID (it.f, face_id); face 27233 src/xdisp.c if (face->box != FACE_NO_BOX) face 27237 src/xdisp.c int box_thickness = face->box_vertical_line_width; face 27820 src/xdisp.c Lisp_Object face = plist_get (props, Qface); face 27822 src/xdisp.c if (NILP (face)) face 27823 src/xdisp.c face = mode_line_string_face; face 27825 src/xdisp.c face = list2 (face, mode_line_string_face); face 27826 src/xdisp.c props = plist_put (props, Qface, face); face 27842 src/xdisp.c Lisp_Object face; face 27845 src/xdisp.c face = plist_get (props, Qface); face 27846 src/xdisp.c if (NILP (face)) face 27847 src/xdisp.c face = mode_line_string_face; face 27849 src/xdisp.c face = list2 (face, mode_line_string_face); face 27850 src/xdisp.c props = list2 (Qface, face); face 27900 src/xdisp.c (Lisp_Object format, Lisp_Object face, face 27908 src/xdisp.c bool no_props = FIXNUMP (face); face 27928 src/xdisp.c face = Qnil; face 27930 src/xdisp.c face_id = (NILP (face) || EQ (face, Qdefault)) ? DEFAULT_FACE_ID face 27931 src/xdisp.c : EQ (face, Qt) ? (EQ (window, selected_window) face 27933 src/xdisp.c : EQ (face, Qmode_line_active) ? MODE_LINE_ACTIVE_FACE_ID face 27934 src/xdisp.c : EQ (face, Qmode_line_inactive) ? MODE_LINE_INACTIVE_FACE_ID face 27935 src/xdisp.c : EQ (face, Qheader_line) ? HEADER_LINE_FACE_ID face 27936 src/xdisp.c : EQ (face, Qtab_line) ? TAB_LINE_FACE_ID face 27937 src/xdisp.c : EQ (face, Qtab_bar) ? TAB_BAR_FACE_ID face 27938 src/xdisp.c : EQ (face, Qtool_bar) ? TOOL_BAR_FACE_ID face 27967 src/xdisp.c mode_line_string_face = face; face 27969 src/xdisp.c = NILP (face) ? Qnil : list2 (Qface, face); face 28881 src/xdisp.c struct face *face; face 28886 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); face 28887 src/xdisp.c it->face_box_p = face->box != FACE_NO_BOX; face 29612 src/xdisp.c static struct face * face 29616 src/xdisp.c struct face *face = FACE_FROM_ID (f, face_id); face 29619 src/xdisp.c if (face->font) face 29621 src/xdisp.c code = face->font->driver->encode_char (face->font, c); face 29634 src/xdisp.c eassert (face != NULL); face 29635 src/xdisp.c prepare_face_for_display (f, face); face 29638 src/xdisp.c return face; face 29646 src/xdisp.c static struct face * face 29650 src/xdisp.c struct face *face; face 29654 src/xdisp.c face = FACE_FROM_ID (f, glyph->face_id); face 29657 src/xdisp.c prepare_face_for_display (f, face); face 29659 src/xdisp.c if (face->font) face 29664 src/xdisp.c code = face->font->driver->encode_char (face->font, glyph->u.ch); face 29672 src/xdisp.c return face; face 29709 src/xdisp.c fill_composite_glyph_string (struct glyph_string *s, struct face *base_face, face 29716 src/xdisp.c struct face *face; face 29721 src/xdisp.c s->face = NULL; face 29734 src/xdisp.c face = get_char_face_and_encoding (s->f, c, face_id, face 29736 src/xdisp.c if (face) face 29738 src/xdisp.c if (! s->face) face 29740 src/xdisp.c s->face = face; face 29741 src/xdisp.c s->font = s->face->font; face 29743 src/xdisp.c else if (s->face != face) face 29751 src/xdisp.c if (s->face == NULL) face 29753 src/xdisp.c s->face = base_face->ascii_face; face 29754 src/xdisp.c s->font = s->face->font; face 29765 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 29766 src/xdisp.c if (!s->face) face 29767 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 29769 src/xdisp.c s->face = FACE_FROM_ID (s->f, FACE_FOR_CHAR (s->f, s->face, c, -1, Qnil)); face 29770 src/xdisp.c prepare_face_for_display (s->f, s->face); face 29818 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 29819 src/xdisp.c if (!s->face) face 29820 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 29821 src/xdisp.c prepare_face_for_display (s->f, s->face); face 29824 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); face 29881 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); face 29882 src/xdisp.c s->font = s->face->font ? s->face->font : FRAME_FONT (s->f); face 29890 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 29891 src/xdisp.c if (!s->face) face 29892 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 29893 src/xdisp.c prepare_face_for_display (s->f, s->face); face 29947 src/xdisp.c s->face = get_glyph_face_and_encoding (s->f, glyph, face 29956 src/xdisp.c s->font = s->face->font; face 29965 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 29966 src/xdisp.c if (!s->face) face 29967 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 29968 src/xdisp.c s->face face 29969 src/xdisp.c = FACE_FROM_ID (s->f, FACE_FOR_CHAR (s->f, s->face, face 29971 src/xdisp.c prepare_face_for_display (s->f, s->face); face 29987 src/xdisp.c eassert (s->face && s->face->gc); face 30001 src/xdisp.c s->face = FACE_FROM_ID (s->f, s->first_glyph->face_id); face 30002 src/xdisp.c s->font = s->face->font; face 30010 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 30011 src/xdisp.c if (!s->face) face 30012 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 30013 src/xdisp.c prepare_face_for_display (s->f, s->face); face 30027 src/xdisp.c s->face = FACE_FROM_ID (s->f, s->first_glyph->face_id); face 30028 src/xdisp.c s->font = s->face->font; face 30036 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 30037 src/xdisp.c if (!s->face) face 30038 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 30039 src/xdisp.c prepare_face_for_display (s->f, s->face); face 30064 src/xdisp.c s->face = FACE_FROM_ID (s->f, face_id); face 30065 src/xdisp.c s->font = s->face->font; face 30073 src/xdisp.c s->face = FACE_FROM_ID_OR_NULL (s->f, hlinfo->mouse_face_face_id); face 30074 src/xdisp.c if (!s->face) face 30075 src/xdisp.c s->face = FACE_FROM_ID (s->f, MOUSE_FACE_ID); face 30076 src/xdisp.c prepare_face_for_display (s->f, s->face); face 30095 src/xdisp.c eassert (s->face); face 30176 src/xdisp.c struct face *face = get_glyph_face_and_encoding (f, glyph, &char2b); face 30177 src/xdisp.c if (face->font) face 30179 src/xdisp.c struct font_metrics *pcm = get_per_char_metric (face->font, &char2b); face 30367 src/xdisp.c struct face *regular_face = FACE_FROM_ID (s->f, g->face_id); face 30370 src/xdisp.c regular_face, s->face); face 30542 src/xdisp.c struct face *base_face = FACE_FROM_ID (f, face_id); \ face 30970 src/xdisp.c struct face *prev_face = FACE_FROM_ID (s->f, g->face_id); face 31190 src/xdisp.c struct face *face; face 31196 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); face 31198 src/xdisp.c prepare_face_for_display (it->f, face); face 31250 src/xdisp.c it->ascent = it->phys_ascent = glyph_ascent = image_ascent (img, face, &slice); face 31272 src/xdisp.c if (face->box != FACE_NO_BOX) face 31276 src/xdisp.c if (face->box_horizontal_line_width > 0) face 31279 src/xdisp.c it->ascent += face->box_horizontal_line_width; face 31281 src/xdisp.c it->descent += face->box_horizontal_line_width; face 31284 src/xdisp.c if (face->box_vertical_line_width > 0) face 31287 src/xdisp.c it->pixel_width += face->box_vertical_line_width; face 31289 src/xdisp.c it->pixel_width += face->box_vertical_line_width; face 31370 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 31372 src/xdisp.c prepare_face_for_display (it->f, face); face 31386 src/xdisp.c if (face->box != FACE_NO_BOX) face 31388 src/xdisp.c if (face->box_horizontal_line_width > 0) face 31390 src/xdisp.c it->ascent += face->box_horizontal_line_width; face 31391 src/xdisp.c it->descent += face->box_horizontal_line_width; face 31394 src/xdisp.c if (face->box_vertical_line_width > 0) face 31397 src/xdisp.c it->pixel_width += face->box_vertical_line_width; face 31398 src/xdisp.c it->pixel_width += face->box_vertical_line_width; face 31607 src/xdisp.c struct face *face = NULL; /* shut up GCC's -Wmaybe-uninitialized */ face 31611 src/xdisp.c face = FACE_FROM_ID (it->f, it->face_id); face 31612 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); face 31613 src/xdisp.c prepare_face_for_display (it->f, face); face 31649 src/xdisp.c it2.face_id = FACE_FOR_CHAR (it->f, face, it2.c, face 31869 src/xdisp.c struct face *face = FACE_FROM_ID (temp_it.f, temp_it.face_id); face 31871 src/xdisp.c face->font ? face->font : FRAME_FONT (temp_it.f); face 31971 src/xdisp.c struct face *face; face 31974 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, face_id); face 31975 src/xdisp.c if (face == NULL || ((font = face->font) == NULL)) face 32104 src/xdisp.c struct face *face; face 32113 src/xdisp.c face = FACE_FROM_ID_OR_NULL (it->f, it->face_id); face 32114 src/xdisp.c if (face) face 32115 src/xdisp.c face = face->ascii_face; face 32116 src/xdisp.c font = (face && face->font) ? face->font : FRAME_FONT (it->f); face 32151 src/xdisp.c face = FACE_FROM_ID (it->f, face_id); face 32152 src/xdisp.c font = face->font ? face->font : FRAME_FONT (it->f); face 32153 src/xdisp.c prepare_face_for_display (it->f, face); face 32237 src/xdisp.c #define IT_APPLY_FACE_BOX(it, face) \ face 32239 src/xdisp.c if (face->box != FACE_NO_BOX) \ face 32241 src/xdisp.c int thick = face->box_horizontal_line_width; \ face 32248 src/xdisp.c thick = face->box_vertical_line_width; \ face 32274 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 32275 src/xdisp.c struct font *font = face->font; face 32374 src/xdisp.c IT_APPLY_FACE_BOX(it, face); face 32378 src/xdisp.c if (face->overline_p) face 32488 src/xdisp.c && face->box != FACE_NO_BOX face 32489 src/xdisp.c && face->box_horizontal_line_width > 0) face 32491 src/xdisp.c it->ascent += face->box_horizontal_line_width; face 32492 src/xdisp.c it->descent += face->box_horizontal_line_width; face 32631 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 32635 src/xdisp.c struct font *font = face->font; face 32683 src/xdisp.c face = face->ascii_face; face 32684 src/xdisp.c font = face->font; face 32748 src/xdisp.c struct face *this_face; face 32752 src/xdisp.c face_id = FACE_FOR_CHAR (it->f, face, ch, pos, it->string); face 32904 src/xdisp.c IT_APPLY_FACE_BOX(it, face); face 32908 src/xdisp.c if (face->overline_p) face 32923 src/xdisp.c struct face *face = FACE_FROM_ID (it->f, it->face_id); face 32938 src/xdisp.c it->pixel_width = face->font->space_width; face 32948 src/xdisp.c IT_APPLY_FACE_BOX(it, face); face 32952 src/xdisp.c if (face->overline_p) face 33105 src/xdisp.c struct face *face; face 33109 src/xdisp.c face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); face 33162 src/xdisp.c if (face && !updated_row->stipple_p) face 33163 src/xdisp.c updated_row->stipple_p = face->stipple; face 37991 src/xdisp.c struct face *original_face, face 37992 src/xdisp.c struct face *mouse_face) face 38061 src/xdisp.c struct face *mouse_face = FACE_FROM_ID (f, hlinfo->mouse_face_face_id); face 373 src/xfaces.c static struct face *realize_face (struct face_cache *, face 376 src/xfaces.c static struct face *realize_gui_face (struct face_cache *, face 378 src/xfaces.c static struct face *realize_tty_face (struct face_cache *, face 394 src/xfaces.c static struct face *realize_non_ascii_face (struct frame *, Lisp_Object, face 395 src/xfaces.c struct face *); face 1261 src/xfaces.c load_color2 (struct frame *f, struct face *face, Lisp_Object name, face 1282 src/xfaces.c face->foreground_defaulted_p = true; face 1287 src/xfaces.c face->background_defaulted_p = true; face 1292 src/xfaces.c face->underline_defaulted_p = true; face 1297 src/xfaces.c face->overline_color_defaulted_p = true; face 1302 src/xfaces.c face->strike_through_color_defaulted_p = true; face 1307 src/xfaces.c face->box_color_defaulted_p = true; face 1333 src/xfaces.c load_color (struct frame *f, struct face *face, Lisp_Object name, face 1337 src/xfaces.c return load_color2 (f, face, name, target_index, &color); face 1349 src/xfaces.c load_face_colors (struct frame *f, struct face *face, face 1374 src/xfaces.c image_destroy_bitmap (f, face->stipple); face 1375 src/xfaces.c face->stipple = load_pixmap (f, Vface_default_stipple); face 1378 src/xfaces.c face->background = load_color2 (f, face, bg, LFACE_BACKGROUND_INDEX, &xbg); face 1379 src/xfaces.c face->foreground = load_color2 (f, face, fg, LFACE_FOREGROUND_INDEX, &xfg); face 1386 src/xfaces.c face->background = load_color (f, face, dfg, LFACE_BACKGROUND_INDEX); face 1388 src/xfaces.c face->foreground = load_color (f, face, dfg, LFACE_FOREGROUND_INDEX); face 1410 src/xfaces.c free_face_colors (struct frame *f, struct face *face) face 1414 src/xfaces.c if (face->colors_copied_bitwise_p) face 1419 src/xfaces.c if (!face->foreground_defaulted_p) face 1421 src/xfaces.c x_free_colors (f, &face->foreground, 1); face 1425 src/xfaces.c if (!face->background_defaulted_p) face 1427 src/xfaces.c x_free_colors (f, &face->background, 1); face 1431 src/xfaces.c if (face->underline face 1432 src/xfaces.c && !face->underline_defaulted_p) face 1434 src/xfaces.c x_free_colors (f, &face->underline_color, 1); face 1438 src/xfaces.c if (face->overline_p face 1439 src/xfaces.c && !face->overline_color_defaulted_p) face 1441 src/xfaces.c x_free_colors (f, &face->overline_color, 1); face 1445 src/xfaces.c if (face->strike_through_p face 1446 src/xfaces.c && !face->strike_through_color_defaulted_p) face 1448 src/xfaces.c x_free_colors (f, &face->strike_through_color, 1); face 1452 src/xfaces.c if (face->box != FACE_NO_BOX face 1453 src/xfaces.c && !face->box_color_defaulted_p) face 1455 src/xfaces.c x_free_colors (f, &face->box_color, 1); face 1663 src/xfaces.c (Lisp_Object pattern, Lisp_Object face, Lisp_Object frame, face 1686 src/xfaces.c face = Qnil; face 1693 src/xfaces.c if (NILP (face)) face 1699 src/xfaces.c int face_id = lookup_named_face (NULL, f, face, false); face 1700 src/xfaces.c struct face *width_face = FACE_FROM_ID_OR_NULL (f, face_id); face 2403 src/xfaces.c struct face *deflt = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 2919 src/xfaces.c (Lisp_Object face, Lisp_Object frame) face 2925 src/xfaces.c CHECK_SYMBOL (face); face 2926 src/xfaces.c global_lface = lface_from_face_name (NULL, face, false); face 2932 src/xfaces.c lface = lface_from_face_name (f, face, false); face 2950 src/xfaces.c lface_id_to_name[next_lface_id] = face; face 2951 src/xfaces.c Fput (face, Qface, face_id); face 2956 src/xfaces.c Fputhash (face, Fcons (face_id, global_lface), Vface_new_frame_defaults); face 2969 src/xfaces.c Fputhash (face, lface, f->face_hash_table); face 2983 src/xfaces.c if (NILP (Fget (face, Qface_no_inherit))) face 3010 src/xfaces.c (Lisp_Object face, Lisp_Object frame) face 3014 src/xfaces.c face = resolve_face_name (face, true); face 3019 src/xfaces.c lface = lface_from_face_name (XFRAME (frame), face, false); face 3022 src/xfaces.c lface = lface_from_face_name (NULL, face, false); face 3108 src/xfaces.c (Lisp_Object face, Lisp_Object attr, Lisp_Object value, Lisp_Object frame) face 3117 src/xfaces.c CHECK_SYMBOL (face); face 3120 src/xfaces.c face = resolve_face_name (face, true); face 3127 src/xfaces.c Finternal_set_lisp_face_attribute (face, attr, value, Qt); face 3129 src/xfaces.c Finternal_set_lisp_face_attribute (face, attr, value, frame); face 3130 src/xfaces.c return face; face 3137 src/xfaces.c lface = lface_from_face_name (NULL, face, true); face 3156 src/xfaces.c lface = lface_from_face_name (f, face, false); face 3160 src/xfaces.c lface = Finternal_make_lisp_face (face, frame); face 3197 src/xfaces.c if (EQ (face, Qdefault)) face 3438 src/xfaces.c HANDLE_INVALID_NIL_VALUE (QCforeground, face); face 3455 src/xfaces.c HANDLE_INVALID_NIL_VALUE (QCdistant_foreground, face); face 3472 src/xfaces.c HANDLE_INVALID_NIL_VALUE (QCbackground, face); face 3644 src/xfaces.c && NILP (Fget (face, Qface_no_inherit)) face 3658 src/xfaces.c if (EQ (face, Qdefault)) face 3677 src/xfaces.c else if (EQ (face, Qscroll_bar)) face 3687 src/xfaces.c else if (EQ (face, Qborder)) face 3694 src/xfaces.c else if (EQ (face, Qcursor)) face 3701 src/xfaces.c else if (EQ (face, Qmouse)) face 3709 src/xfaces.c else if (EQ (face, Qmenu)) face 3741 src/xfaces.c return face; face 3752 src/xfaces.c Lisp_Object face = Qnil; face 3763 src/xfaces.c face = Qdefault; face 3764 src/xfaces.c lface = lface_from_face_name (f, face, true); face 3779 src/xfaces.c face = Qdefault; face 3780 src/xfaces.c lface = lface_from_face_name (f, face, true); face 3788 src/xfaces.c face = Qborder; face 3789 src/xfaces.c lface = lface_from_face_name (f, face, true); face 3795 src/xfaces.c face = Qcursor; face 3796 src/xfaces.c lface = lface_from_face_name (f, face, true); face 3802 src/xfaces.c face = Qmouse; face 3803 src/xfaces.c lface = lface_from_face_name (f, face, true); face 3814 src/xfaces.c if (!NILP (face) face 3815 src/xfaces.c && NILP (Fget (face, Qface_no_inherit))) face 3910 src/xfaces.c (Lisp_Object face, Lisp_Object attr, Lisp_Object value, Lisp_Object frame) face 3912 src/xfaces.c CHECK_SYMBOL (face); face 3947 src/xfaces.c return Finternal_set_lisp_face_attribute (face, attr, value, frame); face 3975 src/xfaces.c struct face *face = FACE_FROM_ID (f, MENU_FACE_ID); face 4009 src/xfaces.c if (face->font face 4196 src/xfaces.c (Lisp_Object face, Lisp_Object frame) face 4203 src/xfaces.c global_lface = lface_from_face_name (NULL, face, true); face 4204 src/xfaces.c local_lface = lface_from_face_name (f, face, false); face 4206 src/xfaces.c local_lface = Finternal_make_lisp_face (face, frame); face 4223 src/xfaces.c if (EQ (face, Qdefault)) face 4226 src/xfaces.c struct face *newface; face 4227 src/xfaces.c struct face *oldface = face 4301 src/xfaces.c (Lisp_Object face, Lisp_Object frame, Lisp_Object character) face 4306 src/xfaces.c Lisp_Object lface = lface_from_face_name (NULL, face, true); face 4321 src/xfaces.c int face_id = lookup_named_face (NULL, f, face, true); face 4322 src/xfaces.c struct face *fface = FACE_FROM_ID_OR_NULL (f, face_id); face 4428 src/xfaces.c (Lisp_Object face, Lisp_Object frame) face 4431 src/xfaces.c Lisp_Object lface = lface_from_face_name (f, face, true); face 4519 src/xfaces.c static struct face * face 4522 src/xfaces.c enum { off = offsetof (struct face, id) }; face 4523 src/xfaces.c struct face *face = xmalloc (sizeof *face); face 4525 src/xfaces.c memcpy (face->lface, attr, sizeof face->lface); face 4526 src/xfaces.c memset (&face->id, 0, sizeof *face - off); face 4527 src/xfaces.c face->ascii_face = face; face 4529 src/xfaces.c return face; face 4537 src/xfaces.c free_realized_face (struct frame *f, struct face *face) face 4539 src/xfaces.c if (face) face 4545 src/xfaces.c if (face->fontset >= 0 && face == face->ascii_face) face 4546 src/xfaces.c free_face_fontset (f, face); face 4547 src/xfaces.c if (face->gc) face 4550 src/xfaces.c if (face->font) face 4551 src/xfaces.c font_done_for_face (f, face); face 4552 src/xfaces.c x_free_gc (f, face->gc); face 4553 src/xfaces.c face->gc = 0; face 4557 src/xfaces.c free_face_colors (f, face); face 4559 src/xfaces.c image_destroy_bitmap (f, face->stipple); face 4563 src/xfaces.c xfree (face); face 4574 src/xfaces.c prepare_face_for_display (struct frame *f, struct face *face) face 4581 src/xfaces.c if (face->gc == 0) face 4585 src/xfaces.c egc.foreground = face->foreground; face 4586 src/xfaces.c egc.background = face->background; face 4600 src/xfaces.c if (face->stipple) face 4603 src/xfaces.c egc.stipple = image_bitmap_pixmap (f, face->stipple); face 4607 src/xfaces.c face->gc = x_create_gc (f, mask, &egc); face 4608 src/xfaces.c if (face->font) face 4609 src/xfaces.c font_prepare_for_face (f, face); face 4718 src/xfaces.c struct face *face = c->faces_by_id[i]; face 4719 src/xfaces.c if (face && face->gc) face 4722 src/xfaces.c if (face->font) face 4723 src/xfaces.c font_done_for_face (c->f, face); face 4724 src/xfaces.c x_free_gc (c->f, face->gc); face 4725 src/xfaces.c face->gc = 0; face 4821 src/xfaces.c cache_face (struct face_cache *c, struct face *face, uintptr_t hash) face 4825 src/xfaces.c face->hash = hash; face 4827 src/xfaces.c if (face->ascii_face != face) face 4829 src/xfaces.c struct face *last = c->buckets[i]; face 4834 src/xfaces.c last->next = face; face 4835 src/xfaces.c face->prev = last; face 4836 src/xfaces.c face->next = NULL; face 4840 src/xfaces.c c->buckets[i] = face; face 4841 src/xfaces.c face->prev = face->next = NULL; face 4846 src/xfaces.c face->prev = NULL; face 4847 src/xfaces.c face->next = c->buckets[i]; face 4848 src/xfaces.c if (face->next) face 4849 src/xfaces.c face->next->prev = face; face 4850 src/xfaces.c c->buckets[i] = face; face 4858 src/xfaces.c face->id = i; face 4864 src/xfaces.c struct face *face1; face 4884 src/xfaces.c c->faces_by_id[i] = face; face 4891 src/xfaces.c uncache_face (struct face_cache *c, struct face *face) face 4893 src/xfaces.c int i = face->hash % FACE_CACHE_BUCKETS_SIZE; face 4895 src/xfaces.c if (face->prev) face 4896 src/xfaces.c face->prev->next = face->next; face 4898 src/xfaces.c c->buckets[i] = face->next; face 4900 src/xfaces.c if (face->next) face 4901 src/xfaces.c face->next->prev = face->prev; face 4903 src/xfaces.c c->faces_by_id[face->id] = NULL; face 4904 src/xfaces.c if (face->id == c->used) face 4918 src/xfaces.c struct face *face; face 4927 src/xfaces.c for (face = cache->buckets[i]; face; face = face->next) face 4929 src/xfaces.c if (face->ascii_face != face) face 4932 src/xfaces.c face = NULL; face 4935 src/xfaces.c if (face->hash == hash face 4936 src/xfaces.c && lface_equal_p (face->lface, attr)) face 4941 src/xfaces.c if (face == NULL) face 4942 src/xfaces.c face = realize_face (cache, attr, -1); face 4945 src/xfaces.c eassert (face == FACE_FROM_ID_OR_NULL (f, face->id)); face 4948 src/xfaces.c return face->id; face 4960 src/xfaces.c struct face *base_face) face 4965 src/xfaces.c struct face *face; face 4972 src/xfaces.c for (face = cache->buckets[i]; face; face = face->next) face 4974 src/xfaces.c if (face->ascii_face == face) face 4976 src/xfaces.c if (face->ascii_face == base_face face 4977 src/xfaces.c && face->font == (NILP (font_object) ? NULL face 4979 src/xfaces.c && lface_equal_p (face->lface, base_face->lface)) face 4980 src/xfaces.c return face->id; face 4984 src/xfaces.c face = realize_non_ascii_face (f, font_object, base_face); face 4985 src/xfaces.c return face->id; face 5001 src/xfaces.c struct face *default_face = FACE_FROM_ID_OR_NULL (f, DEFAULT_FACE_ID); face 5093 src/xfaces.c struct face *face; face 5098 src/xfaces.c struct face *new_face; face 5108 src/xfaces.c face = FACE_FROM_ID (f, face_id); face 5109 src/xfaces.c memcpy (attrs, face->lface, sizeof attrs); face 5112 src/xfaces.c last_height = FONT_HEIGHT (face->font); face 5152 src/xfaces.c struct face *face; face 5159 src/xfaces.c face = FACE_FROM_ID (f, face_id); face 5160 src/xfaces.c memcpy (attrs, face->lface, sizeof attrs); face 5184 src/xfaces.c struct face *default_face; face 5242 src/xfaces.c struct face *def_face) face 5301 src/xfaces.c struct face *face; face 5310 src/xfaces.c face = FACE_FROM_ID_OR_NULL (f, face_id); face 5312 src/xfaces.c if (! face) face 5317 src/xfaces.c if (face->font == def_face->font face 5318 src/xfaces.c || ! face->font) face 5321 src/xfaces.c if (! EQ (face->font->props[i], def_face->font->props[i])) face 5326 src/xfaces.c || face->font->driver->case_sensitive) face 5328 src/xfaces.c s1 = SYMBOL_NAME (face->font->props[i]); face 5363 src/xfaces.c struct face *def_face) face 5560 src/xfaces.c struct face *def_face; face 5916 src/xfaces.c struct face *face = realize_face (c, attrs, DEFAULT_FACE_ID); face 5919 src/xfaces.c (void) face; face 5921 src/xfaces.c if (FRAME_X_P (f) && face->font != FRAME_FONT (f)) face 5925 src/xfaces.c if (!face->font) face 5986 src/xfaces.c static struct face * face 5990 src/xfaces.c struct face *face; face 5999 src/xfaces.c struct face *former_face = cache->faces_by_id[former_face_id]; face 6006 src/xfaces.c face = realize_gui_face (cache, attrs); face 6008 src/xfaces.c face = realize_tty_face (cache, attrs); face 6012 src/xfaces.c face = make_realized_face (attrs); face 6018 src/xfaces.c cache_face (cache, face, lface_hash (attrs)); face 6019 src/xfaces.c return face; face 6029 src/xfaces.c static struct face * face 6031 src/xfaces.c struct face *base_face) face 6034 src/xfaces.c struct face *face; face 6036 src/xfaces.c face = xmalloc (sizeof *face); face 6037 src/xfaces.c *face = *base_face; face 6038 src/xfaces.c face->gc = 0; face 6039 src/xfaces.c face->overstrike face 6041 src/xfaces.c && FONT_WEIGHT_NAME_NUMERIC (face->lface[LFACE_WEIGHT_INDEX]) > 100 face 6045 src/xfaces.c face->colors_copied_bitwise_p = true; face 6046 src/xfaces.c face->font = NILP (font_object) ? NULL : XFONT_OBJECT (font_object); face 6047 src/xfaces.c face->gc = 0; face 6049 src/xfaces.c cache_face (cache, face, face->hash); face 6051 src/xfaces.c return face; face 6080 src/xfaces.c static struct face * face 6083 src/xfaces.c struct face *face = NULL; face 6085 src/xfaces.c struct face *default_face; face 6092 src/xfaces.c face = make_realized_face (attrs); face 6093 src/xfaces.c face->ascii_face = face; face 6103 src/xfaces.c face->font = default_face->font; face 6104 src/xfaces.c face->fontset face 6105 src/xfaces.c = make_fontset_for_ascii_face (f, default_face->fontset, face); face 6173 src/xfaces.c face->font = XFONT_OBJECT (attrs[LFACE_FONT_INDEX]); face 6174 src/xfaces.c face->fontset = make_fontset_for_ascii_face (f, fontset, face); face 6178 src/xfaces.c face->font = NULL; face 6179 src/xfaces.c face->fontset = -1; face 6183 src/xfaces.c if (face->font face 6186 src/xfaces.c face->overstrike = true; face 6190 src/xfaces.c load_face_colors (f, face, attrs); face 6198 src/xfaces.c face->box_color = load_color (f, face, attrs[LFACE_BOX_INDEX], face 6200 src/xfaces.c face->box = FACE_SIMPLE_BOX; face 6201 src/xfaces.c face->box_vertical_line_width = face->box_horizontal_line_width = 1; face 6208 src/xfaces.c face->box = FACE_SIMPLE_BOX; face 6209 src/xfaces.c face->box_vertical_line_width = eabs(XFIXNUM (box)); face 6210 src/xfaces.c face->box_horizontal_line_width = XFIXNUM (box); face 6211 src/xfaces.c face->box_color = face->foreground; face 6212 src/xfaces.c face->box_color_defaulted_p = true; face 6217 src/xfaces.c face->box = FACE_SIMPLE_BOX; face 6218 src/xfaces.c face->box_color = face->foreground; face 6219 src/xfaces.c face->box_color_defaulted_p = true; face 6220 src/xfaces.c face->box_vertical_line_width = XFIXNUM (XCAR (box)); face 6221 src/xfaces.c face->box_horizontal_line_width = XFIXNUM (XCDR (box)); face 6229 src/xfaces.c face->box = FACE_SIMPLE_BOX; face 6230 src/xfaces.c face->box_color = face->foreground; face 6231 src/xfaces.c face->box_color_defaulted_p = true; face 6232 src/xfaces.c face->box_vertical_line_width = face->box_horizontal_line_width = 1; face 6249 src/xfaces.c face->box_vertical_line_width = XFIXNUM (XCAR (value)); face 6250 src/xfaces.c face->box_horizontal_line_width = XFIXNUM (XCDR (value)); face 6253 src/xfaces.c face->box_vertical_line_width = eabs (XFIXNUM (value)); face 6254 src/xfaces.c face->box_horizontal_line_width = XFIXNUM (value); face 6261 src/xfaces.c face->box_color = load_color (f, face, value, face 6263 src/xfaces.c face->use_box_color_for_shadows_p = true; face 6270 src/xfaces.c face->box = FACE_RAISED_BOX; face 6272 src/xfaces.c face->box = FACE_SUNKEN_BOX; face 6275 src/xfaces.c face->box = FACE_SIMPLE_BOX; face 6278 src/xfaces.c face->box_color = face->background; face 6290 src/xfaces.c face->underline = FACE_UNDER_LINE; face 6291 src/xfaces.c face->underline_defaulted_p = true; face 6292 src/xfaces.c face->underline_color = 0; face 6293 src/xfaces.c face->underline_at_descent_line_p = false; face 6294 src/xfaces.c face->underline_pixels_above_descent_line = 0; face 6299 src/xfaces.c face->underline = FACE_UNDER_LINE; face 6300 src/xfaces.c face->underline_defaulted_p = false; face 6301 src/xfaces.c face->underline_color face 6302 src/xfaces.c = load_color (f, face, underline, face 6304 src/xfaces.c face->underline_at_descent_line_p = false; face 6305 src/xfaces.c face->underline_pixels_above_descent_line = 0; face 6309 src/xfaces.c face->underline = FACE_NO_UNDERLINE; face 6310 src/xfaces.c face->underline_defaulted_p = false; face 6311 src/xfaces.c face->underline_color = 0; face 6312 src/xfaces.c face->underline_at_descent_line_p = false; face 6313 src/xfaces.c face->underline_pixels_above_descent_line = 0; face 6319 src/xfaces.c face->underline = FACE_UNDER_LINE; face 6320 src/xfaces.c face->underline_color = 0; face 6321 src/xfaces.c face->underline_defaulted_p = true; face 6322 src/xfaces.c face->underline_at_descent_line_p = false; face 6323 src/xfaces.c face->underline_pixels_above_descent_line = 0; face 6343 src/xfaces.c face->underline_defaulted_p = true; face 6344 src/xfaces.c face->underline_color = 0; face 6348 src/xfaces.c face->underline_defaulted_p = false; face 6349 src/xfaces.c face->underline_color = load_color (f, face, value, face 6356 src/xfaces.c face->underline = FACE_UNDER_LINE; face 6358 src/xfaces.c face->underline = FACE_UNDER_WAVE; face 6362 src/xfaces.c face->underline_at_descent_line_p = !NILP (value); face 6365 src/xfaces.c face->underline_pixels_above_descent_line = XFIXNAT (value); face 6373 src/xfaces.c face->overline_color face 6374 src/xfaces.c = load_color (f, face, attrs[LFACE_OVERLINE_INDEX], face 6376 src/xfaces.c face->overline_p = true; face 6380 src/xfaces.c face->overline_color = face->foreground; face 6381 src/xfaces.c face->overline_color_defaulted_p = true; face 6382 src/xfaces.c face->overline_p = true; face 6388 src/xfaces.c face->strike_through_color face 6389 src/xfaces.c = load_color (f, face, attrs[LFACE_STRIKE_THROUGH_INDEX], face 6391 src/xfaces.c face->strike_through_p = true; face 6395 src/xfaces.c face->strike_through_color = face->foreground; face 6396 src/xfaces.c face->strike_through_color_defaulted_p = true; face 6397 src/xfaces.c face->strike_through_p = true; face 6402 src/xfaces.c face->stipple = load_pixmap (f, stipple); face 6405 src/xfaces.c return face; face 6415 src/xfaces.c map_tty_color (struct frame *f, struct face *face, face 6431 src/xfaces.c color = face->lface[idx]; face 6446 src/xfaces.c pixel = load_color (f, face, color, idx); face 6460 src/xfaces.c face->lface[idx] = tty_color_name (f, pixel); face 6469 src/xfaces.c face->lface[idx] = tty_color_name (f, pixel); face 6477 src/xfaces.c face->foreground = pixel; face 6479 src/xfaces.c face->background = pixel; face 6487 src/xfaces.c static struct face * face 6491 src/xfaces.c struct face *face; face 6500 src/xfaces.c face = make_realized_face (attrs); face 6502 src/xfaces.c face->font_name = FRAME_MSDOS_P (cache->f) ? "ms-dos" : "tty"; face 6509 src/xfaces.c face->tty_bold_p = true; face 6511 src/xfaces.c face->tty_italic_p = true; face 6513 src/xfaces.c face->tty_underline_p = true; face 6515 src/xfaces.c face->tty_reverse_p = true; face 6517 src/xfaces.c face->tty_strike_through_p = true; face 6520 src/xfaces.c map_tty_color (f, face, LFACE_FOREGROUND_INDEX, &face_colors_defaulted); face 6521 src/xfaces.c map_tty_color (f, face, LFACE_BACKGROUND_INDEX, &face_colors_defaulted); face 6526 src/xfaces.c if (face->tty_reverse_p && !face_colors_defaulted) face 6528 src/xfaces.c unsigned long tem = face->foreground; face 6529 src/xfaces.c face->foreground = face->background; face 6530 src/xfaces.c face->background = tem; face 6534 src/xfaces.c && face->tty_bold_p face 6535 src/xfaces.c && face->background == FACE_TTY_DEFAULT_FG_COLOR face 6536 src/xfaces.c && face->foreground == FACE_TTY_DEFAULT_BG_COLOR) face 6537 src/xfaces.c face->tty_bold_p = false; face 6539 src/xfaces.c return face; face 6578 src/xfaces.c struct face *face = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 6579 src/xfaces.c face_id = FACE_FOR_CHAR (f, face, ch, -1, Qnil); face 6584 src/xfaces.c struct face *default_face = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 6630 src/xfaces.c struct face *default_face; face 6766 src/xfaces.c struct face *default_face; face 6838 src/xfaces.c struct face *base_face; face 6908 src/xfaces.c struct face *base_face = FACE_FROM_ID_OR_NULL (f, base_face_id); face 6937 src/xfaces.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 6939 src/xfaces.c if (!face) face 6944 src/xfaces.c struct face *deflt = FACE_FROM_ID (f, DEFAULT_FACE_ID); face 6948 src/xfaces.c memcpy (lface_attrs, face->lface, LFACE_VECTOR_SIZE); face 6956 src/xfaces.c merge_face_vectors (w, f, face->lface, attrs, 0); face 7024 src/xfaces.c dump_realized_face (struct face *face) face 7026 src/xfaces.c fprintf (stderr, "ID: %d\n", face->id); face 7028 src/xfaces.c fprintf (stderr, "gc: %p\n", face->gc); face 7031 src/xfaces.c face->foreground, face 7032 src/xfaces.c SDATA (face->lface[LFACE_FOREGROUND_INDEX])); face 7034 src/xfaces.c face->background, face 7035 src/xfaces.c SDATA (face->lface[LFACE_BACKGROUND_INDEX])); face 7036 src/xfaces.c if (face->font) face 7038 src/xfaces.c SDATA (face->font->props[FONT_NAME_INDEX]), face 7039 src/xfaces.c SDATA (face->lface[LFACE_FAMILY_INDEX])); face 7041 src/xfaces.c fprintf (stderr, "font = %p\n", face->font); face 7043 src/xfaces.c fprintf (stderr, "fontset: %d\n", face->fontset); face 7045 src/xfaces.c face->underline, face 7046 src/xfaces.c SDATA (Fsymbol_name (face->lface[LFACE_UNDERLINE_INDEX]))); face 7047 src/xfaces.c fprintf (stderr, "hash: %" PRIuPTR "\n", face->hash); face 7072 src/xfaces.c struct face *face; face 7074 src/xfaces.c face = FACE_FROM_ID_OR_NULL (SELECTED_FRAME (), XFIXNUM (n)); face 7075 src/xfaces.c if (face == NULL) face 7077 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 7437 src/xterm.c struct face *face; face 7439 src/xterm.c face = FACE_FROM_ID_OR_NULL (f, VERTICAL_BORDER_FACE_ID); face 7440 src/xterm.c if (face) face 7442 src/xterm.c face->foreground); face 7458 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, WINDOW_DIVIDER_FACE_ID); face 7459 src/xterm.c struct face *face_first face 7461 src/xterm.c struct face *face_last face 7463 src/xterm.c unsigned long color = face ? face->foreground : FRAME_FOREGROUND_PIXEL (f); face 7704 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 7706 src/xterm.c if (face) face 7708 src/xterm.c unsigned long color = face->background; face 7773 src/xterm.c struct face *face = FACE_FROM_ID_OR_NULL (f, face_id); face 7775 src/xterm.c if (face) face 7777 src/xterm.c unsigned long color = face->background; face 7844 src/xterm.c struct face *face = p->face; face 7855 src/xterm.c if (face->stipple) face 7857 src/xterm.c XSetFillStyle (display, face->gc, FillOpaqueStippled); face 7858 src/xterm.c x_fill_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny, face 7860 src/xterm.c XSetFillStyle (display, face->gc, FillSolid); face 7866 src/xterm.c XSetBackground (display, face->gc, face->background); face 7867 src/xterm.c x_clear_rectangle (f, face->gc, p->bx, p->by, p->nx, p->ny, face 7869 src/xterm.c XSetForeground (display, face->gc, face->foreground); face 7882 src/xterm.c ? (p->overlay_p ? face->background face 7884 src/xterm.c : face->foreground)); face 7885 src/xterm.c XSetBackground (display, gc, face->background); face 7909 src/xterm.c unsigned long background = face->background; face 7941 src/xterm.c ? (p->overlay_p ? face->background face 7943 src/xterm.c : face->foreground), face 8268 src/xterm.c && s->face->background == FRAME_BACKGROUND_PIXEL (s->f) face 8269 src/xterm.c && s->face->foreground == FRAME_FOREGROUND_PIXEL (s->f) face 8280 src/xterm.c xgcv.foreground = s->face->background; face 8284 src/xterm.c xgcv.foreground = s->face->foreground; face 8288 src/xterm.c xgcv.foreground = s->face->foreground; face 8291 src/xterm.c if (xgcv.background == s->face->background face 8292 src/xterm.c && xgcv.foreground == s->face->foreground) face 8294 src/xterm.c xgcv.background = s->face->foreground; face 8295 src/xterm.c xgcv.foreground = s->face->background; face 8322 src/xterm.c if (s->font == s->face->font) face 8323 src/xterm.c s->gc = s->face->gc; face 8332 src/xterm.c xgcv.background = s->face->background; face 8333 src/xterm.c xgcv.foreground = s->face->foreground; face 8362 src/xterm.c s->gc = s->face->gc; face 8373 src/xterm.c prepare_face_for_display (s->f, s->face); face 8377 src/xterm.c s->gc = s->face->gc; face 8378 src/xterm.c s->stippled_p = s->face->stipple != 0; face 8383 src/xterm.c s->stippled_p = s->face->stipple != 0; face 8393 src/xterm.c s->stippled_p = s->face->stipple != 0; face 8398 src/xterm.c s->gc = s->face->gc; face 8399 src/xterm.c s->stippled_p = s->face->stipple != 0; face 8525 src/xterm.c int box_line_width = max (s->face->box_horizontal_line_width, 0); face 8569 src/xterm.c if (s->face->box != FACE_NO_BOX face 8571 src/xterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 8608 src/xterm.c if (s->face->overstrike) face 8621 src/xterm.c int box_line_width = max (s->face->box_horizontal_line_width, 0); face 8664 src/xterm.c if (s->face && s->face->box != FACE_NO_BOX face 8666 src/xterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 8702 src/xterm.c if (s->face->overstrike) face 8725 src/xterm.c if (s->face->overstrike) face 8733 src/xterm.c if (s->face->overstrike) face 8744 src/xterm.c if (s->face->overstrike) face 8775 src/xterm.c if (s->face && s->face->box != FACE_NO_BOX face 8777 src/xterm.c x = s->x + max (s->face->box_vertical_line_width, 0); face 9674 src/xterm.c if (s->face->use_box_color_for_shadows_p) face 9675 src/xterm.c color = s->face->box_color; face 9963 src/xterm.c XSetForeground (display, s->gc, s->face->box_color); face 10028 src/xterm.c vwidth = eabs (s->face->box_vertical_line_width); face 10029 src/xterm.c hwidth = eabs (s->face->box_horizontal_line_width); face 10030 src/xterm.c raised_p = s->face->box == FACE_RAISED_BOX; face 10049 src/xterm.c if (s->face->box == FACE_SIMPLE_BOX) face 10125 src/xterm.c int y = s->ybase - image_ascent (s->img, s->face, &s->slice); face 10129 src/xterm.c if (s->face->box != FACE_NO_BOX face 10132 src/xterm.c x += max (s->face->box_vertical_line_width, 0); face 10252 src/xterm.c int y = s->ybase - image_ascent (s->img, s->face, &s->slice); face 10256 src/xterm.c if (s->face->box != FACE_NO_BOX face 10259 src/xterm.c x += max (s->face->box_vertical_line_width, 0); face 10271 src/xterm.c if (s->face->id == TAB_BAR_FACE_ID) face 10291 src/xterm.c if (s->face->id == TAB_BAR_FACE_ID) face 10304 src/xterm.c if (s->face->id == TOOL_BAR_FACE_ID) face 10342 src/xterm.c int y = s->ybase - s->y - image_ascent (s->img, s->face, &s->slice); face 10346 src/xterm.c if (s->face->box != FACE_NO_BOX face 10349 src/xterm.c x += max (s->face->box_vertical_line_width, 0); face 10454 src/xterm.c int box_line_hwidth = max (s->face->box_vertical_line_width, 0); face 10455 src/xterm.c int box_line_vwidth = max (s->face->box_horizontal_line_width, 0); face 10471 src/xterm.c s->stippled_p = s->face->stipple != 0; face 10651 src/xterm.c gc = s->face->gc; face 10656 src/xterm.c if (s->face->stipple) face 10836 src/xterm.c && s->face->box != FACE_NO_BOX face 10919 src/xterm.c if (!relief_drawn_p && s->face->box != FACE_NO_BOX) face 10923 src/xterm.c if (s->face->underline) face 10925 src/xterm.c if (s->face->underline == FACE_UNDER_WAVE) face 10927 src/xterm.c if (s->face->underline_defaulted_p) face 10934 src/xterm.c XSetForeground (display, s->gc, s->face->underline_color); face 10939 src/xterm.c else if (s->face->underline == FACE_UNDER_LINE) face 10945 src/xterm.c && s->prev->face->underline == FACE_UNDER_LINE face 10946 src/xterm.c && (s->prev->face->underline_at_descent_line_p face 10947 src/xterm.c == s->face->underline_at_descent_line_p) face 10948 src/xterm.c && (s->prev->face->underline_pixels_above_descent_line face 10949 src/xterm.c == s->face->underline_pixels_above_descent_line)) face 10973 src/xterm.c || s->face->underline_at_descent_line_p); face 10988 src/xterm.c - s->face->underline_pixels_above_descent_line); face 11011 src/xterm.c if (!s->face->underline_pixels_above_descent_line) face 11023 src/xterm.c if (s->face->underline_defaulted_p) face 11032 src/xterm.c XSetForeground (display, s->gc, s->face->underline_color); face 11041 src/xterm.c if (s->face->overline_p) face 11045 src/xterm.c if (s->face->overline_color_defaulted_p) face 11053 src/xterm.c XSetForeground (display, s->gc, s->face->overline_color); face 11061 src/xterm.c if (s->face->strike_through_p) face 11075 src/xterm.c if (s->face->strike_through_color_defaulted_p) face 11083 src/xterm.c XSetForeground (display, s->gc, s->face->strike_through_color); face 25711 src/xterm.c struct face *face = FACE_FROM_ID (f, cursor_glyph->face_id); face 25719 src/xterm.c if (face->background == f->output_data.x->cursor_pixel) face 25720 src/xterm.c xgcv.background = xgcv.foreground = face->foreground;