Group :: Graphical desktop/Window Maker
RPM: wmhdplop
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: wmhdplop-0.9.1-alt-font-path-fix.patch
Download
Download
diff -Naur wmhdplop-0.9.1-orig/dockapp_imlib2.c wmhdplop-0.9.1/dockapp_imlib2.c
--- wmhdplop-0.9.1-orig/dockapp_imlib2.c 2004-01-04 16:19:33 +0200
+++ wmhdplop-0.9.1/dockapp_imlib2.c 2004-01-04 16:23:59 +0200
@@ -200,8 +200,11 @@
/* some default font paths */
snprintf(fp, 512, "%s/.fonts", getenv("HOME"));
add_fontpath(fp,1);
- add_fontpath("/usr/share/fonts/truetype",1);
- add_fontpath("/usr/share/fonts/ttf",1);
+ //add_fontpath("/usr/share/fonts/truetype",1);
+ //add_fontpath("/usr/share/fonts/ttf",1);
+ add_fontpath("/usr/share/fonts/default/TrueType-freefont",1);
+ add_fontpath("/usr/share/fonts/default/TrueType-ms",1);
+ add_fontpath("/usr/share/fonts/default/TrueType-vera",1);
/*imlib_add_path_to_font_path(fp);
imlib_add_path_to_font_path("/usr/share/fonts/truetype");
imlib_add_path_to_font_path("/usr/share/fonts/truetype/freefont");
@@ -285,7 +288,7 @@
}
}
if (!f) {
- fprintf(stderr, "could not load a small ttf font .. use the -f option\n");
+ fprintf(stderr, "could not load a small ttf font .. use the --smallfont option\n");
exit(1);
}
}