font_desc
DEFINE(FONT_DESC_IDX, offsetof(struct font_desc, idx));
DEFINE(FONT_DESC_NAME, offsetof(struct font_desc, name));
DEFINE(FONT_DESC_WIDTH, offsetof(struct font_desc, width));
DEFINE(FONT_DESC_HEIGHT, offsetof(struct font_desc, height));
DEFINE(FONT_DESC_DATA, offsetof(struct font_desc, data));
DEFINE(FONT_DESC_PREF, offsetof(struct font_desc, pref));
static const struct font_desc *font;
const struct font_desc *font = scanout->font;
const struct font_desc *font;
static inline const u8 *drm_draw_get_char_bitmap(const struct font_desc *font,
const struct font_desc *font,
static void drm_panic_logo_rect(struct drm_rect *rect, const struct font_desc *font)
const struct font_desc *font, u32 fg_color)
const struct font_desc *font = get_default_font(sb->width, sb->height, NULL, NULL);
static int draw_line_with_wrap(struct drm_scanout_buffer *sb, const struct font_desc *font,
const struct font_desc *font = get_default_font(sb->width, sb->height, NULL, NULL);
const struct font_desc *font = get_default_font(sb->width, sb->height, NULL, NULL);
const struct font_desc *vga = find_font("VGA8x16");
const struct font_desc *font = find_font("VGA8x16");
const struct font_desc *font;
const struct font_desc *font = find_font("VGA8x16");
const struct font_desc *font = NULL;
const struct font_desc *f;
const struct font_desc *font = NULL;
const struct font_desc *fbfont = NULL;
extern const struct font_desc font_vga_8x8,
extern const struct font_desc *find_font(const char *name);
extern const struct font_desc *get_default_font(int xres, int yres,
const struct font_desc font_10x18 = {
const struct font_desc font_6x10 = {
const struct font_desc font_vga_6x11 = {
const struct font_desc font_6x8 = {
const struct font_desc font_7x14 = {
const struct font_desc font_vga_8x16 = {
const struct font_desc font_vga_8x8 = {
const struct font_desc font_acorn_8x8 = {
const struct font_desc font_mini_4x6 = {
const struct font_desc font_pearl_8x8 = {
const struct font_desc font_sun_12x22 = {
const struct font_desc font_sun_8x16 = {
const struct font_desc font_ter_10x18 = {
const struct font_desc font_ter_16x32 = {
const struct font_desc *get_default_font(int xres, int yres,
const struct font_desc *f, *g;
static const struct font_desc *fonts[] = {
const struct font_desc *find_font(const char *name)