Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
wdenk | 17d1fd7 | 2000-10-25 11:24:22 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2000 |
| 4 | * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it |
wdenk | 17d1fd7 | 2000-10-25 11:24:22 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _VIDEO_FONT_ |
| 8 | #define _VIDEO_FONT_ |
| 9 | |
Dzmitry Sankouski | 7fa964a | 2023-03-07 13:21:14 +0300 | [diff] [blame] | 10 | #include <video_font_data.h> |
| 11 | |
| 12 | #if defined(CONFIG_VIDEO_FONT_4X6) |
Marek Vasut | e8a2c28 | 2013-07-30 23:37:58 +0200 | [diff] [blame] | 13 | #include <video_font_4x6.h> |
Dzmitry Sankouski | 7fa964a | 2023-03-07 13:21:14 +0300 | [diff] [blame] | 14 | #endif |
| 15 | #if defined(CONFIG_VIDEO_FONT_8X16) |
Dzmitry Sankouski | fa134b3 | 2023-03-07 13:21:13 +0300 | [diff] [blame] | 16 | #include <video_font_8x16.h> |
Marek Vasut | e8a2c28 | 2013-07-30 23:37:58 +0200 | [diff] [blame] | 17 | #endif |
Dzmitry Sankouski | 7932a99 | 2023-02-27 20:37:07 +0300 | [diff] [blame^] | 18 | #if defined(CONFIG_VIDEO_FONT_SUN12X22) |
| 19 | #include <video_font_sun12x22.h> |
| 20 | #endif |
Dzmitry Sankouski | 7fa964a | 2023-03-07 13:21:14 +0300 | [diff] [blame] | 21 | |
| 22 | static struct video_fontdata __maybe_unused fonts[] = { |
| 23 | #if defined(CONFIG_VIDEO_FONT_8X16) |
| 24 | FONT_ENTRY(8, 16, 8x16), |
| 25 | #endif |
| 26 | #if defined(CONFIG_VIDEO_FONT_4X6) |
| 27 | FONT_ENTRY(4, 6, 4x6), |
| 28 | #endif |
Dzmitry Sankouski | 7932a99 | 2023-02-27 20:37:07 +0300 | [diff] [blame^] | 29 | #if defined(CONFIG_VIDEO_FONT_SUN12X22) |
| 30 | FONT_ENTRY(12, 22, 12x22), |
| 31 | #endif |
Dzmitry Sankouski | 7fa964a | 2023-03-07 13:21:14 +0300 | [diff] [blame] | 32 | {/* list terminator */} |
| 33 | }; |
wdenk | 17d1fd7 | 2000-10-25 11:24:22 +0000 | [diff] [blame] | 34 | |
Che-Liang Chiou | 41132c0 | 2011-10-21 17:04:21 +0800 | [diff] [blame] | 35 | #endif /* _VIDEO_FONT_ */ |