Lines Matching defs:fin
123 FILE *fin;
132 if ((fin = fopen("DESC", "r")) == NULL) {
136 while (fscanf(fin, "%s", cmd) != EOF) {
138 skipline(fin);
140 fscanf(fin, "%hd", &dev.res);
142 fscanf(fin, "%hd", &dev.hor);
144 fscanf(fin, "%hd", &dev.vert);
146 fscanf(fin, "%hd", &dev.unitwidth);
148 fscanf(fin, "%hd", &dev.sizescale);
150 fscanf(fin, "%hd", &dev.paperwidth);
152 fscanf(fin, "%hd", &dev.paperlength);
154 fscanf(fin, "%hd", &dev.biggestfont);
156 fscanf(fin, "%hd", &dev.spare2);
159 while (fscanf(fin, "%d", &v) != EOF && v != 0)
163 fscanf(fin, "%hd", &dev.nfonts);
165 fscanf(fin, "%s", fname[i]);
169 while (fscanf(fin, "%s", p) != EOF) {
220 FILE *fin;
225 if ((fin = fopen(name, "r")) == NULL) {
236 while (fscanf(fin, "%s", cmd) != EOF) {
238 skipline(fin);
240 fscanf(fin, "%s", font.namefont);
242 fscanf(fin, "%s", font.intname);
246 fscanf(fin, "%1s", &font.spare1);
248 font.ligfont = getlig(fin);
250 fscanf(fin, "%d", &spacewidth);
253 skipline(fin);
256 while (fgets(buf, 100, fin) != NULL) {
298 fclose(fin);
313 getlig(fin) /* pick up ligature list */
314 FILE *fin;
320 while (fscanf(fin, "%s", temp) != EOF && strcmp(temp, "0") != 0) {
334 skipline(fin);