diff options
author | Harley Acheson <harley> | 2019-05-01 18:22:32 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-01 19:05:01 +0300 |
commit | 374728293274530d324a8eee53e3cfcce13f7884 (patch) | |
tree | 803cf650a2ec3afd14a7bade57d2a1025d37a0be /source/blender/blenfont/BLF_api.h | |
parent | 0a80be40e3b1a513b18d2c1e7a95346de7bad7d2 (diff) |
UI: use Mac key symbols in menus on macOS, instead of text like "Cmd"
On Windows "Cmd" is also replaced with "Win".
Differential Revision: https://developer.blender.org/D4689
Diffstat (limited to 'source/blender/blenfont/BLF_api.h')
-rw-r--r-- | source/blender/blenfont/BLF_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index 60b27ead968..359ec9cc49e 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -53,6 +53,9 @@ int BLF_load_mem_unique(const char *name, const unsigned char *mem, int mem_size void BLF_unload(const char *name) ATTR_NONNULL(); void BLF_unload_id(int fontid); +/* Check if font supports a particular glyph */ +bool BLF_has_glyph(int fontid, const char *utf8); + /* Attach a file with metrics information from memory. */ void BLF_metrics_attach(int fontid, unsigned char *mem, int mem_size); |