From 8307f2f5fe2bc110565be32d6553aa349d55268c Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 23 Nov 2003 23:51:18 +0000 Subject: [PATCH] - bug fix: in background render, the default builtin font was not activated for rendering when other fonts were packed too. --- source/blender/blenkernel/intern/font.c | 2 +- source/blender/src/usiblender.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c index 878109fa255..5f6e07b368d 100644 --- a/source/blender/blenkernel/intern/font.c +++ b/source/blender/blenkernel/intern/font.c @@ -117,7 +117,7 @@ void BKE_font_register_builtin(void *mem, int size) static PackedFile *get_builtin_packedfile(void) { if (!builtin_font_data) { - printf("Internal error, builtin font not loaded"); + printf("Internal error, builtin font not loaded\n"); return NULL; } else { diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c index 60e1ae64f99..f8df5706caf 100644 --- a/source/blender/src/usiblender.c +++ b/source/blender/src/usiblender.c @@ -484,7 +484,6 @@ static void initbuttons(void) void BIF_init(void) { - BKE_font_register_builtin(datatoc_Bfont, datatoc_Bfont_size); initscreen(); /* for (visuele) speed, this first, then setscreen */ initbuttons();