Dokumentation VDR

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

genfontfile.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <math.h>

Include dependency graph for genfontfile.c:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  FontInfo
struct  PerGlyphInfo
struct  TexGlyphInfo


#define DEBUG_GLYPH4(msg, a, b, c, d)   { }
#define DEBUG_GLYPH(msg)   { }
#define MAX_GLYPHS_PER_GRAB   512


typedef * PerGlyphInfoPtr
typedef * FontInfoPtr


FontInfoPtr SuckGlyphsFromServer (Display *dpy, Font font)
void printGlyph (FontInfoPtr font, int c)
void getMetric (FontInfoPtr font, int c, TexGlyphInfo *tgi)
int main (int argc, char *argv[])


Display * dpy
FontInfoPtr fontinfo

Define Documentation

#define DEBUG_GLYPH msg       { }

Definition at line 60 of file genfontfile.c.

Referenced by SuckGlyphsFromServer().

#define DEBUG_GLYPH4 msg,
     { }

Definition at line 59 of file genfontfile.c.

Referenced by SuckGlyphsFromServer().

#define MAX_GLYPHS_PER_GRAB   512

Definition at line 63 of file genfontfile.c.

Referenced by SuckGlyphsFromServer().

Typedef Documentation

typedef * FontInfoPtr

Referenced by SuckGlyphsFromServer().

typedef * PerGlyphInfoPtr

Referenced by getMetric(), and printGlyph().

Function Documentation

void getMetric FontInfoPtr    font,
int    c,
TexGlyphInfo   tgi

Definition at line 298 of file genfontfile.c.

References TexGlyphInfo::advance, TexGlyphInfo::c, TexGlyphInfo::dummy, TexGlyphInfo::height, PerGlyphInfoPtr, TexGlyphInfo::width, TexGlyphInfo::xoffset, and TexGlyphInfo::yoffset.

Referenced by main().

int main int    argc,
char *    argv[]

Definition at line 331 of file genfontfile.c.

References dpy, fontinfo, getMetric(), printGlyph(), and SuckGlyphsFromServer().

void printGlyph FontInfoPtr    font,
int    c

Definition at line 239 of file genfontfile.c.

References PerGlyphInfoPtr.

Referenced by main().

FontInfoPtr SuckGlyphsFromServer Display *    dpy,
Font    font

Definition at line 67 of file genfontfile.c.

References DEBUG_GLYPH, DEBUG_GLYPH4, fontinfo, FontInfoPtr, and MAX_GLYPHS_PER_GRAB.

Referenced by main().

Variable Documentation

Display* dpy

Definition at line 51 of file genfontfile.c.

Referenced by main().

FontInfoPtr fontinfo

Definition at line 52 of file genfontfile.c.

Referenced by main(), and SuckGlyphsFromServer().

Generated on Wed Feb 5 23:30:26 2003 for VDR by doxygen1.3-rc2