diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-03-16 01:10:21 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-03-16 08:29:48 +0100 |
commit | 152609795dbf02f004c86049b75c23f4e68071d8 (patch) | |
tree | adfbdcac4146a4e20221d351d1eef16b9ad49a7a /include/linux/font.h | |
parent | bc87bb342f106a0402186bcb588fcbe945dced4b (diff) |
fbcon: Increase maximum font width x height to 64 x 128
By using bitmaps we actually support whatever size we would want, but
the console currently limits fonts to 64x128 (which gives 60x16 text on
4k screens), so we don't need more for now, and we can easily increase
later.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/linux/font.h')
-rw-r--r-- | include/linux/font.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/font.h b/include/linux/font.h index abf1442ce719..81caffd51bb4 100644 --- a/include/linux/font.h +++ b/include/linux/font.h @@ -57,7 +57,8 @@ extern const struct font_desc *find_font(const char *name); /* Get the default font for a specific screen size */ extern const struct font_desc *get_default_font(int xres, int yres, - u32 font_w, u32 font_h); + unsigned long *font_w, + unsigned long *font_h); /* Max. length for the name of a predefined font */ #define MAX_FONT_NAME 32 |