Lines Matching defs:fontsize
137 int fontsize, int fontwidth)
152 if (fontsize <= 0)
153 fontsize = info.vi_cheight;
154 if (fontsize < 14)
155 fontsize = 8;
156 else if (fontsize >= 16)
157 fontsize = 16;
159 fontsize = 14;
161 switch (fontsize) {
216 scp->ypixel = scp->ysize*fontsize;
218 scp->font_size = fontsize;
307 int fontsize, int fontwidth)
323 if (fontsize <= 0)
324 fontsize = info.vi_cheight;
325 if (fontsize < 14)
326 fontsize = 8;
327 else if (fontsize >= 16)
328 fontsize = 16;
330 fontsize = 14;
332 switch (fontsize) {
355 ysize = info.vi_height/fontsize;
357 if ((info.vi_width < xsize*8) || (info.vi_height < ysize*fontsize))
393 scp->yoff = (scp->ypixel/fontsize - ysize)/2;
395 scp->font_size = fontsize;