memtest86plus/system/font.h

28 lines
417 B
C
Raw Normal View History

2020-05-24 15:30:55 -05:00
// SPDX-License-Identifier: GPL-2.0
#ifndef FONT_H
#define FONT_H
/**
* \file
*
2020-05-24 15:30:55 -05:00
* Provides the font used for framebuffer display.
*
*//*
* Copyright (C) 2020-2022 Martin Whitaker.
2020-05-24 15:30:55 -05:00
*/
#include <stdint.h>
/**
2020-05-24 15:30:55 -05:00
* Font size definitions.
*/
#define FONT_WIDTH 8
#define FONT_HEIGHT 16
#define FONT_CHARS 256
/**
2020-05-24 15:30:55 -05:00
* The font data.
*/
extern const uint8_t font_data[FONT_CHARS][FONT_HEIGHT];
#endif // FONT_H