Modify the unifont.ttf to have a better look
authorXiao Xiangquan <xiaoxiangquan@gmail.com>
Tue, 7 Jun 2011 06:14:28 +0000 (06:14 +0000)
committerXiao Xiangquan <xiaoxiangquan@gmail.com>
Tue, 7 Jun 2011 06:14:28 +0000 (06:14 +0000)
release/datafiles/fonts/unifont.ttf.gz [new file with mode: 0755]
source/blender/blenfont/BLF_api.h
source/blender/editors/datafiles/bunifont.ttf.c

diff --git a/release/datafiles/fonts/unifont.ttf.gz b/release/datafiles/fonts/unifont.ttf.gz
new file mode 100755 (executable)
index 0000000..8d10371
Binary files /dev/null and b/release/datafiles/fonts/unifont.ttf.gz differ
index 05f383cdace1b407ce7717e4d56089d0a5b41c6f..ed86cf7fa3d56dba5398694f00c27dd0e6c1f2ff 100644 (file)
@@ -223,5 +223,6 @@ extern int blf_mono_font_render; // dont mess drawing with render threads.
 // XXX, me, too
 extern int blf_unifont;
 extern int blf_unifont_render; // dont mess drawing with render threads.
+#define _(msgid) (msgid)
 
 #endif /* BLF_API_H */
index dd2acb0cb52dc4bca55c23b371d45f478d9f1b29..d07a2ec7f98f5d47cb5df82e45c3c9453c71d89e 100755 (executable)
 #include "BLI_memarena.h"
 #include "MEM_guardedalloc.h"
 
-const int datatoc_bunifont_ttf_size = 16336376;
+const int datatoc_bunifont_ttf_size = 16179552;
 static char* datatoc_bunifont_ttf = 0;
 
 static char unifont_path[1024];
-static char unifont_filename[]="unifont-5.1.20080907.ttf.zip";
+const char unifont_filename[]="unifont.ttf.gz";
 
 char *get_datatoc_bunifont_ttf(void)
 {