Hey,

the new console client looks for fonts in /lib/hurd/fonts, which is
kinda bogus since fonts are neither libraries, arch. dependant or Hurd
specifc.  This patch moves them all into /share/fonts which is an more
appropiate place.

But this is still wrong since one can't specify the --datadir option
to configure and expect the fonts to be where the user expects them to
be.  This would require some kind of config.h header file that would
be created by auto*, and included by vga.c.

PS. Does anyone have a hack to do an "cvs diff" off-line?

console-client/
2003-08-17  Alfred M. Szmidt  <[EMAIL PROTECTED]>

        * vga.c (DEFAULT_VGA_FONT, DEFAULT_VGA_FONT_ITALIC)
        (DEFAULT_VGA_FONT_BOLD, DEFAULT_VGA_FONT_BOLD_ITALIC): All
        references to "/lib/hurd" changed to "/share".

--- vga.c.~1.3.~        1970-01-01 01:00:01.000000000 +0100
+++ vga.c       2003-08-17 21:42:24.000000000 +0200
@@ -49,17 +49,17 @@
 #define VGA_DISP_HEIGHT 25
 
 /* The font file.  */
-#define DEFAULT_VGA_FONT "/lib/hurd/fonts/vga-system.bdf"
+#define DEFAULT_VGA_FONT "/share/fonts/vga-system.bdf"
 static char *vga_display_font;
 
-#define DEFAULT_VGA_FONT_ITALIC "/lib/hurd/fonts/vga-system-italic.bdf"
+#define DEFAULT_VGA_FONT_ITALIC "/share/fonts/vga-system-italic.bdf"
 static char *vga_display_font_italic;
 
-#define DEFAULT_VGA_FONT_BOLD "/lib/hurd/fonts/vga-system-bold.bdf"
+#define DEFAULT_VGA_FONT_BOLD "/share/fonts/vga-system-bold.bdf"
 static char *vga_display_font_bold;
 
 #define DEFAULT_VGA_FONT_BOLD_ITALIC \
-       "/lib/hurd/fonts/vga-system-bold-italic.bdf"
+       "/share/fonts/vga-system-bold-italic.bdf"
 static char *vga_display_font_bold_italic;
 
 /* If false use all colors, else use double font slots.  */



_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to