bd8ed04
diff -Naur blender-2.79.old/source/blender/blenfont/intern/blf_font_i18n.c blender-2.79/source/blender/blenfont/intern/blf_font_i18n.c
bd8ed04
--- blender-2.79.old/source/blender/blenfont/intern/blf_font_i18n.c	2017-09-11 06:34:59.000000000 +0200
bd8ed04
+++ blender-2.79/source/blender/blenfont/intern/blf_font_i18n.c	2017-09-12 14:12:51.239473283 +0200
00ebb6d
@@ -57,7 +57,7 @@
Jochen Schmitt 0d88b50
 {
Jochen Schmitt 0d88b50
 #ifdef WITH_INTERNATIONAL
Jochen Schmitt 0d88b50
 	if (unifont_ttf == NULL) {
Jochen Schmitt 0d88b50
-		const char * const fontpath = BKE_appdir_folder_id(BLENDER_DATAFILES, "fonts");
6088a36
+		const char * const fontpath = "/usr/share/fonts/blender";
Jochen Schmitt 0d88b50
 		if (fontpath) {
Jochen Schmitt 0d88b50
 			char unifont_path[1024];
Jochen Schmitt 0d88b50
 
00ebb6d
@@ -92,7 +92,7 @@
Jochen Schmitt 0d88b50
 {
Jochen Schmitt 0d88b50
 #ifdef WITH_INTERNATIONAL
Jochen Schmitt 0d88b50
 	if (unifont_mono_ttf == NULL) {
Jochen Schmitt 0d88b50
-		const char *fontpath = BKE_appdir_folder_id(BLENDER_DATAFILES, "fonts");
6088a36
+		const char * const fontpath = "/usr/share/fonts/blender";
Jochen Schmitt 0d88b50
 		if (fontpath) {
Jochen Schmitt 0d88b50
 			char unifont_path[1024];
Jochen Schmitt 0d88b50
 
bd8ed04
diff -Naur blender-2.79.old/source/creator/CMakeLists.txt blender-2.79/source/creator/CMakeLists.txt
bd8ed04
--- blender-2.79.old/source/creator/CMakeLists.txt	2017-09-12 05:44:18.000000000 +0200
bd8ed04
+++ blender-2.79/source/creator/CMakeLists.txt	2017-09-12 14:12:51.239473283 +0200
bd8ed04
@@ -359,9 +359,8 @@
0e5e98f
 # localization
0e5e98f
 if(WITH_INTERNATIONAL)
7b262cf
 	install(
0e5e98f
-		DIRECTORY
0e5e98f
-			${CMAKE_SOURCE_DIR}/release/datafiles/fonts
7b262cf
-		DESTINATION ${TARGETDIR_VER}/datafiles
6088a36
+		DIRECTORY ${CMAKE_SOURCE_DIR}/release/datafiles/fonts/
7b262cf
+		DESTINATION ${CMAKE_INSTALL_PREFIX}/share/fonts/blender
7b262cf
 	)
7b262cf
 
7b262cf
 	set(_locale_dir "${CMAKE_SOURCE_DIR}/release/datafiles/locale")