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