next up previous contents
Next: More On Color Up: Miscellaneous Routines Previous: Grabbing

More On Fonts

Here are the individual font preparation routines.

Font XLoadFont(display,name)      /* load a font returning the font-id */
    char *name;                   /* null-terminated font name         */

Status XQueryFont(font, info)
    Font font;           /* for the font with this font-id    */
    FontInfo *info;      /* RETURN with FontInfo filled in    */
                         /* except for the font widths array  */


short *XFontWidths(font)
    Font font;           /* fill font widths array for font   */

Tim Love
Mon Mar 11 17:03:18 GMT 1996