Lines Matching refs:font

102 class tty_font : public font {
136 : font(nm), mode(0)
218 void set_char(int, font *, const environment *, int, const char *name);
227 font *make_font(const char *);
309 int n = w / font::hor;
335 int n = w / font::hor;
363 void tty_printer::set_char(int i, font *f, const environment *env,
366 if (w % font::hor != 0)
381 if (h % font::hor != 0)
384 int hpos = h / font::hor;
393 if (v % font::vert != 0)
395 vpos = v / font::vert;
406 // position font::vert.
503 if (len >= 0 && len <= font::vert)
504 add_char(vline_char, font::hor, env->hpos, v, env->col, env->fill,
507 add_char(vline_char, font::hor, env->hpos, v, env->col, env->fill,
509 len -= font::vert;
510 v += font::vert;
512 add_char(vline_char, font::hor, env->hpos, v, env->col, env->fill,
514 len -= font::vert;
515 v += font::vert;
517 add_char(vline_char, font::hor, env->hpos, v, env->col, env->fill,
529 if (len >= 0 && len <= font::hor)
530 add_char(hline_char, font::hor, h, env->vpos, env->col, env->fill,
533 add_char(hline_char, font::hor, h, env->vpos, env->col, env->fill,
535 len -= font::hor;
536 h += font::hor;
538 add_char(hline_char, font::hor, h, env->vpos, env->col, env->fill,
540 len -= font::hor;
541 h += font::hor;
543 add_char(hline_char, font::hor, h, env->vpos, env->col, env->fill,
622 if (page_length % font::vert != 0)
624 int lines_per_page = page_length / font::vert;
766 hpos += p->w / font::hor;
785 font *tty_printer::make_font(const char *nm)
834 // Use italic font instead of underlining.
876 font::command_line_font_dir(optarg);