From e72e663cf333a88ec0dcfc3b8aaf79c93a783295 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 28 Oct 2008 12:10:46 +0000 Subject: Ensure row-alignment match pixman's requirments pixman requires a row-alignment of 4 bytes, so we need to inform gs to create a memory device matching that requirement. --- libspectre/spectre-device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libspectre/spectre-device.c b/libspectre/spectre-device.c index 1d05941..f034c04 100644 --- a/libspectre/spectre-device.c +++ b/libspectre/spectre-device.c @@ -229,6 +229,7 @@ spectre_device_render (SpectreDevice *device, args[arg++] = dsp_format = _spectre_strdup_printf ("-dDisplayFormat=%d", DISPLAY_COLORS_RGB | DISPLAY_DEPTH_8 | + DISPLAY_ROW_ALIGN_32 | #ifdef WORDS_BIGENDIAN DISPLAY_UNUSED_FIRST | DISPLAY_BIGENDIAN | -- cgit v1.2.3