|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T X
Length: 677 (0x2a5) Types: TextFile Names: »XQueryFont.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki └─⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« └─⟦2109abc41⟧ └─⟦this⟧ »./X.V10R4/Xlib/XQueryFont.c«
#include <X/mit-copyright.h> /* $Header: XQueryFont.c,v 10.5 86/04/22 15:24:44 jg Rel $ */ /* Copyright Massachusetts Institute of Technology 1985 */ #include "XlibInternal.h" Status XQueryFont (font, info) Font font; register FontInfo *info; { register Display *dpy; register XReq *req; XRep rep; GetReq(X_QueryFont, 0); req->param.l[0] = font; if (!_XReply(dpy, &rep)) return (0); info->id = font; info->height = rep.params0; info->width = rep.params1; info->firstchar = (unsigned char) rep.params2; info->lastchar = (unsigned char) rep.params3; info->baseline = rep.params4; info->fixedwidth = rep.params5; info->widths = NULL; return (1); }