Home | History | Annotate | Download | only in gio

Lines Matching defs:font

304 		panic("light_attach_common: unable to lock font data");
397 struct wsdisplay_font *font = dc->dc_fontdata;
402 bitmap = (u_int8_t *)font->data +
403 ((ch - font->firstchar) * font->fontheight * font->stride);
404 x = col * font->fontwidth;
405 y = row * font->fontheight;
410 rex_write(dc, REX_PAGE0_SET, REX_P0REG_YENDI, y + font->fontheight - 1);
412 rex_write(dc, REX_PAGE0_SET, REX_P0REG_XENDI, x + font->fontwidth - 1);
424 for (i = 0; i < font->fontheight; i++) {
425 /* XXX assumes font->fontwidth == 8 */
428 bitmap += font->stride;
437 struct wsdisplay_font *font = dc->dc_fontdata;
440 from_x = srccol * font->fontwidth;
441 from_y = row * font->fontheight;
442 to_x = dstcol * font->fontwidth;
444 width = ncols * font->fontwidth;
445 height = font->fontheight;
455 struct wsdisplay_font *font = dc->dc_fontdata;
458 from_x = startcol * font->fontwidth;
459 from_y = row * font->fontheight;
460 to_x = from_x + (ncols * font->fontwidth) - 1;
461 to_y = from_y + font->fontheight - 1;
471 struct wsdisplay_font *font = dc->dc_fontdata;
475 from_y = srcrow * font->fontheight;
477 to_y = dstrow * font->fontheight;
479 height = nrows * font->fontheight;
489 struct wsdisplay_font *font = dc->dc_fontdata;
493 from_y = row * font->fontheight;
495 to_y = from_y + (nrows * font->fontheight) - 1;