Home | History | Annotate | Download | only in ee

Lines Matching defs:font

217  *   std: screen size 640 x 480, font size 8 x 16
369 int font;
372 font = wsfont_find(NULL, 8, 16, 0, WSDISPLAY_FONTORDER_L2R,
374 if (font < 0)
377 if (wsfont_lock(font, &sc->sc_font))
394 struct wsdisplay_font *font = sc->sc_font;
396 gsfb_set_cursor_pos(buf, col, row, font->fontwidth, font->fontheight);
415 struct wsdisplay_font *font = sc->sc_font;
417 if (font->encoding != WSDISPLAY_FONTENC_ISO)
418 if ((c = wsfont_map_unichar(font, c)) < 0)
421 if (c < font->firstchar || c >= font->firstchar + font->numchars)
438 struct wsdisplay_font *font = sc->sc_font;
440 /* copy font data to DMA region */
441 gsfb_font_expand_psmct32(font, uc, attr, &buf[FONT_SCRATCH_BASE]);
444 TRXPOS_DXY(buf, col * font->fontwidth, row * font->fontheight);
583 * font expansion
587 gsfb_font_expand_psmct32(const struct wsdisplay_font *font, u_int c, long attr,
599 bitmap = (u_int8_t *)font->data + (c - font->firstchar) *
600 font->fontheight * font->stride;
601 for (i = 0; i < font->fontheight; i++, bitmap++) {
603 for (j = 0; j < font->fontwidth; j++, b <<= 1)