Forum Bugs

Fill color space (background of a page)

nateabbott
We are having trouble changing the color space via prince. We are trying to change the color space for the background fill color in my document. I have specified that the color profile is sRGB in both the body tag and the @page declaration with the following CSS:

img {
        color-profile: sRGB;
       }
       body {
        color-profile: sRGB;
       }
        @page {
          prince-shrink-to-fit: auto;
          prince-image-resolution: 300 dpi;
          prince-jpeg-quality: 100%;
          color-profile: sRGB;
          background-color: rgb(0,0,0);
          size: 12.75in 10.875in;
          margin:0.6in 0in 0.8in 0in;
        }


However when I inspect the pdf using Acrobat, it says that the fill color space for all pages is "DeviceGray color space". Is there any way to change this in prince?
mikeday
We don't yet support the color-profile property, and gray colors (any color where r=g=b) will be expressed using the DeviceGray color space, so that when the PDF is printed it will not try to make gray by mixing color inks.
nateabbott
Thanks!