From 2ef80983d5d11aec60c4a4fbe0958a261e42fb6b Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 21 Nov 2017 19:07:43 -0800 Subject: Initial work on Nuklear-based UI --HG-- branch : nuklear_ui --- nuklear_ui/font.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 nuklear_ui/font.h (limited to 'nuklear_ui/font.h') diff --git a/nuklear_ui/font.h b/nuklear_ui/font.h new file mode 100644 index 0000000..7c68ddd --- /dev/null +++ b/nuklear_ui/font.h @@ -0,0 +1,6 @@ +#ifndef FONT_H_ +#define FONT_H_ + +char *default_font_path(void); + +#endif //FONT_H_ -- cgit v1.2.3 From d738c30dec8a7c9f351094851c00a4623f339084 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 6 Mar 2018 21:27:12 -0800 Subject: Added support for TTC and dfont format true type fonts. More robust font selection on Windows --HG-- branch : nuklear_ui --- nuklear_ui/font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nuklear_ui/font.h') diff --git a/nuklear_ui/font.h b/nuklear_ui/font.h index 7c68ddd..f74480b 100644 --- a/nuklear_ui/font.h +++ b/nuklear_ui/font.h @@ -1,6 +1,6 @@ #ifndef FONT_H_ #define FONT_H_ -char *default_font_path(void); +uint8_t *default_font(uint32_t *size_out); #endif //FONT_H_ -- cgit v1.2.3