X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fvideo_font_data.h;h=ed5fd640a806b47b2e6c02ff61e7e3c2e9951fb4;hb=406df85345f942d9348443983d81a01e013e920b;hp=4e544f0d7f74a3107feefd535467ce934fbf49bb;hpb=aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c;p=oweals%2Fu-boot.git diff --git a/include/video_font_data.h b/include/video_font_data.h index 4e544f0d7f..ed5fd640a8 100644 --- a/include/video_font_data.h +++ b/include/video_font_data.h @@ -1,14 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2000 * Paolo Scaffardi, AIRVENT SAM s.p.a - RIMINI(ITALY), arsenio@tin.it * - * SPDX-License-Identifier: GPL-2.0+ + * This file contains an 8x16 bitmap font for code page 437. */ #ifndef _VIDEO_FONT_DATA_ #define _VIDEO_FONT_DATA_ -static unsigned char video_fontdata[VIDEO_FONT_SIZE] = { +#define VIDEO_FONT_CHARS 256 +#define VIDEO_FONT_WIDTH 8 +#define VIDEO_FONT_HEIGHT 16 +#define VIDEO_FONT_SIZE (VIDEO_FONT_CHARS * VIDEO_FONT_HEIGHT) + +static unsigned char __maybe_unused video_fontdata[VIDEO_FONT_SIZE] = { /* 0 0x00 '^@' */ 0x00, /* 00000000 */