Lines Matching defs:font
285 /* Free our font buffer if all consoles are gone */
1002 * The default font is kept in slot 0.
1003 * A user font is loaded in slot 2 (256 ch)
1016 /* Default font is always 256 */
1132 * Adjust the screen to fit a font of a certain height
1200 sisusbcon_font_set(struct vc_data *c, struct console_font *font,
1204 unsigned charcount = font->charcount;
1206 if (font->width != 8 || (charcount != 256 && charcount != 512))
1215 /* Save the user-provided font into a buffer. This
1230 memcpy(sisusb->font_backup, font->data, array_size(charcount, 32));
1232 sisusb->font_backup_height = font->height;
1238 return sisusbcon_do_font_op(sisusb, 1, 2, font->data,
1241 c, font->height, 1);
1246 sisusbcon_font_get(struct vc_data *c, struct console_font *font)
1256 font->width = 8;
1257 font->height = c->vc_font.height;
1258 font->charcount = 256;
1260 if (!font->data) {
1271 memcpy(font->data, sisusb->font_backup, 256 * 32);
1349 struct console_font *font,
1356 struct console_font *font, char *name)
1416 /* Set up text mode (and upload default font) */