Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Xiangquan <xiaoxiangquan@gmail.com>2011-06-07 10:14:28 +0400
committerXiao Xiangquan <xiaoxiangquan@gmail.com>2011-06-07 10:14:28 +0400
commitaac6369e681d8d713264b2234ac30a5e90b07be0 (patch)
tree0461bbdb809b24be856db9cacaa8ffaf6c596ee5 /source/blender
parenta40e1302ae68ff4a5ce3078bdacb43653ba5e1af (diff)
Modify the unifont.ttf to have a better look
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenfont/BLF_api.h1
-rwxr-xr-xsource/blender/editors/datafiles/bunifont.ttf.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h
index 05f383cdace..ed86cf7fa3d 100644
--- a/source/blender/blenfont/BLF_api.h
+++ b/source/blender/blenfont/BLF_api.h
@@ -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 */
diff --git a/source/blender/editors/datafiles/bunifont.ttf.c b/source/blender/editors/datafiles/bunifont.ttf.c
index dd2acb0cb52..d07a2ec7f98 100755
--- a/source/blender/editors/datafiles/bunifont.ttf.c
+++ b/source/blender/editors/datafiles/bunifont.ttf.c
@@ -11,11 +11,11 @@
#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)
{