summaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/font.h
blob: 45daa00b61f099ffe82844c42119e49fc84ed75e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * SPDX-License-Identifier: BSD-2-Clause
 *
 * Copyright (c) 2025-2026 The FreeBSD Foundation
 * Copyright (c) 2025-2026 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
 *
 * This software was developed by Jean-Sébastien Pédron under sponsorship
 * from the FreeBSD Foundation.
 */

#ifndef _LINUXKPI_LINUX_FONT_H_
#define	_LINUXKPI_LINUX_FONT_H_

#include <linux/types.h>

struct font_desc {
	const char *name;
	const void *data;
	int idx;
	unsigned int width;
	unsigned int height;
	unsigned int charcount;
	int pref;
};

static inline const struct font_desc *
get_default_font(int xres, int yres, unsigned long *font_w,
    unsigned long *font_h)
{
	return (NULL);
}

#endif