Swadge 2024 2.0.0
APIs to develop games for the Magfest Swadge
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
fs_font.h
Go to the documentation of this file.
1
32
33#ifndef _FS_FONT_H_
34#define _FS_FONT_H_
35
36#include <stdint.h>
37#include <stdbool.h>
38
39#include "cnfs_image.h"
40#include "font.h"
41
42bool loadFont(cnfsFileIdx_t fIdx, font_t* font, bool spiRam);
43void freeFont(font_t* font);
44
45#endif
A font is a collection of font_ch_t for all ASCII characters. Each character has the same height and ...
Definition font.h:66
void freeFont(font_t *font)
Free the memory allocated for a font.
Definition fs_font.c:83
bool loadFont(cnfsFileIdx_t fIdx, font_t *font, bool spiRam)
Load a font from ROM to RAM. Fonts are bitmapped image files that have a single height,...
Definition fs_font.c:32