diff nuklear_ui/sfnt.h @ 2480:369a52e302e2

Try multiple results from fc-match on Linux rather than assuming the first choice font will be suitable
author Michael Pavone <pavone@retrodev.com>
date Sat, 30 Mar 2024 14:26:48 -0700
parents 4f6e8acd7b6a
children
line wrap: on
line diff
--- a/nuklear_ui/sfnt.h	Fri Mar 08 23:14:08 2024 -0800
+++ b/nuklear_ui/sfnt.h	Sat Mar 30 14:26:48 2024 -0700
@@ -37,6 +37,7 @@
 
 sfnt_container *load_sfnt(uint8_t *buffer, uint32_t size);
 char *sfnt_name(sfnt_table *sfnt, uint16_t name_type);
+uint8_t sfnt_has_truetype_glyphs(sfnt_table *sfnt);
 uint8_t *sfnt_flatten(sfnt_table *sfnt, uint32_t *size_out);
 sfnt_table *sfnt_subfamily_by_names(sfnt_container *sfnt, const char **names);
 void sfnt_free(sfnt_container *sfnt);