Lines Matching defs:font
13 * User definable mapping table and font loading by Eugene G. Crosser,
16 * Improved loadable font/UTF-8 support by H. Peter Anvin
82 static unsigned int vga_default_font_height __read_mostly; /* Height of default screen font */
812 * The font loading code goes back to the codepage package by
847 return -EINVAL; /* Return to default font not supported */
942 /* force hi font mask to 0, so we always clear
954 * Adjust the screen to fit a font of a certain height
964 /* Reprogram the CRTC for the new font size
970 The same applies for the spill bits in the font size and cursor
1013 static int vgacon_font_set(struct vc_data *c, struct console_font *font,
1016 unsigned charcount = font->charcount;
1022 if (font->width != VGA_FONTWIDTH || font->height > 32 || vpitch != 32 ||
1026 rc = vgacon_do_font_op(&vgastate, font->data, 1, charcount == 512);
1031 rc = vgacon_adjust_height(c, font->height);
1035 static int vgacon_font_get(struct vc_data *c, struct console_font *font, unsigned int vpitch)
1040 font->width = VGA_FONTWIDTH;
1041 font->height = c->vc_font.height;
1042 font->charcount = vga_512_chars ? 512 : 256;
1043 if (!font->data)
1045 return vgacon_do_font_op(&vgastate, font->data, 0, vga_512_chars);