Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37788605
en ru br
ALT Linux repos
S:0.9.12-alt1
5.0: 0.9.9-alt3
4.1: 0.9.9-alt1
4.0: 0.9.8-alt1
3.0: 0.9.4-alt1

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


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);
     }
   }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin