diff options
author | Michael Pavone <pavone@retrodev.com> | 2018-03-06 21:27:12 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2018-03-06 21:27:12 -0800 |
commit | d738c30dec8a7c9f351094851c00a4623f339084 (patch) | |
tree | d74219313a54b16466a53f4be180093cd5775a02 /util.h | |
parent | 94b11b186fa4cf46c64bc3fad55f74c7b5096ffe (diff) |
Added support for TTC and dfont format true type fonts. More robust font selection on Windows
--HG--
branch : nuklear_ui
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -34,6 +34,8 @@ char * strip_ws(char * text); char * split_keyval(char * text); //Takes a binary byte buffer and produces a lowercase hex string void bin_to_hex(uint8_t *output, uint8_t *input, uint64_t size); +//Takes an (optionally) null-terminated UTF16-BE string and converts a maximum of max_size code-units to UTF-8 +char *utf16be_to_utf8(uint8_t *buf, uint32_t max_size); //Determines whether a character is a valid path separator for the current platform char is_path_sep(char c); //Determines whether a path is considered an absolute path on the current platform |