xref: /freebsd/sys/compat/linuxkpi/common/include/linux/font.h (revision c2a55efd74cccb3d4e7b9037b240ad062c203bb8)
1 /*
2  * SPDX-License-Identifier: BSD-2-Clause
3  *
4  * Copyright (c) 2025-2026 The FreeBSD Foundation
5  * Copyright (c) 2025-2026 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
6  *
7  * This software was developed by Jean-Sébastien Pédron under sponsorship
8  * from the FreeBSD Foundation.
9  */
10 
11 #ifndef _LINUXKPI_LINUX_FONT_H_
12 #define	_LINUXKPI_LINUX_FONT_H_
13 
14 #include <linux/types.h>
15 
16 struct font_desc {
17 	const char *name;
18 	const void *data;
19 	int idx;
20 	unsigned int width;
21 	unsigned int height;
22 	unsigned int charcount;
23 	int pref;
24 };
25 
26 static inline const struct font_desc *
27 get_default_font(int xres, int yres, unsigned long *font_w,
28     unsigned long *font_h)
29 {
30 	return (NULL);
31 }
32 
33 #endif
34