/openbsd/sys/dev/wsfont/ |
H A D | wsfont.c | 304 for (b = 0; b < font->fontwidth; b++) { in wsfont_rotate_cw() 312 + (n * newstride * font->fontwidth) in wsfont_rotate_cw() 331 for (b = 0; b < font->fontwidth; b++) { in wsfont_rotate_ccw() 332 int bb = font->fontwidth - 1 - b; in wsfont_rotate_ccw() 340 + (n * newstride * font->fontwidth) in wsfont_rotate_ccw() 364 newbits = mallocarray(font->numchars, newstride * font->fontwidth, in wsfont_rotate_internal() 376 newfont->fontwidth = font->fontheight; in wsfont_rotate_internal() 377 newfont->fontheight = font->fontwidth; in wsfont_rotate_internal() 385 font->numchars * newstride * font->fontwidth); in wsfont_rotate_internal() 466 if (width != 0 && ent->font->fontwidth != width) in wsfont_find() [all …]
|
H A D | spleen5x8.h | 37 .fontwidth = 5,
|
H A D | spleen6x12.h | 37 .fontwidth = 6,
|
H A D | spleen8x16.h | 37 .fontwidth = 8,
|
H A D | gallant12x22.h | 47 .fontwidth = 12,
|
H A D | spleen12x24.h | 37 .fontwidth = 12,
|
H A D | spleen16x32.h | 37 .fontwidth = 16,
|
H A D | spleen8x16-ibm.h | 37 .fontwidth = 8,
|
H A D | spleen32x64.h | 37 .fontwidth = 32,
|
/openbsd/usr.sbin/wsfontload/ |
H A D | wsfontload.c | 99 f.fontwidth = strtonum(optarg, 1, INT_MAX, &errstr); in main() 158 f.fontwidth, f.fontheight, in main() 185 defwidth = screens.fontwidth; in main() 194 if (f.fontwidth == 0) in main() 195 f.fontwidth = defwidth; in main() 199 f.stride = (f.fontwidth + 7) / 8; in main()
|
/openbsd/sys/arch/luna88k/dev/ |
H A D | omrasops.c | 107 startx = ri->ri_font->fontwidth * startcol; in om1_putchar() 116 width = ri->ri_font->fontwidth + align; in om1_putchar() 190 width = ri->ri_font->fontwidth + align; in om4_putchar() 299 snum = num * ri->ri_font->fontwidth; in om_erasecols() 361 n *= ri->ri_font->fontwidth; in om_copycols() 362 src *= ri->ri_font->fontwidth; in om_copycols() 363 dst *= ri->ri_font->fontwidth; in om_copycols() 400 startx = ri->ri_font->fontwidth * col; in om1_cursor() 405 width = ri->ri_font->fontwidth + align; in om1_cursor() 462 startx = ri->ri_font->fontwidth * col; in om4_cursor() [all …]
|
/openbsd/sys/dev/pcmcia/ |
H A D | cfxga.c | 528 wsd->fontwidth = ri->ri_font->fontwidth; in cfxga_alloc_screen() 914 fifo_avail = font->fontwidth <= 8 ? 2 : 1; in cfxga_expand_char() 916 fifo_avail = font->fontwidth <= 8 ? 1 : 0; in cfxga_expand_char() 928 if (font->fontwidth <= 8) { in cfxga_expand_char() 968 cx = ri->ri_font->fontwidth; in cfxga_repaint_screen() 1092 cx = num * ri->ri_font->fontwidth; in cfxga_copycols() 1131 cx = ri->ri_font->fontwidth; in cfxga_do_cursor() 1155 x = col * ri->ri_font->fontwidth + ri->ri_xorigin; in cfxga_erasecols() 1157 cx = num * ri->ri_font->fontwidth; in cfxga_erasecols() 1204 x = col * ri->ri_font->fontwidth + ri->ri_xorigin; in cfxga_putchar() [all …]
|
/openbsd/sbin/wsconsctl/ |
H A D | display.c | 44 u_int width, height, depth, fontwidth, fontheight; variable 57 { "fontwidth", &fontwidth, FMT_UINT, FLG_RDONLY }, 107 } else if (ptr == &fontwidth || ptr == &fontheight) { in display_get_values() 178 fontwidth = screens.fontwidth; in display_get_values()
|
/openbsd/sys/dev/rasops/ |
H A D | rasops_bitops.h | 64 col *= ri->ri_font->fontwidth << PIXEL_SHIFT; in NAME() 65 num *= ri->ri_font->fontwidth << PIXEL_SHIFT; in NAME() 122 col = ri->ri_ccol * ri->ri_font->fontwidth << PIXEL_SHIFT; in NAME() 124 num = ri->ri_font->fontwidth << PIXEL_SHIFT; in NAME() 194 cnt = ri->ri_font->fontwidth << PIXEL_SHIFT; in NAME()
|
H A D | rasops1.c | 60 switch (ri->ri_font->fontwidth) { in rasops1_init() 74 if ((ri->ri_font->fontwidth & 7) != 0) { in rasops1_init() 104 col *= ri->ri_font->fontwidth; in rasops1_putchar() 107 width = ri->ri_font->fontwidth; in rasops1_putchar()
|
/openbsd/sys/dev/fdt/ |
H A D | ssdfb.c | 322 ssdfb_std_descr.fontwidth = ri->ri_font->fontwidth; in ssdfb_attach() 753 col * ri->ri_font->fontwidth, in ssdfb_putchar() 754 (col + 1) * ri->ri_font->fontwidth, in ssdfb_putchar() 768 dst * ri->ri_font->fontwidth, in ssdfb_copycols() 769 (dst + num) * ri->ri_font->fontwidth, in ssdfb_copycols() 783 col * ri->ri_font->fontwidth, in ssdfb_erasecols() 784 (col + num) * ri->ri_font->fontwidth, in ssdfb_erasecols() 832 ocol * ri->ri_font->fontwidth, in ssdfb_do_cursor() 833 (ocol + 1) * ri->ri_font->fontwidth, in ssdfb_do_cursor() 837 ncol * ri->ri_font->fontwidth, in ssdfb_do_cursor() [all …]
|
H A D | simplefb.c | 179 sc->sc_wsd.fontwidth = ri->ri_font->fontwidth; in simplefb_attach() 366 simplefb_wsd.fontwidth = ri->ri_font->fontwidth; in simplefb_init_cons()
|
/openbsd/sys/dev/sbus/ |
H A D | zx.c | 280 ri->ri_xscale = ri->ri_font->fontwidth * 4; in zx_attach() 580 x = x * ri->ri_font->fontwidth + ri->ri_xorigin; in zx_fillrect() 582 w = ri->ri_font->fontwidth * w - 1; in zx_fillrect() 607 sx = sx * ri->ri_font->fontwidth + ri->ri_xorigin; in zx_copyrect() 609 dx = dx * ri->ri_font->fontwidth + ri->ri_xorigin; in zx_copyrect() 611 w = w * ri->ri_font->fontwidth - 1; in zx_copyrect() 730 ZX_COORDS(col * font->fontwidth, row * font->fontheight); in zx_putchar() 749 SETREG(zc->zc_fontmsk, 0xffffffff << (32 - font->fontwidth)); in zx_putchar() 761 SETREG(zc->zc_fontmsk, 0xffffffff << (32 - font->fontwidth)); in zx_putchar() 763 if (font->fontwidth <= 8) { in zx_putchar()
|
H A D | mgx.c | 652 n *= ri->ri_font->fontwidth; in mgx_ras_copycols() 653 src *= ri->ri_font->fontwidth; in mgx_ras_copycols() 655 dst *= ri->ri_font->fontwidth; in mgx_ras_copycols() 720 n *= ri->ri_font->fontwidth; in mgx_ras_erasecols() 721 col *= ri->ri_font->fontwidth; in mgx_ras_erasecols() 782 col = ri->ri_ccol * ri->ri_font->fontwidth + ri->ri_xorigin; in mgx_ras_do_cursor() 792 ATR_DUAL(ri->ri_font->fontheight, ri->ri_font->fontwidth)); in mgx_ras_do_cursor()
|
/openbsd/sys/arch/loongson/dev/ |
H A D | radeonfb.c | 425 num *= ri->ri_font->fontwidth; in radeonfb_copycols() 426 src *= ri->ri_font->fontwidth; in radeonfb_copycols() 427 dst *= ri->ri_font->fontwidth; in radeonfb_copycols() 447 col *= ri->ri_font->fontwidth; in radeonfb_erasecols() 448 num *= ri->ri_font->fontwidth; in radeonfb_erasecols() 667 fb->wsd.fontwidth = ri->ri_font->fontwidth; in radeonfb_setup()
|
H A D | smfb.c | 427 fb->wsd.fontwidth = ri->ri_font->fontwidth; in smfb_setup() 556 num *= f->fontwidth; in smfb_copycols() 557 src *= f->fontwidth; in smfb_copycols() 558 dst *= f->fontwidth; in smfb_copycols() 578 col *= f->fontwidth; in smfb_erasecols() 579 num *= f->fontwidth; in smfb_erasecols()
|
/openbsd/sys/arch/sparc64/dev/ |
H A D | radeonfb.c | 459 num *= ri->ri_font->fontwidth; in radeonfb_copycols() 460 src *= ri->ri_font->fontwidth; in radeonfb_copycols() 461 dst *= ri->ri_font->fontwidth; in radeonfb_copycols() 481 col *= ri->ri_font->fontwidth; in radeonfb_erasecols() 482 num *= ri->ri_font->fontwidth; in radeonfb_erasecols()
|
H A D | gfxp.c | 459 num *= ri->ri_font->fontwidth; in gfxp_copycols() 460 src *= ri->ri_font->fontwidth; in gfxp_copycols() 461 dst *= ri->ri_font->fontwidth; in gfxp_copycols() 481 col *= ri->ri_font->fontwidth; in gfxp_erasecols() 482 num *= ri->ri_font->fontwidth; in gfxp_erasecols()
|
H A D | raptor.c | 431 num *= ri->ri_font->fontwidth; in raptor_copycols() 432 src *= ri->ri_font->fontwidth; in raptor_copycols() 433 dst *= ri->ri_font->fontwidth; in raptor_copycols() 453 col *= ri->ri_font->fontwidth; in raptor_erasecols() 454 num *= ri->ri_font->fontwidth; in raptor_erasecols()
|
/openbsd/sys/dev/usb/ |
H A D | udl.c | 653 udl_stdscreen.fontwidth = sc->sc_ri.ri_font->fontwidth; in udl_alloc_screen() 764 sx = src * ri->ri_font->fontwidth; in udl_copycols() 766 dx = dst * ri->ri_font->fontwidth; in udl_copycols() 768 cx = num * ri->ri_font->fontwidth; in udl_copycols() 865 x = col * sc->sc_ri.ri_font->fontwidth; in udl_erasecols() 867 cx = num * sc->sc_ri.ri_font->fontwidth; in udl_erasecols() 947 x = col * ri->ri_font->fontwidth; in udl_putchar() 956 ri->ri_font->fontwidth, ri->ri_font->fontheight); in udl_putchar() 998 x = ri->ri_ccol * ri->ri_font->fontwidth; in udl_do_cursor() 1057 if (font->fontwidth > 8) { in udl_draw_char() [all …]
|