diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-03-09 17:14:50 +0300 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-03-09 17:47:20 +0300 |
| commit | e2e000a0b22036a72474088d3399097ff47ace02 (patch) | |
| tree | a6aba65c71c1591c07c1173afe8523204301a039 /include | |
| parent | 04bd5abc8cbebc1bd7e02471a8e3af51b8aad029 (diff) | |
| download | linux-e2e000a0b22036a72474088d3399097ff47ace02.tar.xz | |
lib/fonts: Read font size with font_data_size()
Add font_data_size() and update consoles to use it.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/font.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/font.h b/include/linux/font.h index 746a0996a018..5b8557813c5c 100644 --- a/include/linux/font.h +++ b/include/linux/font.h @@ -54,6 +54,8 @@ static inline const unsigned char *font_data_buf(font_data_t *fd) return (const unsigned char *)fd; } +unsigned int font_data_size(font_data_t *fd); + /* * Font description */ |
