Skip to content

Commit

Permalink
[rtext] Add BDF font support (#3735)
Browse files Browse the repository at this point in the history
* Add BDF font support

* Include font ascent in glyph y-offset when loading BDF font
  • Loading branch information
stanthesoupking authored Feb 3, 2024
1 parent 29ff658 commit 0932cd3
Show file tree
Hide file tree
Showing 2 changed files with 336 additions and 25 deletions.
1 change: 1 addition & 0 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading

0 comments on commit 0932cd3

Please sign in to comment.