From 5f2578f32fdd3cf49d5299f0553dc756e4f670cf Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Sat, 18 May 2019 16:40:33 -0700 Subject: UI: Default Directory for Windows Fonts This patch gives new Windows users a better default preference for fonts folder Differential Revision: https://developer.blender.org/D4725 Reviewed by Campbell Barton and Brecht Van Lommel --- source/blender/blenkernel/BKE_appdir.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/BKE_appdir.h') diff --git a/source/blender/blenkernel/BKE_appdir.h b/source/blender/blenkernel/BKE_appdir.h index e956aeb769a..7d7a16f6702 100644 --- a/source/blender/blenkernel/BKE_appdir.h +++ b/source/blender/blenkernel/BKE_appdir.h @@ -45,6 +45,9 @@ void BKE_appdir_program_path_init(const char *argv0); const char *BKE_appdir_program_path(void); const char *BKE_appdir_program_dir(void); +/* return OS fonts directory */ +bool BKE_appdir_fonts_folder_default(char *dir); + /* find python executable */ bool BKE_appdir_program_python_search(char *fullpath, const size_t fullpath_len, -- cgit v1.2.3