24 "%s: 'fonts' data path not found for '%s', will not be able to display text\n",
59 fprintf(stderr,
"Font data directory \"%s\" could not be detected!\n", datafiles_fonts_dir);
62 fprintf(stderr,
"Font data directory \"%s\" does not exist!\n", path);
67 for (
int f = 0; f < num_files; f++) {
72 fprintf(stderr,
"Unable to load font: %s\n", dir[f].
path);
const char * BKE_appdir_folder_id(int folder_id, const char *subfolder)
#define BLF_DEFAULT_PROPORTIONAL_FONT
bool BLF_is_loaded(const char *name) ATTR_NONNULL()
#define BLF_DATAFILES_FONTS_DIR
int BLF_load_unique(const char *name) ATTR_NONNULL()
void BLF_enable(int fontid, int option)
int BLF_load(const char *name) ATTR_NONNULL()
#define BLF_DEFAULT_MONOSPACED_FONT
File and directory operations.
int BLI_exists(const char *path) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
unsigned int BLI_filelist_dir_contents(const char *dir, struct direntry **r_filelist)
bool BLI_is_dir(const char *path) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
void BLI_filelist_free(struct direntry *filelist, unsigned int nrentries)
#define FILENAME_IS_CURRPAR(_n)
void BLI_join_dirfile(char *__restrict dst, size_t maxlen, const char *__restrict dir, const char *__restrict file) ATTR_NONNULL()
static int blf_load_font_default(const char *filename, const bool unique)
int BLF_load_mono_default(const bool unique)
void BLF_load_font_stack()
int BLF_load_default(const bool unique)