Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37599548
en ru br
Репозитории 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
www.altlinux.org/Changes

Группа :: Графические оболочки/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);
     }
   }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin