summaryrefslogtreecommitdiff
path: root/recipes/fbida/files/fbi.c.patch
blob: 36942afa3d8c75586fd793d7964be7e4e7615766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: fbida-2.07/fbi.c
===================================================================
--- fbida-2.07/fbi.c	2008-06-09 16:53:33.000000000 +0200
+++ fbida-2.07/fbi.c.mod	2008-10-10 21:33:54.000000000 +0200
@@ -46,6 +46,7 @@
 #include "jpeg/transupp.h"		/* Support routines for jpegtran */
 #include "jpegtools.h"
 
+#define HAVE_NEW_EXIF
 #define TRUE            1
 #define FALSE           0
 #undef  MAX
@@ -1465,10 +1466,10 @@
 
     font_init();
     if (NULL == fontname)
-	fontname = "monospace:size=16";
+	fontname = "monospace:size=10";
     face = font_open(fontname);
     if (NULL == face) {
-	fprintf(stderr,"can't open font: %s\n",fontname);
+	fprintf(stderr,"can't open font: %s. Please install ttf-dejavu-sans-mono.ipk\n",fontname);
 	exit(1);
     }
     fd = fb_init(cfg_get_str(O_DEVICE),