[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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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()