Tom Rini | 83d290c | 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 | 39c1fa2 | 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 | 7855663 | 2013-07-30 23:37:58 +0200 | [diff] [blame] | 13 | #include <video_font_4x6.h> |
Dzmitry Sankouski | 39c1fa2 | 2023-03-07 13:21:14 +0300 | [diff] [blame] | 14 | #endif |
| 15 | #if defined(CONFIG_VIDEO_FONT_8X16) |
Dzmitry Sankouski | 0e177d5 | 2023-03-07 13:21:13 +0300 | [diff] [blame] | 16 | #include <video_font_8x16.h> |
Marek Vasut | 7855663 | 2013-07-30 23:37:58 +0200 | [diff] [blame] | 17 | #endif |
Dzmitry Sankouski | e24db86 | 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 | 0d6c089 | 2023-02-27 20:37:08 +0300 | [diff] [blame] | 21 | #if defined(CONFIG_VIDEO_FONT_16X32) |
| 22 | #include <video_font_ter16x32.h> |
| 23 | #endif |
wdenk | 17d1fd7 | 2000-10-25 11:24:22 +0000 | [diff] [blame] | 24 | |
Dzmitry Sankouski | 39c1fa2 | 2023-03-07 13:21:14 +0300 | [diff] [blame] | 25 | static struct video_fontdata __maybe_unused fonts[] = { |
| 26 | #if defined(CONFIG_VIDEO_FONT_8X16) |
| 27 | FONT_ENTRY(8, 16, 8x16), |
| 28 | #endif |
| 29 | #if defined(CONFIG_VIDEO_FONT_4X6) |
| 30 | FONT_ENTRY(4, 6, 4x6), |
| 31 | #endif |
Dzmitry Sankouski | e24db86 | 2023-02-27 20:37:07 +0300 | [diff] [blame] | 32 | #if defined(CONFIG_VIDEO_FONT_SUN12X22) |
| 33 | FONT_ENTRY(12, 22, 12x22), |
| 34 | #endif |
Dzmitry Sankouski | 0d6c089 | 2023-02-27 20:37:08 +0300 | [diff] [blame] | 35 | #if defined(CONFIG_VIDEO_FONT_16X32) |
| 36 | FONT_ENTRY(16, 32, 16x32), |
| 37 | #endif |
Dzmitry Sankouski | 39c1fa2 | 2023-03-07 13:21:14 +0300 | [diff] [blame] | 38 | {/* list terminator */} |
| 39 | }; |
| 40 | |
Che-Liang Chiou | d3983ee | 2011-10-21 17:04:21 +0800 | [diff] [blame] | 41 | #endif /* _VIDEO_FONT_ */ |