Home | History | Annotate | Download | only in gio

Lines Matching defs:font

485 		panic("grtwo_attach_common: unable to lock font data");
602 struct wsdisplay_font *font = dc->dc_fontdata;
603 u_int8_t *bitmap = (u_int8_t *) font->data + (ch - font->firstchar + 1) * font->fontheight * font->stride;
606 int x = col * font->fontwidth;
607 int y = dc->yres - ( (row + 1) * font->fontheight);
619 /* This works for font sizes < 18 */
621 bus_space_write_4(dc->iot, dc->ioh, GR2_FIFO_DRAWCHAR, font->fontwidth);
622 bus_space_write_4(dc->iot, dc->ioh, GR2_FIFO_DATA, font->fontheight);
629 for (i = 0; i < font->fontheight; i++) {
634 bitmap -= font->stride;
638 for (i = font->fontheight; i < 18; i++)
649 struct wsdisplay_font *font = dc->dc_fontdata;
651 srccol * font->fontwidth, /* x1 */
653 dstcol * font->fontwidth, /* x2 */
655 ncols * font->fontwidth, /* dx */
664 struct wsdisplay_font *font = dc->dc_fontdata;
667 startcol * font->fontwidth, /* x1 */
669 (startcol * font->fontwidth) + ncols * font->fontwidth, /* x2 */
678 struct wsdisplay_font *font = dc->dc_fontdata;
682 srcrow * font->fontheight, /* y1 */
684 dstrow * font->fontheight, /* y2 */
686 nrows * font->fontheight);
693 struct wsdisplay_font *font = dc->dc_fontdata;
696 startrow * font->fontheight, /* y1 */
698 (startrow * font->fontheight) + nrows * font->fontheight, /* y2 */