*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
sprintf (pattern, "*-%s-%s-%s-*-*-*-%d-*", family, weight, slant, size);
}
ok = True;
sprintf (pattern, "*-%s-%s-%s-*-*-*-%d-*", family, weight, slant, size);
}
ok = True;
/* Returns a newly-allocated string with one word in it, or NULL if there
is no complete word available.
*/
/* Returns a newly-allocated string with one word in it, or NULL if there
is no complete word available.
*/
}
w = new_word (s, se, txt, !se->move_chars_p);
}
w = new_word (s, se, txt, !se->move_chars_p);
/* If we have a few words, let punctuation terminate the sentence:
stop gathering more words if the last word ends in a period, etc. */
/* If we have a few words, let punctuation terminate the sentence:
stop gathering more words if the last word ends in a period, etc. */
gc = XCreateGC (s->dpy, dest, 0, 0);
XSetFont (s->dpy, gc, s->metrics_font1->fid);
gc = XCreateGC (s->dpy, dest, 0, 0);
XSetFont (s->dpy, gc, s->metrics_font1->fid);
{
Pixmap p2;
GC gc2 = XCreateGC (s->dpy, p, 0, 0);
{
Pixmap p2;
GC gc2 = XCreateGC (s->dpy, p, 0, 0);
jwxyz_XSetAntiAliasing (s->dpy, gc2, False);
# endif
XSetFont (s->dpy, gc2, s->metrics_font1->fid);
jwxyz_XSetAntiAliasing (s->dpy, gc2, False);
# endif
XSetFont (s->dpy, gc2, s->metrics_font1->fid);
XFillRectangle (s->dpy, p, gc2, 0, 0, pixw, pixh);
XSetForeground (s->dpy, gc, WhitePixelOfScreen (s->xgwa.screen));
XSetForeground (s->dpy, gc2, WhitePixelOfScreen (s->xgwa.screen));
XFillRectangle (s->dpy, p, gc2, 0, 0, pixw, pixh);
XSetForeground (s->dpy, gc, WhitePixelOfScreen (s->xgwa.screen));
XSetForeground (s->dpy, gc2, WhitePixelOfScreen (s->xgwa.screen));
jwxyz_XSetAntiAliasing (s->dpy, gc2,
s->debug_metrics_antialiasing_p);
# endif
jwxyz_XSetAntiAliasing (s->dpy, gc2,
s->debug_metrics_antialiasing_p);
# endif
{
XSetFont (s->dpy, gc, s->metrics_font1->fid);
XSetForeground (s->dpy, gc, WhitePixelOfScreen (s->xgwa.screen));
{
XSetFont (s->dpy, gc, s->metrics_font1->fid);
XSetForeground (s->dpy, gc, WhitePixelOfScreen (s->xgwa.screen));
jwxyz_XSetAntiAliasing (s->dpy, gc, s->debug_metrics_antialiasing_p);
# endif
sprintf (txt2, "%s [XX%sXX] [%s%s%s%s]",
jwxyz_XSetAntiAliasing (s->dpy, gc, s->debug_metrics_antialiasing_p);
# endif
sprintf (txt2, "%s [XX%sXX] [%s%s%s%s]",
jwxyz_XSetAntiAliasing (s->dpy, gc, False);
# endif
XSetFont (s->dpy, gc, s->metrics_font2->fid);
jwxyz_XSetAntiAliasing (s->dpy, gc, False);
# endif
XSetFont (s->dpy, gc, s->metrics_font2->fid);
xoff + x + sc*cc.rbearing, y - sc*ascent,
xoff + x + sc*cc.rbearing, y + sc*descent + 40);
xoff + x + sc*cc.rbearing, y - sc*ascent,
xoff + x + sc*cc.rbearing, y + sc*descent + 40);