blob: 407420eb06ee81fbda0c19f80e0455ae4f7e3969 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#include "psf.h"
uint8_t*
psf_glyph(struct psf1_header *header, uint8_t glyph)
{
uint8_t *glyph_bitmap = header->bitmap;
return &glyph_bitmap[(size_t)glyph * header->char_height];
}
|