Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members  

xfont.c File Reference

Functions for managing X fonts. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <ctype.h>
#include "ps/ps.h"

Go to the source code of this file.

Compounds

struct  XAttribute

Defines

#define dirent   direct
#define NAMLEN(dirent)    (dirent)->d_namlen

Functions

char* psXFontGetWeightName (int weight)
 Gets readable/printable name for X font weight. More...

char* psXFontGetSlantName (int slant)
 Gets readable/printable name for X font slant. More...

char* psXFontGetWidthName (int width)
 Gets readable/printable name for X font width. More...

char* psXFontGetSpacingName (int spacing)
 Gets readable/printable name for X font spacing. More...

PSXFontpsXFontAlloc (void)
 Allocate and initialize a psXFont structure. More...

void psXFontFree (PSXFont* xfont)
 Frees up a psXFont structure. More...

void psXFontSet (PSXFont *xfont, char *xlfd)
 Sets values in xfont by parsing xlfd. More...

char* psXFontGetXLFD (PSXFont* xfont)
 Generates an XLFD from a psXFont structure. More...

int psXFontMatch (PSXFont* f1, PSXFont* f2)
 Compares to PSXfont's. More...


Detailed Description

Functions for managing X fonts.


Generated at Mon Dec 11 22:46:30 2000 for Postscript Utility Library by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000