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

Comparing ray/src/common/font.c (file contents):
Revision 2.16 by schorsch, Sun Jul 27 22:12:01 2003 UTC vs.
Revision 2.17 by schorsch, Fri Nov 14 17:22:06 2003 UTC

# Line 7 | Line 7 | static const char      RCSid[] = "$Id$";
7  
8   #include "copyright.h"
9  
10 < #include "standard.h"
11 <
10 > #include "rtio.h"
11 > #include "rterror.h"
12   #include "font.h"
13  
14   #define galloc(nv)      (GLYPH *)malloc(sizeof(GLYPH)+2*sizeof(GORD)*(nv))
# Line 24 | Line 24 | getfont(fname)                         /* return font fname */
24   char  *fname;
25   {
26          FILE  *fp;
27 <        char  *pathname, *err;
27 >        char  *pathname, *err = NULL;
28          unsigned  wsum, hsum, ngly;
29          int  gn, ngv, gv;
30          register GLYPH  *g;
# Line 208 | Line 208 | FONT  *f;                      /* font */
208   int  cis;                       /* target intercharacter spacing */
209   int  nsi;                       /* minimum number of spaces for indent */
210   {
211 <        register char  *end, *tab;
211 >        register char  *end, *tab = NULL;
212          GLYPH  *gp;
213          short  *nsp;
214          int  alen, len, width;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines