Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37563083
en ru br
ALT Linux repositórios
S:3.10-alt1
5.0: 1.3.4-alt1
4.1: 1.3.4-alt1
4.0: 1.3.4-alt1
3.0: 1.3.0-alt1

Group :: Gráficos
RPM: feh

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: feh-1.10.1-fontpath.patch
Download


diff -up feh-1.10.1/src/feh.h.orig feh-1.10.1/src/feh.h
--- feh-1.10.1/src/feh.h.orig	2010-12-29 19:42:58.249577910 -0800
+++ feh-1.10.1/src/feh.h	2010-12-29 19:44:18.840802975 -0800
@@ -80,10 +80,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE 
 #define XY_IN_RECT(x, y, rx, ry, rw, rh) \
 (((x) >= (rx)) && ((y) >= (ry)) && ((x) < ((rx) + (rw))) && ((y) < ((ry) + (rh))))
 
-#define DEFAULT_FONT "yudit/11"
-#define DEFAULT_MENU_FONT "yudit/10"
-#define DEFAULT_FONT_BIG "yudit/12"
-#define DEFAULT_FONT_TITLE "yudit/14"
+#define DEFAULT_FONT "DejaVuSans/11"
+#define DEFAULT_MENU_FONT "DejaVuSans/10"
+#define DEFAULT_FONT_BIG "DejaVuSans/12"
+#define DEFAULT_FONT_TITLE "DejaVuSans/14"
 
 enum mode_type { MODE_NORMAL = 0, MODE_PAN, MODE_ZOOM, MODE_ROTATE, MODE_BLUR, MODE_NEXT
 };
diff -up feh-1.10.1/src/imlib.c.orig feh-1.10.1/src/imlib.c
--- feh-1.10.1/src/imlib.c.orig	2010-12-29 19:45:00.074336772 -0800
+++ feh-1.10.1/src/imlib.c	2010-12-29 19:45:06.425802860 -0800
@@ -69,6 +69,6 @@ void init_imlib_fonts(void)
 {
 	/* Set up the font stuff */
-	imlib_add_path_to_font_path(".");
+	imlib_add_path_to_font_path("/usr/share/fonts/ttf/dejavu");
 	imlib_add_path_to_font_path(PREFIX "/share/feh/fonts");
 
 	return;
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009