ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/font.h
(Generate patch)

Comparing ray/src/common/font.h (file contents):
Revision 2.3 by greg, Wed Jun 24 17:52:59 1992 UTC vs.
Revision 2.5 by greg, Tue Feb 25 02:47:21 2003 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1992 Regents of the University of California */
2 <
3 < /* SCCSid "$SunId$ LBL" */
4 <
1 > /* RCSid $Id$ */
2   /*
3   * Header file for font handling routines
4   */
5  
6 + #include "copyright.h"
7 +
8   typedef unsigned char  GORD;
9  
10   typedef struct {
# Line 17 | Line 16 | typedef struct {
16   #define gvlist(g)       ((GORD *)((g)+1))
17  
18   typedef struct font {
19 +        int  nref;                      /* number of references */
20          GLYPH  *fg[256];                /* font glyphs */
21          short  mwidth, mheight;         /* mean glyph width and height */
22          char  *name;                    /* font file name */
23          struct font  *next;             /* next font in list */
24   }  FONT;
25  
26 + extern int      retainfonts;            /* retain loaded fonts? */
27 +
28 + #ifdef NOPROTO
29 +
30   extern FONT  *getfont();
31 + extern void  freefont();
32 + extern int  uniftext();
33 + extern int  squeeztext();
34 + extern int  proptext();
35 +
36 + #else
37 +
38 + extern FONT  *getfont(char *fname);
39 + extern void  freefont(FONT *f);
40 + extern int  uniftext(short *sp, char *tp, FONT *f);
41 + extern int  squeeztext(short *sp, char *tp, FONT *f, int cis);
42 + extern int  proptext(short *sp, char *tp, FONT *f, int cis, int nsi);
43 +
44 + #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines