Am 08.09.2011 11:31, schrieb Hans Hagen:
> On 8-9-2011 11:19, Otso Helenius wrote:
>> Hello,
>> I recently made a SimpleSlides presentation with MKIV (2011.08.27
>> 13:24). It looks ok on numerous PDF readers including Okular, Google
>> Docs, Sumatra PDF. Whenever I open it on Adobe Reader, the results are
>> rather puzzling:
>> 1) The fifth page background is not black but grey, also some later
>> pages have grey background
>> 2) The RGB and CMYK swatch colours are all messed up
>> The picture on page four has been intentionally corrupted with a hex
>> editor and then opened and saved again in Gimp to remove the errors in
>> the file.
>> You can view the source here:
>> and the finished PDF here:
>> The only modifications I've made to the simpleslides-s-BottomSquares.tex
>> is replacing the background color, contrast color and variant color with
>> different values ([s=.0], [r=.8,g=.2,b=.2], [s=.15]).
>> I would appreciate if someone could explain if there are bugs in my tex
>> sources, in MKIV or in the Adobe Reader – and in any case how can I fix
>> the erroneous output on Adobe Reader to match it on Sumatra, Google
>> Docs, etc.
> Do you use transparencies? On pages where they are used, a different
> color rendered seems to kick in (in acrobat).
You can try to add

function backends.codeinjections.rgbtransparencygroup()
    local d = lpdf.dictionary {
        S  = lpdf.constant("Transparency"),
        CS = lpdf.constant("DeviceRGB"),
        I  = true }
lpdf.addtopageattributes("Group",d) end)


This is what I use here for my RGB based graphics. Anyhow, as the name
of the macro says: it's not more than a (RGB only) hack.

Regards, Peter
If your question is of interest to others as well, please add an entry to the 

maillist : /
webpage  : /
archive  :
wiki     :

Reply via email to