Репозитории ALT
S: | 0.9.12-alt1 |
5.1: | 0.9.9-alt4 |
4.1: | 0.9.9-alt1 |
4.0: | 0.9.8-alt1 |
3.0: | 0.9.4-alt1 |
Группа :: Графические оболочки/Window Maker
Пакет: wmhdplop
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: wmhdplop-0.9.1-alt-font-path-fix.patch
Скачать
Скачать
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);
}
}