Lines Matching refs:font_info
1899 *font_info; in XAnnotateEditImage() local
1987 font_info=XLoadQueryFont(display,resource_info->font_name[ in XAnnotateEditImage()
1989 if (font_info == (XFontStruct *) NULL) in XAnnotateEditImage()
1996 (void) XFreeFont(display,font_info); in XAnnotateEditImage()
2239 font_info=XLoadQueryFont(display,resource_info->font_name[font_id]); in XAnnotateEditImage()
2240 if (font_info == (XFontStruct *) NULL) in XAnnotateEditImage()
2244 font_info=windows->font_info; in XAnnotateEditImage()
2246 if ((x+font_info->max_bounds.width) >= (int) windows->image.width) in XAnnotateEditImage()
2247 x=(int) windows->image.width-font_info->max_bounds.width; in XAnnotateEditImage()
2248 if (y < (int) (font_info->ascent+font_info->descent)) in XAnnotateEditImage()
2249 y=(int) font_info->ascent+font_info->descent; in XAnnotateEditImage()
2250 if (((int) font_info->max_bounds.width > (int) windows->image.width) || in XAnnotateEditImage()
2251 ((font_info->ascent+font_info->descent) >= (int) windows->image.height)) in XAnnotateEditImage()
2269 annotate_info->height=(unsigned int) font_info->ascent+font_info->descent; in XAnnotateEditImage()
2271 annotate_info->font_info=font_info; in XAnnotateEditImage()
2273 windows->image.width/MagickMax((ssize_t) font_info->min_bounds.width,1)+2UL, in XAnnotateEditImage()
2283 (void) XSetFont(display,annotate_context,font_info->fid); in XAnnotateEditImage()
2296 text_event.xexpose.width=(int) font_info->max_bounds.width; in XAnnotateEditImage()
2297 text_event.xexpose.height=font_info->max_bounds.ascent+ in XAnnotateEditImage()
2298 font_info->max_bounds.descent; in XAnnotateEditImage()
2341 annotate_info->width=(unsigned int) XTextWidth(font_info, in XAnnotateEditImage()
2356 text_event.xexpose.y=y-font_info->max_bounds.ascent; in XAnnotateEditImage()
2461 x-=XTextWidth(font_info,p,1); in XAnnotateEditImage()
2463 text_event.xexpose.y=y-font_info->max_bounds.ascent; in XAnnotateEditImage()
2480 x-=XTextWidth(font_info,p,1); in XAnnotateEditImage()
2492 annotate_info->width=(unsigned int) XTextWidth(font_info, in XAnnotateEditImage()
2514 x+=XTextWidth(font_info,p,1); in XAnnotateEditImage()
2516 if ((x+font_info->max_bounds.width) < (int) windows->image.width) in XAnnotateEditImage()
2526 annotate_info->width=(unsigned int) XTextWidth(font_info, in XAnnotateEditImage()
2548 font_info->min_bounds.width,1)+2UL,sizeof(*annotate_info->text)); in XAnnotateEditImage()
2612 x+=XTextWidth(font_info,p,1); in XAnnotateEditImage()
2614 if ((x+font_info->max_bounds.width) < (int) windows->image.width) in XAnnotateEditImage()
2621 annotate_info->width=(unsigned int) XTextWidth(font_info, in XAnnotateEditImage()
2643 font_info->min_bounds.width,1)+2UL,sizeof(*annotate_info->text)); in XAnnotateEditImage()
2716 annotate_info->y=(int) height*(annotate_info->y-font_info->ascent+ in XAnnotateEditImage()
2741 (void) XSetFont(display,annotate_context,windows->font_info->fid); in XAnnotateEditImage()
2743 (void) XFreeFont(display,font_info); in XAnnotateEditImage()
14504 *font_info; in XDisplayImage() local
14587 if (windows->font_info != (XFontStruct *) NULL) in XDisplayImage()
14588 (void) XFreeFont(display,windows->font_info); in XDisplayImage()
14589 windows->font_info=XBestFont(display,resource_info,MagickFalse); in XDisplayImage()
14590 if (windows->font_info == (XFontStruct *) NULL) in XDisplayImage()
14602 font_info=windows->font_info; in XDisplayImage()
14627 XGetWindowInfo(display,visual_info,map_info,pixel,font_info, in XDisplayImage()
14642 context_values.font=font_info->fid; in XDisplayImage()
14708 XGetWindowInfo(display,visual_info,map_info,pixel,font_info,resource_info, in XDisplayImage()
14763 XGetWindowInfo(display,visual_info,map_info,pixel,font_info, in XDisplayImage()
14841 XGetWindowInfo(display,visual_info,map_info,pixel,font_info,resource_info, in XDisplayImage()
14871 XGetWindowInfo(display,visual_info,map_info,pixel,font_info, in XDisplayImage()
14905 XGetWindowInfo(display,visual_info,map_info,pixel,font_info, in XDisplayImage()
14934 XGetWindowInfo(display,visual_info,map_info,pixel,font_info, in XDisplayImage()
14958 XGetWindowInfo(display,visual_info,map_info,pixel,font_info, in XDisplayImage()
15001 XGetWindowInfo(display,visual_info,map_info,pixel,font_info, in XDisplayImage()