Summary: | blend usage in PDF with spot colors casue random output under windows | ||
---|---|---|---|
Product: | poppler | Reporter: | Thomas Freitag <Thomas.Freitag> |
Component: | splash backend | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
PDF shows the bug
output when splashModeDeviceN8 is used Patch which solves the problem Output after applying the patch |
Created attachment 93924 [details]
output when splashModeDeviceN8 is used
Created attachment 93926 [details] [review] Patch which solves the problem The reason for the random colors is the uninitialized local variable cBlend. The blend functions only fills offset 0 to 3, so offset 4 up to 4 + SPOT_NCOMPS are left uninitialized, but all offsets are stored in the bitmap. So we need to initialize these offsets with 0! Created attachment 93927 [details]
Output after applying the patch
Pushed |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 93923 [details] PDF shows the bug When blend functions are used in PDF with spot colors (separation colorspace) in splash backend in splashModeDeviceN8 mode, the output shows random colors when used under windows (at least VisualC compiled)