Commit 4d34d6cf authored by Marek Kasik's avatar Marek Kasik
Browse files

Set alignment for rendering to default

Previous aligning to 32 bytes rendered EPS in wrong way (not always but often).
Setting default alignment which aligns to size of pointer fixes this issue.

The commit which set it to the 32 was talking about alignment of 4 bytes so I guess
that there were bits interchanged with bytes.

Fixes #44
parent 6928e893
Pipeline #457040 passed with stage
in 3 minutes and 54 seconds
......@@ -331,7 +331,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 |
DISPLAY_ROW_ALIGN_DEFAULT |
#ifdef WORDS_BIGENDIAN
DISPLAY_UNUSED_FIRST |
DISPLAY_BIGENDIAN |
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment