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.8 by greg, Fri Nov 19 22:51:31 2021 UTC vs.
Revision 2.10 by greg, Wed Feb 2 00:01:48 2022 UTC

# Line 20 | Line 20 | typedef struct {
20   #define gvlist(g)       ((GORD *)((g)+1))
21  
22   typedef struct font {
23        int  nref;                      /* number of references */
24        GLYPH  *fg[256];                /* font glyphs */
25        short  mwidth, mheight;         /* mean glyph width and height */
23          char  name[64];                 /* font file name */
24          struct font  *next;             /* next font in list */
25 +        unsigned short  nref;           /* number of references */
26 +        short  mwidth, mheight;         /* mean glyph width and height */
27 +        short  maxgv;                   /* max # glyph vertices */
28 +        GLYPH  *fg[256];                /* font glyphs */
29   }  FONT;
30  
31   extern int      retainfonts;            /* retain loaded fonts? */
32  
32
33   extern FONT  *getfont(char *fname);
34   extern void  freefont(FONT *f);
35   extern int  uniftext(short *sp, char *tp, FONT *f);
36   extern int  squeeztext(short *sp, char *tp, FONT *f, int cis);
37   extern int  proptext(short *sp, char *tp, FONT *f, int cis, int nsi);
38
38  
39   #ifdef __cplusplus
40   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines