Group :: Graphical desktop/MATE
RPM: mate-control-center
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: mate-control-center_fv-thumnailer-do-not-paint-a-white-background-under-thumbnails.patch
Download
Download
diff -upr mate-control-center/font-viewer/font-thumbnailer.c mate-control-center-test/font-viewer/font-thumbnailer.c
--- mate-control-center/font-viewer/font-thumbnailer.c 2015-08-30 14:47:43.838836593 +0200
+++ mate-control-center-test/font-viewer/font-thumbnailer.c 2015-08-30 14:43:18.289062000 +0200
@@ -176,7 +176,6 @@ main (int argc,
gchar *contents = NULL;
gboolean retval, default_thumbstr = TRUE;
gint rv = 1;
- GdkRGBA white = { 1.0, 1.0, 1.0, 1.0 };
GdkRGBA black = { 0.0, 0.0, 0.0, 1.0 };
cairo_surface_t *surface;
cairo_t *cr;
@@ -264,9 +263,6 @@ main (int argc,
thumb_size, thumb_size);
cr = cairo_create (surface);
- gdk_cairo_set_source_rgba (cr, &white);
- cairo_paint (cr);
-
font = cairo_ft_font_face_create_for_ft_face (face, 0);
cairo_set_font_face (cr, font);
cairo_font_face_destroy (font);