Home | History | Annotate | Download | only in vsa

Lines Matching refs:font

80  * Because of this limitation, the font image is copied to offscreen
185 u_int ss_gpr; /* font glyphs per row */
526 struct wsdisplay_font *font = ri->ri_font;
532 dx = col * font->fontwidth + ri->ri_xorigin;
533 dy = row * font->fontheight + ri->ri_yorigin;
535 uc -= font->firstchar;
536 sx = (uc % ss->ss_gpr) * font->stride * NBBY;
537 sy = GPX_HEIGHT - (1 + uc / ss->ss_gpr) * font->fontheight;
561 ss->ss_adder->fast_dest_dx = font->fontwidth;
563 ss->ss_adder->slow_dest_dy = font->fontheight;
567 ss->ss_adder->source_1_dx = font->fontwidth;
568 ss->ss_adder->source_1_dy = font->fontheight;
572 gpx_fillrect(ss, dx, dy + font->fontheight - 2, font->fontwidth,
582 struct wsdisplay_font *font = ri->ri_font;
585 sx = ri->ri_xorigin + src * font->fontwidth;
586 dx = ri->ri_xorigin + dst * font->fontwidth;
587 w = cnt * font->fontwidth;
588 y = ri->ri_yorigin + row * font->fontheight;
589 h = font->fontheight;
599 struct wsdisplay_font *font = ri->ri_font;
602 x = ri->ri_xorigin + col * font->fontwidth;
603 dx = cnt * font->fontwidth;
604 y = ri->ri_yorigin + row * font->fontheight;
605 dy = font->fontheight;
615 struct wsdisplay_font *font = ri->ri_font;
620 sy = ri->ri_yorigin + src * font->fontheight;
621 dy = ri->ri_yorigin + dst * font->fontheight;
622 h = cnt * font->fontheight;
632 struct wsdisplay_font *font = ri->ri_font;
637 y = ri->ri_yorigin + row * font->fontheight;
638 dy = cnt * font->fontheight;
895 * We can not let rasops select our font, because we need to use
896 * a font with right-to-left bit order on this frame buffer.
965 * Copy our font to the offscreen area.
986 struct wsdisplay_font *font = ri->ri_font;
1010 * Load font data. The font is uploaded in 8 or 16 bit wide cells, on
1013 ss->ss_gpr = MIN(GPX_WIDTH / (NBBY * font->stride), font->numchars);
1016 fontbits = font->data;
1017 for (row = 1, remaining = font->numchars; remaining != 0;
1023 GPX_HEIGHT - row * font->fontheight;
1025 ss->ss_adder->slow_dest_dy = font->fontheight;
1032 for (i = font->fontheight; i != 0; i--) {
1034 fontbits += font->stride;
1038 if (font->stride == 1) {
1040 fb += font->fontheight;
1042 * Do not access past font memory if
1049 fb += font->fontheight;
1054 fb += font->fontheight * font->stride;
1061 fontbits += (nchars - 1) * font->stride * font->fontheight;