[rtext] Add BDF font support (#3735)

* Add BDF font support

* Include font ascent in glyph y-offset when loading BDF font
This commit is contained in:
Stanley Fuller
2024-02-04 05:28:12 +11:00
committed by GitHub
parent 29ff658d92
commit 0932cd3059
2 changed files with 341 additions and 30 deletions

View File

@@ -181,6 +181,7 @@
// Selected desired font fileformats to be supported for loading
#define SUPPORT_FILEFORMAT_FNT 1
#define SUPPORT_FILEFORMAT_TTF 1
#define SUPPORT_FILEFORMAT_BDF 1
// Support text management functions
// If not defined, still some functions are supported: TextLength(), TextFormat()