Lines Matching refs:font
46 XFontStruct *font)
61 if(vrotate->font == font)
71 XFontStruct *font)
86 if(vmap->font == font)
99 XFontStruct *font,
116 if(is_rotate(oc, font) == True) {
117 XTextExtents16(font, buf2b, 1,
126 wx = x - (int)((font->max_bounds.rbearing -
127 font->min_bounds.lbearing) >> 1) -
128 (int) font->min_bounds.lbearing;
129 wy += font->max_bounds.ascent;
131 wy += font->max_bounds.descent;
136 if(is_rotate(oc, font) == True) {
137 XTextExtents(font, buf, 1,
146 wx = x - (int)((font->max_bounds.rbearing -
147 font->min_bounds.lbearing) >> 1) -
148 (int) font->min_bounds.lbearing;
149 wy += font->max_bounds.ascent;
151 wy += font->max_bounds.descent;
173 XFontStruct *font;
189 /* First, see if the "Best Match" font for the FontSet was set.
190 * If it was, use that font. If it was not set, then use the
191 * font defined by font_set->font_data[0] (which is what
194 * parse_fontname() and parse_fontdata(), fs->font will
196 * the check for "fd->font", but we won't :-) -- jjw/pma (HP)
198 if((font = fs->font) == (XFontStruct *) NULL){
201 (font = fd->font) == (XFontStruct *) NULL)
208 XSetFont(dpy, gc, font->fid);
213 x += XTextWidth16(font, (XChar2b *)ptr, char_len);
217 x += XTextWidth(font, (char *)ptr, char_len);
222 if(fs->font == font) {
228 (font = fd->font) == (XFontStruct *) NULL)
231 if(is_codemap(oc, fd->font) == False) {
237 (font = fd->font) == (XFontStruct *) NULL)
246 XSetFont(dpy, gc, font->fid);
247 y = draw_vertical(dpy, d, oc, gc, font, is_xchar2b, x, y,
293 XFontStruct *font;
309 args[0] = (XPointer) &font;