font.c File Reference

#include "frontier.h"
#include "standard.h"
#include "PAIGE.H"
#include "PGDEFTBL.H"
#include "strings.h"
#include "font.h"
#include "quickdraw.h"

Include dependency graph for font.c:

Go to the source code of this file.

Functions

static boolean mapxfont (ptrstring bsfont)
void fontgetnumber (bigstring fontname, short *fontnumber)
void fontgetname (short fontnumber, bigstring fontname)
void setfontsizestyle (short fontnum, short fontsize, short fontstyle)
void setglobalfontsizestyle (short fontnum, short fontsize, short fontstyle)
boolean realfont (short fontnum, short fontsize)
short setnamedfont (bigstring bs, short fsize, short fstyle, short defaultfont)
void getfontsizestyle (short *fontnum, short *fontsize, short *fontstyle)
void diskgetfontname (short fontnum, diskfontstring fontname)
void diskgetfontnum (diskfontstring fontname, short *fontnum)
boolean initfonts (void)

Variables

FontInfo globalfontinfo
static bigstring cachedfontname
static short cachedfontnum


Function Documentation

void diskgetfontname short  fontnum,
diskfontstring  fontname
 

Definition at line 532 of file font.c.

void diskgetfontnum diskfontstring  fontname,
short fontnum
 

Definition at line 550 of file font.c.

void fontgetname short  fontnumber,
bigstring  fontname
 

Definition at line 272 of file font.c.

void fontgetnumber bigstring  fontname,
short fontnumber
 

Definition at line 228 of file font.c.

void getfontsizestyle short fontnum,
short fontsize,
short fontstyle
 

Definition at line 404 of file font.c.

boolean initfonts void   ) 
 

Definition at line 559 of file font.c.

References cachedfontname, fontgetnumber(), NewHandle, NULL, setemptystring, and setglobalfontsizestyle().

Referenced by shellinit().

Here is the call graph for this function:

static boolean mapxfont ptrstring  bsfont  )  [static]
 

Definition at line 184 of file font.c.

References cross_font_table, FONT_SIZE, and NULL.

Referenced by fontgetnumber().

boolean realfont short  fontnum,
short  fontsize
 

Definition at line 370 of file font.c.

Referenced by shellsizemenuchecker().

void setfontsizestyle short  fontnum,
short  fontsize,
short  fontstyle
 

Definition at line 287 of file font.c.

void setglobalfontsizestyle short  fontnum,
short  fontsize,
short  fontstyle
 

Definition at line 307 of file font.c.

short setnamedfont bigstring  bs,
short  fsize,
short  fstyle,
short  defaultfont
 

Definition at line 383 of file font.c.


Variable Documentation

bigstring cachedfontname [static]
 

Definition at line 41 of file font.c.

Referenced by fontgetnumber(), and initfonts().

short cachedfontnum [static]
 

Definition at line 42 of file font.c.

Referenced by fontgetnumber().

FontInfo globalfontinfo
 

Definition at line 39 of file font.c.


Generated on Thu Jun 1 10:42:53 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6